org.rosuda.deducer.widgets.param
Class ParamVector

java.lang.Object
  extended by org.rosuda.deducer.widgets.param.Param
      extended by org.rosuda.deducer.widgets.param.ParamVector
All Implemented Interfaces:
java.lang.Cloneable

public class ParamVector
extends Param


Field Summary
protected  java.lang.String[] defaultValue
           
protected  boolean numeric
           
protected  java.lang.String[] value
           
 
Fields inherited from class org.rosuda.deducer.widgets.param.Param
labels, lowerBound, name, options, required, requiresVariableSelector, title, upperBound, view, VIEW_CHECK_BOX, VIEW_COLOR, VIEW_COMBO, VIEW_EDITABLE_COMBO, VIEW_ENTER, VIEW_ENTER_LONG, VIEW_HIDDEN, VIEW_MULTI_VARIABLE, VIEW_RFUNCTION_CHOOSER, VIEW_RFUNCTION_PANEL, VIEW_ROBJECT_COMBO, VIEW_SINGLE_VARIABLE, VIEW_TWO_VALUE_ENTER, VIEW_VECTOR_BUILDER
 
Constructor Summary
ParamVector()
           
ParamVector(java.lang.String nm)
           
ParamVector(java.lang.String nm, java.lang.String[] val)
           
ParamVector(java.lang.String theName, java.lang.String theTitle, java.lang.String theView, java.lang.String[] theValue, java.lang.String[] theDefaultValue, boolean isNumeric)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.Object getDefaultValue()
           
 java.lang.String[] getParamCalls()
           
 java.lang.Object getValue()
           
 ParamWidget getView()
           
 boolean hasValidEntry()
           
 boolean isNumeric()
           
 void setDefaultValue(java.lang.Object defaultValue)
           
 void setFromXML(org.w3c.dom.Element node)
           
 void setNumeric(boolean numeric)
           
 void setValue(java.lang.Object value)
           
 org.w3c.dom.Element toXML()
           
 
Methods inherited from class org.rosuda.deducer.widgets.param.Param
getLabels, getLowerBound, getName, getOptions, getTitle, getUpperBound, getView, getViewType, isRequired, makeParam, requiresVariableSelector, setLabels, setLowerBound, setLowerBound, setName, setOptions, setRequired, setRequiresVariableSelector, setTitle, setUpperBound, setUpperBound, setViewType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.lang.String[] value

defaultValue

protected java.lang.String[] defaultValue

numeric

protected boolean numeric
Constructor Detail

ParamVector

public ParamVector()

ParamVector

public ParamVector(java.lang.String nm)

ParamVector

public ParamVector(java.lang.String nm,
                   java.lang.String[] val)

ParamVector

public ParamVector(java.lang.String theName,
                   java.lang.String theTitle,
                   java.lang.String theView,
                   java.lang.String[] theValue,
                   java.lang.String[] theDefaultValue,
                   boolean isNumeric)
Method Detail

getView

public ParamWidget getView()
Overrides:
getView in class Param

clone

public java.lang.Object clone()
Specified by:
clone in class Param

getParamCalls

public java.lang.String[] getParamCalls()
Specified by:
getParamCalls in class Param

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)
Specified by:
setDefaultValue in class Param

getDefaultValue

public java.lang.Object getDefaultValue()
Specified by:
getDefaultValue in class Param

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in class Param

getValue

public java.lang.Object getValue()
Specified by:
getValue in class Param

setNumeric

public void setNumeric(boolean numeric)

isNumeric

public boolean isNumeric()

toXML

public org.w3c.dom.Element toXML()
Overrides:
toXML in class Param

setFromXML

public void setFromXML(org.w3c.dom.Element node)
Overrides:
setFromXML in class Param

hasValidEntry

public boolean hasValidEntry()
Overrides:
hasValidEntry in class Param