org.nlogo.workspace
Class InputBoxType

java.lang.Object
  extended by org.nlogo.workspace.InputBoxType
All Implemented Interfaces:
InputBoxConstraint.InputBoxTypeInterface

public class InputBoxType
extends Object
implements InputBoxConstraint.InputBoxTypeInterface


Constructor Summary
InputBoxType(String type, AbstractWorkspace workspace)
           
 
Method Summary
 Object getValue(Object obj)
           
 void setType(String type)
           
 String toString()
           
 String type()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InputBoxType

public InputBoxType(String type,
                    AbstractWorkspace workspace)
Method Detail

setType

public void setType(String type)
Specified by:
setType in interface InputBoxConstraint.InputBoxTypeInterface

toString

public String toString()
Overrides:
toString in class Object

type

public String type()

getValue

public Object getValue(Object obj)
                throws CompilerException
Specified by:
getValue in interface InputBoxConstraint.InputBoxTypeInterface
Throws:
CompilerException