public abstract class TrackBase extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
attribName |
protected int |
attribType |
protected SVGElement |
parent
Element we're animating
|
Constructor and Description |
---|
TrackBase(SVGElement parent,
AnimationElement ele)
Creates a track that would be valid for the name and type of element
passed in.
|
TrackBase(SVGElement parent,
String attribName,
int attribType) |
Modifier and Type | Method and Description |
---|---|
void |
addElement(AnimationElement ele) |
String |
getAttribName() |
int |
getAttribType() |
abstract boolean |
getValue(StyleAttribute attrib,
double curTime)
Returns a StyleAttribute representing the value of this track at the
passed time.
|
protected final String attribName
protected final int attribType
protected final SVGElement parent
public TrackBase(SVGElement parent, AnimationElement ele) throws SVGElementException
SVGElementException
public TrackBase(SVGElement parent, String attribName, int attribType) throws SVGElementException
SVGElementException
public String getAttribName()
public int getAttribType()
public void addElement(AnimationElement ele)
public abstract boolean getValue(StyleAttribute attrib, double curTime) throws SVGException
SVGException
Copyright © 2011-2017 Kitfox Studios. All Rights Reserved.