games.strategy.engine.data.properties
Class NumberProperty

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

public class NumberProperty
extends AEditableProperty

See Also:
Serialized Form

Constructor Summary
NumberProperty(java.lang.String name, int max, int min, int def)
           
 
Method Summary
 javax.swing.JComponent getEditorComponent()
           
 java.lang.Object getValue()
           
 
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

NumberProperty

public NumberProperty(java.lang.String name,
                      int max,
                      int min,
                      int def)
Method Detail

getValue

public java.lang.Object getValue()

getEditorComponent

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