public abstract class Property
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
Property(A3DObject owner,
java.lang.String name)
Initializes a new instance of the
Property class. |
| Modifier and Type | Method and Description |
|---|---|
BindPoint |
getBindPoint(AnimationNode anim,
boolean create)
Gets the property bind point on specified animation instance.
|
java.lang.Object |
getExtra(java.lang.String name)
Gets extra data of the property associated by name.
|
KeyframeSequence |
getKeyframeSequence(AnimationNode anim,
boolean create)
Gets the keyframe sequence on specified animation instance.
|
java.lang.String |
getName()
Gets the name of the property
|
abstract java.lang.Object |
getValue()
Gets the value.
|
abstract java.lang.Class<?> |
getValueType()
Gets the type of the property value.
|
void |
setExtra(java.lang.String name,
java.lang.Object value)
Sets extra data of the property associated by name.
|
abstract void |
setValue(java.lang.Object value)
Sets the value.
|
java.lang.String |
toString()
Returns a string that represents the current
Property. |
public abstract java.lang.Object getValue()
public abstract void setValue(java.lang.Object value)
value - New valuepublic java.lang.Object getExtra(java.lang.String name)
name - The name of the property's extra datapublic void setExtra(java.lang.String name,
java.lang.Object value)
name - The name of the property's extra datavalue - The value of the property's extra datapublic java.lang.String getName()
public abstract java.lang.Class<?> getValueType()
public BindPoint getBindPoint(AnimationNode anim, boolean create)
anim - On which animation to create the bind point.create - Create the property bind point if it's not found.public KeyframeSequence getKeyframeSequence(AnimationNode anim, boolean create)
anim - On which animation to create the keyframe sequence.create - Create the keyframe sequence if it's not found.