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 BooleanbooleanValue()ComponentgetControls()GUI interface for setting the option in an editing windowbooleangetValueBoolean()StringgetValueString()voidsetName(String s)voidsetValue(Object o)Set the Object valuevoidsetValue(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:
getValueStringin classConfigurer- Returns:
- a String representation of the Object value
-
getValueBoolean
public boolean getValueBoolean() -
setValue
Description copied from class:ConfigurerSet the Object value- Overrides:
setValuein classConfigurer
-
setValue
Description copied from class:ConfigurerSet the Object value from a String- Specified by:
setValuein classConfigurer
-
setName
- Overrides:
setNamein classConfigurer
-
getControls
Description copied from class:ConfigurerGUI interface for setting the option in an editing window- Specified by:
getControlsin classConfigurer
-
booleanValue
-