VASSAL.configure
Class BooleanConfigurer
java.lang.Object
|
+--VASSAL.configure.Configurer
|
+--VASSAL.configure.BooleanConfigurer
- public class BooleanConfigurer
- extends Configurer
Configurer for Boolean values
|
Method Summary |
java.lang.Boolean |
booleanValue()
|
java.awt.Component |
getControls()
GUI interface for setting the option in an editing window |
java.lang.String |
getValueString()
|
void |
setName(java.lang.String s)
|
void |
setValue(java.lang.Object o)
Set the Object value |
void |
setValue(java.lang.String s)
Set the Object value from a String |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanConfigurer
public BooleanConfigurer(java.lang.String key,
java.lang.String name,
java.lang.Boolean val)
BooleanConfigurer
public BooleanConfigurer(java.lang.String key,
java.lang.String name)
getValueString
public java.lang.String getValueString()
- Specified by:
getValueString in class Configurer
- Returns:
- a String representation of the Object value
setValue
public void setValue(java.lang.Object o)
- Description copied from class:
Configurer
- Set the Object value
- Overrides:
setValue in class Configurer
setValue
public void setValue(java.lang.String s)
- Description copied from class:
Configurer
- Set the Object value from a String
- Specified by:
setValue in class Configurer
setName
public void setName(java.lang.String s)
- Overrides:
setName in class Configurer
getControls
public java.awt.Component getControls()
- Description copied from class:
Configurer
- GUI interface for setting the option in an editing window
- Specified by:
getControls in class Configurer
booleanValue
public java.lang.Boolean booleanValue()