XMT-O Reference Software

xmto2xmta.tree
Interface Animatable

All Known Implementing Classes:
chromakey, circle, curve, group, lines, material, outline, points, polygons, rectangle, string, texture, transformation

public interface Animatable

listener interface for the editor options model.

History:


Field Summary
static int TYPE_MFBool
           
static int TYPE_MFColor
           
static int TYPE_MFFloat
           
static int TYPE_MFInt32
           
static int TYPE_MFString
           
static int TYPE_MFVec2f
           
static int TYPE_SFBool
           
static int TYPE_SFColor
           
static int TYPE_SFFloat
           
static int TYPE_SFInt32
           
static int TYPE_SFString
           
static int TYPE_SFVec2f
           
static int TYPE_UNSUPPORTED
           
 
Method Summary
 java.lang.String getAnimConvertValueXmto2Xmta(java.lang.String xmtoAttrName, java.lang.String xmtoValue, int xmtoFieldType, int xmtaFieldType)
          This function converts a xmto attribute value to its xmta equivalent.
 int getAnimXmtaAttrFieldType(java.lang.String xmtoAttrName)
          This function returns the MPEG-4 field type being animated.
 java.lang.String getAnimXmtaAttrInitialValue(java.lang.String xmtoAttrName)
          This function returns the initial value of the field begin animated.
 java.lang.String getAnimXmtaAttrName(java.lang.String xmtoAttrName)
          This function returns the MPEG-4 field being animated.
 java.lang.String getAnimXmtaDefsNodeId(java.lang.String xmtoAttrName)
          This function returns the MPEG-4 node whose field is being animated.
 java.lang.String getAnimXmtaNodeId(java.lang.String xmtoAttrName, ELASid elasId)
          This function returns the MPEG-4 node whose field is being animated.
 int getAnimXmtoAttrFieldType(java.lang.String xmtoAttrName)
          This function returns the MPEG-4 field type being animated.
 

Field Detail

TYPE_UNSUPPORTED

public static final int TYPE_UNSUPPORTED

TYPE_SFBool

public static final int TYPE_SFBool

TYPE_SFColor

public static final int TYPE_SFColor

TYPE_SFFloat

public static final int TYPE_SFFloat

TYPE_SFVec2f

public static final int TYPE_SFVec2f

TYPE_SFInt32

public static final int TYPE_SFInt32

TYPE_SFString

public static final int TYPE_SFString

TYPE_MFBool

public static final int TYPE_MFBool

TYPE_MFColor

public static final int TYPE_MFColor

TYPE_MFFloat

public static final int TYPE_MFFloat

TYPE_MFVec2f

public static final int TYPE_MFVec2f

TYPE_MFInt32

public static final int TYPE_MFInt32

TYPE_MFString

public static final int TYPE_MFString
Method Detail

getAnimConvertValueXmto2Xmta

public java.lang.String getAnimConvertValueXmto2Xmta(java.lang.String xmtoAttrName,
                                                     java.lang.String xmtoValue,
                                                     int xmtoFieldType,
                                                     int xmtaFieldType)
This function converts a xmto attribute value to its xmta equivalent. It then returns the converted value.

getAnimXmtaAttrFieldType

public int getAnimXmtaAttrFieldType(java.lang.String xmtoAttrName)
This function returns the MPEG-4 field type being animated. e.g. SFVec2f, MFVec3f, SFColor, MFColor, ...

getAnimXmtaAttrInitialValue

public java.lang.String getAnimXmtaAttrInitialValue(java.lang.String xmtoAttrName)
This function returns the initial value of the field begin animated. This is used in case the attribute is not specified in the animaiton. Generally this is the original value so that after the animation is finished the node field can be returned to its original state. If this value isn't specified then the default value will be used.

getAnimXmtaAttrName

public java.lang.String getAnimXmtaAttrName(java.lang.String xmtoAttrName)
This function returns the MPEG-4 field being animated.

getAnimXmtaDefsNodeId

public java.lang.String getAnimXmtaDefsNodeId(java.lang.String xmtoAttrName)
This function returns the MPEG-4 node whose field is being animated. This method is for when there is no elasId for this instantiation of the object. This can occur for xMediaChildrenObject that are defs objects, but the parent isn't a TimingElement.

getAnimXmtaNodeId

public java.lang.String getAnimXmtaNodeId(java.lang.String xmtoAttrName,
                                          ELASid elasId)
This function returns the MPEG-4 node whose field is being animated.

getAnimXmtoAttrFieldType

public int getAnimXmtoAttrFieldType(java.lang.String xmtoAttrName)
This function returns the MPEG-4 field type being animated. e.g. SFVec2f, MFVec3f, SFColor, MFColor, ...

XMT-O Reference Software