API V2.1

repast.simphony.relogo.ide.intf
[Java] Class NLSlider

java.lang.Object
  repast.simphony.relogo.ide.intf.NLControl
      repast.simphony.relogo.ide.intf.NLSlider

public class NLSlider
extends NLControl

Authors:
CBURKE


Constructor Summary
NLSlider(Rectangle bb, String lab, String var, double min, double max, Number val, double inc, int u1, String unt)

Creates a new instance of NLSlider

 
Method Summary
Object getInitialValue()

String getLabel()

double getMaximum()

@return the maximum

double getMinimum()

@return the minimum

String getScoreType()

double getStep()

@return the step

String getUnits()

@return the units

String getVariable()

boolean isInput()

String toScore()

Return a Score representation of the control, if possible.

String toString()

 
Methods inherited from class NLControl
isInput, isOutput, toScore, toString
 

Constructor Detail

NLSlider

public NLSlider(Rectangle bb, String lab, String var, double min, double max, Number val, double inc, int u1, String unt)
Creates a new instance of NLSlider


 
Method Detail

getInitialValue

public Object getInitialValue()


getLabel

public String getLabel()


getMaximum

public double getMaximum()
Returns:
the maximum


getMinimum

public double getMinimum()
Returns:
the minimum


getScoreType

public String getScoreType()


getStep

public double getStep()
Returns:
the step


getUnits

public String getUnits()
Returns:
the units


getVariable

public String getVariable()


isInput

public boolean isInput()


toScore

public String toScore()
Return a Score representation of the control, if possible. This variable is either a floating point value or an integer, depending on the values of the parameters. There is no provision for returning the NetLogo step parameter except as a comment.


toString

public String toString()


 

ReLogo API V2.1