com.yobotics.simulationconstructionset.util.globalParameters
Class IntGlobalParameter

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.globalParameters.GlobalParameter
      extended by com.yobotics.simulationconstructionset.util.globalParameters.IntGlobalParameter

public class IntGlobalParameter
extends GlobalParameter


Constructor Summary
IntGlobalParameter(java.lang.String name, java.lang.String description, int value, GlobalParameterChangedListener listener)
           
 
Method Summary
 int getValue()
           
 java.lang.String getValueInStringFormat()
           
 void set(int value)
           
 void set(int value, java.lang.String comment)
           
 void setOnlyIfChange(int value)
           
 void setOnlyIfChange(int value, java.lang.String comment)
           
 
Methods inherited from class com.yobotics.simulationconstructionset.util.globalParameters.GlobalParameter
addVarListToSimulationConstructionSet, getAllParametersYoVariableRegistry, getMaximumNumberOfCharactersInValue, getName, getShortName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntGlobalParameter

public IntGlobalParameter(java.lang.String name,
                          java.lang.String description,
                          int value,
                          GlobalParameterChangedListener listener)
Method Detail

getValue

public int getValue()

set

public void set(int value)

set

public void set(int value,
                java.lang.String comment)

setOnlyIfChange

public void setOnlyIfChange(int value)

setOnlyIfChange

public void setOnlyIfChange(int value,
                            java.lang.String comment)

getValueInStringFormat

public java.lang.String getValueInStringFormat()
Specified by:
getValueInStringFormat in class GlobalParameter