|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.anim.dom.TraitInformation
public class TraitInformation
Stores information about a specific XML attribute or CSS property.
Field Summary | |
---|---|
protected boolean |
isAnimatable
Whether this trait can be animated. |
static short |
PERCENTAGE_FONT_SIZE
|
static short |
PERCENTAGE_VIEWPORT_HEIGHT
|
static short |
PERCENTAGE_VIEWPORT_SIZE
|
static short |
PERCENTAGE_VIEWPORT_WIDTH
|
protected short |
percentageInterpretation
What percentages in this trait are relative to. |
protected int |
type
The SVG type of this trait. |
Constructor Summary | |
---|---|
TraitInformation(boolean isAnimatable,
int type)
Creates a new TraitInformation object. |
|
TraitInformation(boolean isAnimatable,
int type,
short percentageInterpretation)
Creates a new TraitInformation object. |
Method Summary | |
---|---|
short |
getPercentageInterpretation()
Returns how percentage values in this trait are resolved. |
int |
getType()
Returns the SVG type of this trait. |
boolean |
isAnimatable()
Returns whether this trait is animatable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short PERCENTAGE_FONT_SIZE
public static final short PERCENTAGE_VIEWPORT_WIDTH
public static final short PERCENTAGE_VIEWPORT_HEIGHT
public static final short PERCENTAGE_VIEWPORT_SIZE
protected boolean isAnimatable
protected int type
protected short percentageInterpretation
Constructor Detail |
---|
public TraitInformation(boolean isAnimatable, int type, short percentageInterpretation)
public TraitInformation(boolean isAnimatable, int type)
Method Detail |
---|
public boolean isAnimatable()
public int getType()
public short getPercentageInterpretation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |