Property

Inheritance: java.lang.Object

public abstract class Property

Class to hold user-defined properties.

Methods

MethodDescription
equals(Object arg0)
getBindPoint(AnimationNode anim, boolean create)Gets the property bind point on specified animation instance.
getClass()
getExtra(String name)Gets extra data of the property associated by name.
getKeyframeSequence(AnimationNode anim, boolean create)Gets the keyframe sequence on specified animation instance.
getName()Gets the name of the property
getValue()Gets the value.
getValueType()Gets the type of the property value.
hashCode()
notify()
notifyAll()
setExtra(String name, Object value)Sets extra data of the property associated by name.
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:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBindPoint(AnimationNode anim, boolean create)

public BindPoint getBindPoint(AnimationNode anim, boolean create)

Gets the property bind point on specified animation instance.

Parameters:

ParameterTypeDescription
animAnimationNodeOn which animation to create the bind point.
createbooleanCreate 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

getExtra(String name)

public Object getExtra(String name)

Gets extra data of the property associated by name.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe name of the property’s extra data

Returns: java.lang.Object - The extra data associated by name

getKeyframeSequence(AnimationNode anim, boolean create)

public KeyframeSequence getKeyframeSequence(AnimationNode anim, boolean create)

Gets the keyframe sequence on specified animation instance.

Parameters:

ParameterTypeDescription
animAnimationNodeOn which animation to create the keyframe sequence.
createbooleanCreate the keyframe sequence if it’s not found.

Returns: KeyframeSequence - The keyframe sequence on specified animation instance

getName()

public String getName()

Gets the name of the property

Returns: java.lang.String - the name of the property

getValue()

public abstract Object getValue()

Gets the value.

Returns: java.lang.Object - the value.

getValueType()

public abstract Class<?> getValueType()

Gets the type of the property value.

Returns: java.lang.Class - the type of the property value.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setExtra(String name, Object value)

public void setExtra(String name, Object value)

Sets extra data of the property associated by name.

Parameters:

ParameterTypeDescription
namejava.lang.StringThe name of the property’s extra data
valuejava.lang.ObjectThe value of the property’s extra data

setValue(Object value)

public abstract void setValue(Object value)

Sets the value.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectNew 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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int