|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.adufour.vars.lang.Var<java.lang.Boolean>
plugins.adufour.vars.lang.VarBoolean
public class VarBoolean
Boolean variable
Field Summary |
---|
Fields inherited from class plugins.adufour.vars.lang.Var |
---|
listeners, NO_VALUE, type, XML_KEY_ID |
Constructor Summary | |
---|---|
VarBoolean(java.lang.String name,
java.lang.Boolean defaultValue)
|
Method Summary | |
---|---|
VarEditor<java.lang.Boolean> |
createVarEditor()
Creates a new VarEditor object that allows the user to graphically adjust the value
of this variable. |
java.lang.Boolean |
parse(java.lang.String s)
Parses the given String into the current type |
java.lang.Boolean |
toggleValue()
Inverts the value of this variable. Warning: this method does nothing if the current variable references another |
Methods inherited from class plugins.adufour.vars.lang.Var |
---|
addListener, createVarViewer, fireVariableChanged, fireVariableChanged, getDefaultEditorModel, getDefaultValue, getIterableReferrers, getName, getReference, getReferencingPolicy, getReferrers, getType, getTypeAsString, getValue, getValue, getValueAsString, getValueAsString, isAssignableFrom, isEnabled, isOptional, isReferenced, loadFromXML, prettyPrint, referenceChanged, removeListener, removeListeners, saveToXML, setDefaultEditorModel, setEnabled, setOptional, setReference, setReferencingPolicy, setValue, toString, valueChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VarBoolean(java.lang.String name, java.lang.Boolean defaultValue)
Method Detail |
---|
public java.lang.Boolean parse(java.lang.String s)
Var
parse
in class Var<java.lang.Boolean>
public java.lang.Boolean toggleValue()
public VarEditor<java.lang.Boolean> createVarEditor()
Var
VarEditor
object that allows the user to graphically adjust the value
of this variable. By default this editor is an empty label for generic types, but this method
can be overridden to provide a custom editor.
createVarEditor
in class Var<java.lang.Boolean>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |