org.apache.batik.dom.svg
Class SVGOMNumber

java.lang.Object
  |
  +--org.apache.batik.dom.svg.SVGOMNumber
All Implemented Interfaces:
SVGNumber

public class SVGOMNumber
extends java.lang.Object
implements SVGNumber

This class implements the SVGNumber interface.


Field Summary
protected  boolean internalChange
          Whether or not the current change is due to an internal change.
protected  ModificationHandler modificationHandler
          The associated attribute modifier.
protected  float value
          The value of this number.
 
Constructor Summary
SVGOMNumber()
           
 
Method Summary
 float getValue()
          DOM: Implements SVGNumber.getValue().
 void parseValue(java.lang.String val)
          Parses the given string.
 void setModificationHandler(ModificationHandler mh)
          Sets the associated attribute modifier.
 void setValue(float val)
          DOM: Implements SVGNumber.setValue(float).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected float value
The value of this number.

modificationHandler

protected ModificationHandler modificationHandler
The associated attribute modifier.

internalChange

protected boolean internalChange
Whether or not the current change is due to an internal change.
Constructor Detail

SVGOMNumber

public SVGOMNumber()
Method Detail

setModificationHandler

public void setModificationHandler(ModificationHandler mh)
Sets the associated attribute modifier.

getValue

public float getValue()
DOM: Implements SVGNumber.getValue().
Specified by:
getValue in interface SVGNumber

setValue

public void setValue(float val)
              throws DOMException
DOM: Implements SVGNumber.setValue(float).
Specified by:
setValue in interface SVGNumber

parseValue

public void parseValue(java.lang.String val)
Parses the given string.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.