|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.svg.SVGOMNumberList
This class implements the SVGNumberList
interface.
Field Summary | |
protected boolean |
internalChange
Whether or not the current change is due to an internal change. |
protected SVGList |
list
The implementation of the list. |
protected ModificationHandler |
modificationHandler
The modification handler. |
Constructor Summary | |
SVGOMNumberList()
|
Method Summary | |
SVGNumber |
appendItem(SVGNumber newItem)
DOM: Implements SVGNumberList.appendItem(SVGNumber) . |
void |
clear()
DOM: Implements SVGNumberList.getNumberOfItems() . |
SVGNumber |
getItem(int index)
DOM: Implements SVGNumberList.getItem(int) . |
int |
getNumberOfItems()
DOM: Implements SVGNumberList.getNumberOfItems() . |
java.lang.Object |
getObject(java.lang.Object key)
Implements ModificationHandler.getObject(Object) . |
java.lang.String |
getStringRepresentation()
Returns the string representation of the list. |
SVGNumber |
initialize(SVGNumber newItem)
DOM: Implements SVGNumberList.initialize(SVGNumber) . |
SVGNumber |
insertItemBefore(SVGNumber newItem,
int index)
DOM: Implements SVGNumberList.insertItemBefore(SVGNumber,int) . |
void |
parseValue(java.lang.String val)
Parses the given value and initializes the list. |
protected void |
parseValue(java.lang.String oldVal,
java.lang.String newVal)
Parses the old and new values and modifies the list. |
SVGNumber |
removeItem(int index)
DOM: Implements SVGNumberList.removeItem(int) . |
SVGNumber |
replaceItem(SVGNumber newItem,
int index)
DOM: Implements SVGNumberList.replaceItem(SVGNumber,int) . |
void |
setModificationHandler(ModificationHandler mh)
Sets the modification handler. |
void |
valueChanged(Attr oldValue,
Attr newValue)
Called when the string representation of the value as been modified. |
void |
valueChanged(java.lang.Object object,
java.lang.String value)
Implements ModificationHandler.valueChanged(Object,String) . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SVGList list
protected ModificationHandler modificationHandler
protected boolean internalChange
Constructor Detail |
public SVGOMNumberList()
Method Detail |
public void setModificationHandler(ModificationHandler mh)
public int getNumberOfItems()
SVGNumberList.getNumberOfItems()
.getNumberOfItems
in interface SVGNumberList
public void clear() throws DOMException
SVGNumberList.getNumberOfItems()
.clear
in interface SVGNumberList
public SVGNumber initialize(SVGNumber newItem) throws DOMException, SVGException
SVGNumberList.initialize(SVGNumber)
.initialize
in interface SVGNumberList
public SVGNumber getItem(int index) throws DOMException
SVGNumberList.getItem(int)
.getItem
in interface SVGNumberList
public SVGNumber insertItemBefore(SVGNumber newItem, int index) throws DOMException, SVGException
SVGNumberList.insertItemBefore(SVGNumber,int)
.insertItemBefore
in interface SVGNumberList
public SVGNumber replaceItem(SVGNumber newItem, int index) throws DOMException, SVGException
SVGNumberList.replaceItem(SVGNumber,int)
.replaceItem
in interface SVGNumberList
public SVGNumber removeItem(int index) throws DOMException
SVGNumberList.removeItem(int)
.removeItem
in interface SVGNumberList
public SVGNumber appendItem(SVGNumber newItem) throws DOMException, SVGException
SVGNumberList.appendItem(SVGNumber)
.appendItem
in interface SVGNumberList
public java.lang.String getStringRepresentation()
public void valueChanged(Attr oldValue, Attr newValue)
valueChanged
in interface LiveAttributeValue
oldValue
- The old Attr node.newValue
- The new Attr node.public void parseValue(java.lang.String val)
protected void parseValue(java.lang.String oldVal, java.lang.String newVal)
public void valueChanged(java.lang.Object object, java.lang.String value)
ModificationHandler.valueChanged(Object,String)
.valueChanged
in interface ModificationHandler
org.apache.batik.dom.svg.ModificationHandler
object
- The modified object.value
- The new value.public java.lang.Object getObject(java.lang.Object key)
ModificationHandler.getObject(Object)
.getObject
in interface ModificationHandler
org.apache.batik.dom.svg.ModificationHandler
key
- The key to use to retreive the object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |