Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.dom.svg
Interface SVGItem  view SVGItem download SVGItem.java

All Known Implementing Classes:
AbstractSVGItem, AbstractSVGLengthList.SVGLengthItem, AbstractSVGNumberList.SVGNumberItem, AbstractSVGTransformList.SVGTransformItem

public interface SVGItem

This interface represents an item in an SVGXXXList. The item is required to hold a reference to its parent list so that an item can be moved from one list to another. A string representation of the item is also required in order to update the value of the attribute the list containing the item represents. If the value of the item is changed, it is required to notify the list it belongs to in order to synchronized the list and the attribute the list represents.

Version:
$Id: SVGItem.java,v 1.3 2004/08/18 07:13:14 vhardy Exp $

Method Summary
 AbstractSVGList getParent()
          Return the list the item belongs to.
 java.lang.String getValueAsString()
          Return the String representation of the item.
 void setParent(AbstractSVGList list)
          Associates an item to an SVGXXXList
 

Method Detail

setParent

public void setParent(AbstractSVGList list)
Associates an item to an SVGXXXList


getParent

public AbstractSVGList getParent()
Return the list the item belongs to.


getValueAsString

public java.lang.String getValueAsString()
Return the String representation of the item.