org.apache.batik.dom.svg
Class AbstractSVGTransformList.SVGTransformItem
java.lang.Object
|
+--org.apache.batik.dom.svg.AbstractSVGTransform
|
+--org.apache.batik.dom.svg.AbstractSVGTransformList.SVGTransformItem
- All Implemented Interfaces:
- SVGItem, SVGTransform
- Enclosing class:
- AbstractSVGTransformList
- protected class AbstractSVGTransformList.SVGTransformItem
- extends AbstractSVGTransform
- implements SVGItem
Internal representation of the item SVGPoint.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xOnly
protected boolean xOnly
angleOnly
protected boolean angleOnly
parent
protected AbstractSVGList parent
- List the item belongs to.
itemStringValue
protected java.lang.String itemStringValue
- String representation of the item.
This is a cached representation of the
item while it is not changed.
AbstractSVGTransformList.SVGTransformItem
protected AbstractSVGTransformList.SVGTransformItem()
AbstractSVGTransformList.SVGTransformItem
protected AbstractSVGTransformList.SVGTransformItem(SVGTransform transform)
resetAttribute
protected void resetAttribute()
- Notifies the parent list that
the item has changed.
Discard the cached representation
of the item.
setParent
public void setParent(AbstractSVGList list)
- Assign a parent list to this item.
- Specified by:
setParent
in interface SVGItem
- Parameters:
list
- : list the item belongs.
getParent
public AbstractSVGList getParent()
- Return the parent list of the item.
- Specified by:
getParent
in interface SVGItem
- Returns:
- list the item belongs.
getValueAsString
public java.lang.String getValueAsString()
- Return the cached representation
of the item if valid otherwise
re-computes the String representation
of the item.
- Specified by:
getValueAsString
in interface SVGItem
- Following copied from interface:
org.apache.batik.dom.svg.SVGItem
- Returns:
- textual representation of the item
to be inserted in the attribute value
representing the list.
translate
protected void translate(float x)
rotate
protected void rotate(float angle)
scale
protected void scale(float x)
matrix
protected void matrix(float a,
float b,
float c,
float d,
float e,
float f)
setMatrix
public void setMatrix(SVGMatrix matrix)
- Overrides:
setMatrix
in class AbstractSVGTransform
setTranslate
public void setTranslate(float tx,
float ty)
- Overrides:
setTranslate
in class AbstractSVGTransform
setScale
public void setScale(float sx,
float sy)
- Overrides:
setScale
in class AbstractSVGTransform
setRotate
public void setRotate(float angle,
float cx,
float cy)
- Overrides:
setRotate
in class AbstractSVGTransform
setSkewX
public void setSkewX(float angle)
- Overrides:
setSkewX
in class AbstractSVGTransform
setSkewY
public void setSkewY(float angle)
- Overrides:
setSkewY
in class AbstractSVGTransform
createMatrix
protected SVGMatrix createMatrix()
- Description copied from class:
AbstractSVGTransform
- Create a SVGMatrix associated to the transform.
- Overrides:
createMatrix
in class AbstractSVGTransform
- Following copied from class:
org.apache.batik.dom.svg.AbstractSVGTransform
- Returns:
- SVGMatrix representing the transformation
getStringValue
protected java.lang.String getStringValue()
Copyright © 2004 Apache Software Foundation. All Rights Reserved.