com.yobotics.simulationconstructionset.util.globalParameters
Class BooleanGlobalParameter
java.lang.Object
com.yobotics.simulationconstructionset.util.globalParameters.GlobalParameter
com.yobotics.simulationconstructionset.util.globalParameters.BooleanGlobalParameter
- Direct Known Subclasses:
- AndBooleanGlobalParameter, OrBooleanGlobalParameter
public class BooleanGlobalParameter
- extends GlobalParameter
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanGlobalParameter
public BooleanGlobalParameter(java.lang.String name,
java.lang.String description,
boolean value,
GlobalParameterChangedListener listener)
getValue
public boolean getValue()
set
public void set(boolean value)
set
public void set(boolean value,
java.lang.String comment)
setOnlyIfChange
public void setOnlyIfChange(boolean value)
setOnlyIfChange
public void setOnlyIfChange(boolean value,
java.lang.String comment)
getValueInStringFormat
public java.lang.String getValueInStringFormat()
- Specified by:
getValueInStringFormat
in class GlobalParameter