|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xmto2xmta.MapRoot | +--xmto2xmta.mapanimation.AniAnimationBaseElement | +--xmto2xmta.mapanimation.AniAnimationElement
Class to group together the various type of media elements.
History:
Field Summary | |
private java.util.ResourceBundle |
animateColorRes_
|
private java.util.ResourceBundle |
animationElementRes_
|
private static boolean |
debug_
Whether debug information is to be printed to the console. |
private AnimationElement |
treeAnimationElement_
|
private java.util.ResourceBundle |
xmto2XmtaRes_
|
Fields inherited from class xmto2xmta.mapanimation.AniAnimationBaseElement |
xmtaNodeContainerId_ |
Fields inherited from class xmto2xmta.MapRoot |
treeElement_, xmto2xmta_ |
Constructor Summary | |
AniAnimationElement()
|
Method Summary | |
private boolean |
createDeleteMapping(ELASid elasId)
Delete the nodes created for animation. |
private boolean |
createInsertMapping(ELASid elasId)
Create the animation infrastructure. |
private boolean |
createResetTargetValues(TimingAttribute animationFillEndTime)
Reset the target element's value. |
private boolean |
createRoutesFromInterpoator(java.lang.String interpolatorId,
TimingAttribute interpolatorInsertTime,
TimingAttribute interpolatorEndFillTime)
Create the routes from interpolator to the target object. |
void |
doMapping()
|
private boolean |
doTimingMapping()
|
private boolean |
fillInRoutesFromInterpoator(org.w3c.dom.Element insertRoutes,
java.lang.String interpolatorId,
java.lang.String targetNodeId,
java.lang.String targetField)
Create the route from the interpolator to the correct node and field. |
private boolean |
fillInRoutesFromInterpoatorToDefsTarget(org.w3c.dom.Element insertRoutes,
java.lang.String interpolatorId,
Animatable target)
Create the route from the interpolator to the correct node and field. |
private boolean |
fillInRoutesFromInterpoatorToTimingTarget(org.w3c.dom.Element insertRoutes,
java.lang.String interpolatorId,
Animatable target,
ELASid targetElasId)
Create the route from the interpolator to the correct node and field. |
private boolean |
fillResetDefsTargetValue(org.w3c.dom.Element parNodes,
Animatable target)
Reset the target element's value. |
private boolean |
fillResetTargetValue(org.w3c.dom.Element parNodes,
java.lang.String animXmtaNodeId,
java.lang.String animXmtaAttrName,
java.lang.String animXmtaAttrInitialValue)
Reset the target element's value. |
private boolean |
fillResetTimingTargetValue(org.w3c.dom.Element parNodes,
Animatable target,
ELASid targetElasId)
Reset the target element's value. |
protected abstract java.lang.String |
getXmtoAttrAttributeName()
Return the name of the attribute to be animated. |
void |
init(Xmto2Xmta xmto2xmta,
ConvertElement element)
|
static void |
setDebug(boolean debug)
Enable debugging information to be printed to the console. |
Methods inherited from class xmto2xmta.mapanimation.AniAnimationBaseElement |
getXmtaNodeContainerId |
Methods inherited from class xmto2xmta.MapRoot |
fireErrorEvent, fireErrorEvent, fireErrorEvent, getConvertElement |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static boolean debug_
private AnimationElement treeAnimationElement_
private java.util.ResourceBundle xmto2XmtaRes_
private java.util.ResourceBundle animationElementRes_
private java.util.ResourceBundle animateColorRes_
Constructor Detail |
public AniAnimationElement()
Method Detail |
private boolean createDeleteMapping(ELASid elasId)
<par begin="???"> <Replace atNode="???" atField="enabled" value="false"/> </par> <par begin="???"> <Delete atNode="???"/> <Delete atNode="???"/> </par>
private boolean createInsertMapping(ELASid elasId)
What has to be created:
<par begin="???"> <Insert atNode="???"> <TimeSensor DEF="???" cycleInterval="???"/> <???Interpolator??? DEF="???" key="???" keyValue="???"/> <ROUTE fromField="fraction_changed" fromNode="???" toField="set_fraction" toNode="???"/> </Insert> </par>
private boolean createResetTargetValues(TimingAttribute animationFillEndTime)
<par begin="???"> <Replace atNode="???" atField="??" value="???"/> </par>
private boolean createRoutesFromInterpoator(java.lang.String interpolatorId, TimingAttribute interpolatorInsertTime, TimingAttribute interpolatorEndFillTime)
<par begin="???"> <Insert> <ROUTE fromField="value_changed" fromNode="???" toField="???" toNode="???"/> </Insert> </par>
public void doMapping()
private boolean doTimingMapping()
private boolean fillInRoutesFromInterpoator(org.w3c.dom.Element insertRoutes, java.lang.String interpolatorId, java.lang.String targetNodeId, java.lang.String targetField)
<ROUTE fromField="value_changed" fromNode="???" toField="???" toNode="???"/>
private boolean fillInRoutesFromInterpoatorToDefsTarget(org.w3c.dom.Element insertRoutes, java.lang.String interpolatorId, Animatable target)
<ROUTE fromField="value_changed" fromNode="???" toField="???" toNode="???"/>
private boolean fillInRoutesFromInterpoatorToTimingTarget(org.w3c.dom.Element insertRoutes, java.lang.String interpolatorId, Animatable target, ELASid targetElasId)
<ROUTE fromField="value_changed" fromNode="???" toField="???" toNode="???"/>
private boolean fillResetDefsTargetValue(org.w3c.dom.Element parNodes, Animatable target)
<Replace atNode="???" atField="??" value="???"/>
private boolean fillResetTargetValue(org.w3c.dom.Element parNodes, java.lang.String animXmtaNodeId, java.lang.String animXmtaAttrName, java.lang.String animXmtaAttrInitialValue)
<Replace atNode="???" atField="??" value="???"/>
private boolean fillResetTimingTargetValue(org.w3c.dom.Element parNodes, Animatable target, ELASid targetElasId)
<Replace atNode="???" atField="??" value="???"/>
protected abstract java.lang.String getXmtoAttrAttributeName()
public void init(Xmto2Xmta xmto2xmta, ConvertElement element) throws java.lang.Exception
init
in class MapRoot
public static void setDebug(boolean debug)
debug
- sets debug information is printed
|
XMT-O Reference Software | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |