daoc.editor.model.properties
Class IntegerProperty

java.lang.Object
  extended bydaoc.editor.model.properties.Property
      extended bydaoc.editor.model.properties.IntegerProperty
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IntPropProperty

public class IntegerProperty
extends Property

An integer value.

See Also:
Serialized Form

Constructor Summary
IntegerProperty(org.w3c.dom.Element p, java.lang.String child, int defaultValue)
           
IntegerProperty(java.lang.String name)
           
 
Method Summary
 int intValue()
           
 void setValue(int i)
           
 void writeXML(java.io.Writer fout, int indent)
           
 
Methods inherited from class daoc.editor.model.properties.Property
addUpdateListener, getName, removeUpdateListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerProperty

public IntegerProperty(java.lang.String name)

IntegerProperty

public IntegerProperty(org.w3c.dom.Element p,
                       java.lang.String child,
                       int defaultValue)
Method Detail

intValue

public int intValue()

setValue

public void setValue(int i)

writeXML

public void writeXML(java.io.Writer fout,
                     int indent)
              throws java.io.IOException
Specified by:
writeXML in class Property
Throws:
java.io.IOException