Property
Inheritance: java.lang.Object, com.aspose.threed.A3DObject
public abstract class Property extends A3DObject
Class to hold user-defined properties.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
findProperty(String propertyName) | Finds the property. |
getBindPoint(AnimationNode anim, boolean create) | Gets the property bind point on specified animation instance. |
getClass() | |
getKeyframeSequence(AnimationNode anim, boolean create) | Gets the keyframe sequence on specified animation instance. |
getName() | Gets the name. |
getProperties() | Gets the collection of all properties. |
getProperty(String property) | Get the value of specified property |
getValue() | Gets the value. |
getValueType() | Gets the type of the property value. |
hashCode() | |
notify() | |
notifyAll() | |
removeProperty(Property property) | Removes a dynamic property. |
removeProperty(String property) | Remove the specified property identified by name |
setName(String value) | Gets the name of the property |
setProperty(String property, Object value) | Sets the value of specified property |
setValue(Object value) | Sets the value. |
toString() | Returns a string that represents the current Property. |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
findProperty(String propertyName)
public Property findProperty(String propertyName)
Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
Parameters:
Parameter | Type | Description |
---|---|---|
propertyName | java.lang.String | Property name. |
Returns: Property - The property.
getBindPoint(AnimationNode anim, boolean create)
public BindPoint getBindPoint(AnimationNode anim, boolean create)
Gets the property bind point on specified animation instance.
Parameters:
Parameter | Type | Description |
---|---|---|
anim | AnimationNode | On which animation to create the bind point. |
create | boolean | Create the property bind point if it’s not found. |
Returns: BindPoint - The property bind point on specified animation instance
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getKeyframeSequence(AnimationNode anim, boolean create)
public KeyframeSequence getKeyframeSequence(AnimationNode anim, boolean create)
Gets the keyframe sequence on specified animation instance.
Parameters:
Parameter | Type | Description |
---|---|---|
anim | AnimationNode | On which animation to create the keyframe sequence. |
create | boolean | Create the keyframe sequence if it’s not found. |
Returns: KeyframeSequence - The keyframe sequence on specified animation instance
getName()
public String getName()
Gets the name.
Returns: java.lang.String
getProperties()
public PropertyCollection getProperties()
Gets the collection of all properties.
Returns: PropertyCollection
getProperty(String property)
public Object getProperty(String property)
Get the value of specified property
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Property name |
Returns: java.lang.Object - The value of the found property
getValue()
public abstract Object getValue()
Gets the value.
Returns: java.lang.Object
getValueType()
public abstract Class<?> getValueType()
Gets the type of the property value.
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
removeProperty(Property property)
public boolean removeProperty(Property property)
Removes a dynamic property.
Parameters:
Parameter | Type | Description |
---|---|---|
property | Property | Which property to remove |
Returns: boolean - true if the property is successfully removed
removeProperty(String property)
public boolean removeProperty(String property)
Remove the specified property identified by name
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String |
Returns: boolean
setName(String value)
public void setName(String value)
Gets the name of the property
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String | New value |
setProperty(String property, Object value)
public void setProperty(String property, Object value)
Sets the value of specified property
Parameters:
Parameter | Type | Description |
---|---|---|
property | java.lang.String | Property name |
value | java.lang.Object | The value of the property |
setValue(Object value)
public abstract void setValue(Object value)
Sets the value.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.Object | New value |
toString()
public String toString()
Returns a string that represents the current Property.
Returns: java.lang.String - A string that represents the current Property.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |