org.rosuda.deducer.widgets.param
Class ParamMultipleVariables

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

public class ParamMultipleVariables
extends Param


Field Summary
protected  java.lang.String data
           
protected  java.lang.String dataParamName
           
protected  java.lang.String defaultData
           
protected  java.lang.String[] defaultVariables
           
protected  java.lang.String format
           
static java.lang.String FORMAT_DATA
           
static java.lang.String FORMAT_VARIABLE
           
static java.lang.String FORMAT_VARIABLE_CHARACTER
           
protected  java.lang.String[] variables
           
 
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
ParamMultipleVariables()
           
ParamMultipleVariables(java.lang.String name)
           
ParamMultipleVariables(java.lang.String name, java.lang.String data, java.lang.String[] variables)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getData()
           
protected  java.lang.String getDataParamName()
           
 java.lang.String getDefaultData()
           
 java.lang.Object getDefaultValue()
           
 java.lang.String[] getDefaultVariable()
           
 java.lang.String getFormat()
           
 java.lang.String[] getParamCalls()
           
 java.lang.Object getValue()
           
 java.lang.String[] getVariables()
           
 ParamWidget getView()
           
 ParamWidget getView(VariableSelectorWidget s)
           
 boolean hasValidEntry()
           
 boolean requiresVariableSelector()
           
 void setData(java.lang.String data)
           
protected  void setDataParamName(java.lang.String dataParamName)
           
 void setDefaultData(java.lang.String defaultData)
           
 void setDefaultValue(java.lang.Object defaultValues)
           
 void setDefaultVariable(java.lang.String defaultVariable)
           
 void setDefaultVariable(java.lang.String[] defaultVariables)
           
 void setFormat(java.lang.String format)
           
 void setFromXML(org.w3c.dom.Element node)
           
 void setValue(java.lang.Object values)
           
 void setVariables(java.lang.String variable)
           
 void setVariables(java.lang.String[] variables)
           
 org.w3c.dom.Element toXML()
           
 
Methods inherited from class org.rosuda.deducer.widgets.param.Param
getLabels, getLowerBound, getName, getOptions, getTitle, getUpperBound, getViewType, isRequired, makeParam, 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

data

protected java.lang.String data

variables

protected java.lang.String[] variables

defaultData

protected java.lang.String defaultData

defaultVariables

protected java.lang.String[] defaultVariables

format

protected java.lang.String format

dataParamName

protected java.lang.String dataParamName

FORMAT_DATA

public static java.lang.String FORMAT_DATA

FORMAT_VARIABLE

public static java.lang.String FORMAT_VARIABLE

FORMAT_VARIABLE_CHARACTER

public static java.lang.String FORMAT_VARIABLE_CHARACTER
Constructor Detail

ParamMultipleVariables

public ParamMultipleVariables()

ParamMultipleVariables

public ParamMultipleVariables(java.lang.String name)

ParamMultipleVariables

public ParamMultipleVariables(java.lang.String name,
                              java.lang.String data,
                              java.lang.String[] variables)
Method Detail

clone

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

getDefaultValue

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

getParamCalls

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

getValue

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

getView

public ParamWidget getView()
Overrides:
getView in class Param

getView

public ParamWidget getView(VariableSelectorWidget s)
Overrides:
getView in class Param

requiresVariableSelector

public boolean requiresVariableSelector()
Overrides:
requiresVariableSelector in class Param

setDefaultValue

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

setValue

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

setData

public void setData(java.lang.String data)

getData

public java.lang.String getData()

setVariables

public void setVariables(java.lang.String[] variables)

setVariables

public void setVariables(java.lang.String variable)

getVariables

public java.lang.String[] getVariables()

setDefaultData

public void setDefaultData(java.lang.String defaultData)

getDefaultData

public java.lang.String getDefaultData()

setDefaultVariable

public void setDefaultVariable(java.lang.String[] defaultVariables)

setDefaultVariable

public void setDefaultVariable(java.lang.String defaultVariable)

getDefaultVariable

public java.lang.String[] getDefaultVariable()

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

setDataParamName

protected void setDataParamName(java.lang.String dataParamName)

getDataParamName

protected java.lang.String getDataParamName()

hasValidEntry

public boolean hasValidEntry()
Overrides:
hasValidEntry in class Param

setFormat

public void setFormat(java.lang.String format)

getFormat

public java.lang.String getFormat()