daoc.editor.model.properties
Class BooleanProperty

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

public class BooleanProperty
extends Property

A true, false property.

See Also:
Serialized Form

Constructor Summary
BooleanProperty(org.w3c.dom.Element p, java.lang.String child)
           
BooleanProperty(java.lang.String name)
           
 
Method Summary
 boolean booleanValue()
           
 void setValue(boolean b)
           
 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

BooleanProperty

public BooleanProperty(java.lang.String name)

BooleanProperty

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

booleanValue

public boolean booleanValue()

setValue

public void setValue(boolean b)

writeXML

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