API V2.1

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

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

public class NLChooser
extends NLControl

Authors:
CBURKE


Constructor Summary
NLChooser(Rectangle bb, String lab, String var, LinkedList ch, int init)

Creates a new instance of NLChooser.

 
Method Summary
LinkedList getChoices()

@return the choices

int getInitialValue()

String getLabel()

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

NLChooser

public NLChooser(Rectangle bb, String lab, String var, LinkedList ch, int init)
Creates a new instance of NLChooser.


 
Method Detail

getChoices

public LinkedList getChoices()
Returns:
the choices


getInitialValue

public int getInitialValue()


getLabel

public String getLabel()


getVariable

public String getVariable()


isInput

public boolean isInput()


toScore

public String toScore()
Return a Score representation of the control, if possible. This variable is an enumeration value, which we most likely need to emulate as an integer within the current framework. Enumeration labels for indices can be output as comments.


toString

public String toString()


 

ReLogo API V2.1