games.strategy.engine.data.properties
Class BooleanProperty

java.lang.Object
  extended by games.strategy.engine.data.properties.AEditableProperty
      extended by games.strategy.engine.data.properties.BooleanProperty
All Implemented Interfaces:
IEditableProperty, java.io.Serializable, java.lang.Comparable

public class BooleanProperty
extends AEditableProperty

See Also:
Serialized Form

Constructor Summary
BooleanProperty(java.lang.String name, boolean defaultValue)
           
 
Method Summary
 javax.swing.JComponent getEditorComponent()
           
 java.lang.Object getValue()
           
 void setValue(boolean aValue)
           
 
Methods inherited from class games.strategy.engine.data.properties.AEditableProperty
compareTo, equals, getName, getViewComponent, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanProperty

public BooleanProperty(java.lang.String name,
                       boolean defaultValue)
Method Detail

getValue

public java.lang.Object getValue()

setValue

public void setValue(boolean aValue)

getEditorComponent

public javax.swing.JComponent getEditorComponent()
Returns:
component used to edit this property