|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.kitfox.svg.SVGElement
com.kitfox.svg.animation.AnimationElement
public abstract class AnimationElement
Field Summary | |
---|---|
static int |
AC_REPLACE
Accumlative state |
static int |
AC_SUM
|
static int |
AD_REPLACE
Additive state of track |
static int |
AD_SUM
|
static int |
AT_AUTO
|
static int |
AT_CSS
|
static int |
AT_XML
|
protected java.lang.String |
attribName
|
protected int |
attribType
|
protected TimeBase |
beginTime
|
protected TimeBase |
durTime
|
protected TimeBase |
endTime
|
protected int |
fillType
|
static int |
FT_AUTO
|
static int |
FT_DEFAULT
|
static int |
FT_FREEZE
|
static int |
FT_HOLD
|
static int |
FT_REMOVE
More about the fill attribute |
static int |
FT_TRANSITION
|
Fields inherited from class com.kitfox.svg.SVGElement |
---|
children, cssClass, diagram, id, ignorePresAttrib, inlineStyles, parent, presAttribs, SVG_NS, trackManager, xmlBase |
Constructor Summary | |
---|---|
AnimationElement()
Creates a new instance of AnimateEle |
Method Summary | |
---|---|
static java.lang.String |
animationElementToString(int attrValue)
|
void |
evalParametric(AnimationTimeEval state,
double curTime)
|
protected void |
evalParametric(AnimationTimeEval state,
double curTime,
double repeatCount,
double repeatDur)
Compares current time to start and end times and determines what degree of time interpolation this track currently represents. |
int |
getAccumulateType()
|
int |
getAdditiveType()
|
java.lang.String |
getAttribName()
|
int |
getAttribType()
|
void |
loaderStartElement(SVGLoaderHelper helper,
org.xml.sax.Attributes attrs,
SVGElement parent)
Called during SAX load process to notify that this tag has begun the process of being loaded |
boolean |
updateTime(double curTime)
Updates all attributes in this diagram associated with a time event. |
Methods inherited from class com.kitfox.svg.SVGElement |
---|
addAttribute, build, buildPath, getChild, getChildren, getId, getParent, getPath, getPres, getPresAbsolute, getStyle, getStyle, getStyleAbsolute, getXMLBase, hasAttribute, loaderAddChild, loaderAddText, loaderEndElement, nextFloat, parsePathList, parseSingleTransform, parseTransform, removeChild, setAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String attribName
protected int attribType
public static final int AT_CSS
public static final int AT_XML
public static final int AT_AUTO
protected TimeBase beginTime
protected TimeBase durTime
protected TimeBase endTime
protected int fillType
public static final int FT_REMOVE
public static final int FT_FREEZE
public static final int FT_HOLD
public static final int FT_TRANSITION
public static final int FT_AUTO
public static final int FT_DEFAULT
public static final int AD_REPLACE
public static final int AD_SUM
public static final int AC_REPLACE
public static final int AC_SUM
Constructor Detail |
---|
public AnimationElement()
Method Detail |
---|
public static java.lang.String animationElementToString(int attrValue)
public void loaderStartElement(SVGLoaderHelper helper, org.xml.sax.Attributes attrs, SVGElement parent) throws org.xml.sax.SAXException
SVGElement
loaderStartElement
in class SVGElement
helper
- - An object passed to all SVG elements involved in this build
process to aid in sharing information.attrs
- - Attributes of this tag
org.xml.sax.SAXException
public java.lang.String getAttribName()
public int getAttribType()
public int getAdditiveType()
public int getAccumulateType()
public void evalParametric(AnimationTimeEval state, double curTime)
protected void evalParametric(AnimationTimeEval state, double curTime, double repeatCount, double repeatDur)
state
- - A structure that will be filled with information
regarding the applicability of this animatoin element at the passed
time.curTime
- - Current time in secondsrepeatCount
- - Optional number of repetitions of length 'dur' to
do. Set to Double.NaN to not consider this in the calculation.repeatDur
- - Optional amoun tof time to repeat the animaiton.
Set to Double.NaN to not consider this in the calculation.public boolean updateTime(double curTime)
updateTime
in class SVGElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |