Package VASSAL.configure
Class BooleanConfigurer
java.lang.Object
VASSAL.configure.Configurer
VASSAL.configure.BooleanConfigurer
public class BooleanConfigurer extends Configurer
Configurer for Boolean values
-
Field Summary
Fields inherited from class VASSAL.configure.Configurer
changeSupport, frozen, key, name, NAME_PROPERTY, noUpdate, value
-
Constructor Summary
Constructors Constructor Description BooleanConfigurer(String key, String name)
BooleanConfigurer(String key, String name, boolean val)
BooleanConfigurer(String key, String name, Boolean val)
-
Method Summary
Modifier and Type Method Description Boolean
booleanValue()
Component
getControls()
GUI interface for setting the option in an editing windowboolean
getValueBoolean()
String
getValueString()
void
setName(String s)
void
setValue(Object o)
Set the Object valuevoid
setValue(String s)
Set the Object value from a StringMethods inherited from class VASSAL.configure.Configurer
addPropertyChangeListener, fireUpdate, getKey, getName, getValue, isFrozen, removePropertyChangeListener, setFrozen
-
Constructor Details
-
BooleanConfigurer
-
BooleanConfigurer
-
BooleanConfigurer
-
-
Method Details
-
getValueString
- Specified by:
getValueString
in classConfigurer
- Returns:
- a String representation of the Object value
-
getValueBoolean
public boolean getValueBoolean() -
setValue
Description copied from class:Configurer
Set the Object value- Overrides:
setValue
in classConfigurer
-
setValue
Description copied from class:Configurer
Set the Object value from a String- Specified by:
setValue
in classConfigurer
-
setName
- Overrides:
setName
in classConfigurer
-
getControls
Description copied from class:Configurer
GUI interface for setting the option in an editing window- Specified by:
getControls
in classConfigurer
-
booleanValue
-