org.apache.batik.dom.svg
Class AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem

java.lang.Object
  |
  +--org.apache.batik.dom.svg.AbstractSVGItem
        |
        +--org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegItem
              |
              +--org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem
All Implemented Interfaces:
SVGItem, SVGPathSeg, SVGPathSegClosePath, SVGPathSegLinetoHorizontalAbs, SVGPathSegLinetoHorizontalRel
Enclosing class:
AbstractSVGPathSegList

public class AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem
extends AbstractSVGPathSegList.SVGPathSegItem
implements SVGPathSegLinetoHorizontalAbs, SVGPathSegLinetoHorizontalRel


Field Summary
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegItem
angle, largeArcFlag, letter, r1, r2, sweepFlag, type, x, x1, x2, y, y1, y2
 
Fields inherited from class org.apache.batik.dom.svg.AbstractSVGItem
itemStringValue, parent
 
Fields inherited from interface org.w3c.dom.svg.SVGPathSeg
PATHSEG_ARC_ABS, PATHSEG_ARC_REL, PATHSEG_CLOSEPATH, PATHSEG_CURVETO_CUBIC_ABS, PATHSEG_CURVETO_CUBIC_REL, PATHSEG_CURVETO_CUBIC_SMOOTH_ABS, PATHSEG_CURVETO_CUBIC_SMOOTH_REL, PATHSEG_CURVETO_QUADRATIC_ABS, PATHSEG_CURVETO_QUADRATIC_REL, PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS, PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL, PATHSEG_LINETO_ABS, PATHSEG_LINETO_HORIZONTAL_ABS, PATHSEG_LINETO_HORIZONTAL_REL, PATHSEG_LINETO_REL, PATHSEG_LINETO_VERTICAL_ABS, PATHSEG_LINETO_VERTICAL_REL, PATHSEG_MOVETO_ABS, PATHSEG_MOVETO_REL, PATHSEG_UNKNOWN
 
Constructor Summary
AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem(short type, java.lang.String letter, float value)
           
AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem(SVGPathSeg pathSeg)
           
 
Method Summary
protected  java.lang.String getStringValue()
          Return the string representation of the item.
 float getX()
           
 void setX(float x)
           
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGPathSegList.SVGPathSegItem
getPathSegType, getPathSegTypeAsLetter
 
Methods inherited from class org.apache.batik.dom.svg.AbstractSVGItem
getParent, getValueAsString, resetAttribute, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.svg.SVGPathSeg
getPathSegType, getPathSegTypeAsLetter
 

Constructor Detail

AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem

public AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem(short type,
                                                             java.lang.String letter,
                                                             float value)

AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem

public AbstractSVGPathSegList.SVGPathSegLinetoHorizontalItem(SVGPathSeg pathSeg)
Method Detail

getX

public float getX()
Specified by:
getX in interface SVGPathSegLinetoHorizontalAbs

setX

public void setX(float x)
Specified by:
setX in interface SVGPathSegLinetoHorizontalAbs

getStringValue

protected java.lang.String getStringValue()
Description copied from class: AbstractSVGItem
Return the string representation of the item.

Overrides:
getStringValue in class AbstractSVGPathSegList.SVGPathSegItem


Copyright © 2002 Apache Software Foundation. All Rights Reserved.