org.rosuda.deducer.widgets.param
Class ParamVariable

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

public class ParamVariable
extends Param


Field Summary
protected  java.lang.String data
           
protected  java.lang.String dataParamName
           
protected  java.lang.String defaultData
           
protected  java.lang.String defaultVariable
           
protected  java.lang.String format
           
static java.lang.String FORMAT_DATA
           
static java.lang.String FORMAT_VARIABLE
           
static java.lang.String FORMAT_VARIABLE_CHARACTER
           
static java.lang.String FORMAT_VECTOR
           
protected  java.lang.String variable
           
 
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
ParamVariable()
           
ParamVariable(java.lang.String name)
           
ParamVariable(java.lang.String name, java.lang.String data, java.lang.String variable)
           
 
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 getVariable()
           
 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 defaultValue)
           
 void setDefaultVariable(java.lang.String defaultVariable)
           
 void setFormat(java.lang.String format)
           
 void setFromXML(org.w3c.dom.Element node)
           
 void setValue(java.lang.Object value)
           
 void setVariable(java.lang.String variable)
           
 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

variable

protected java.lang.String variable

defaultData

protected java.lang.String defaultData

defaultVariable

protected java.lang.String defaultVariable

format

protected java.lang.String format

dataParamName

protected java.lang.String dataParamName

FORMAT_VECTOR

public static java.lang.String FORMAT_VECTOR

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

ParamVariable

public ParamVariable()

ParamVariable

public ParamVariable(java.lang.String name)

ParamVariable

public ParamVariable(java.lang.String name,
                     java.lang.String data,
                     java.lang.String variable)
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 defaultValue)
Specified by:
setDefaultValue in class Param

setValue

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

setData

public void setData(java.lang.String data)

getData

public java.lang.String getData()

setVariable

public void setVariable(java.lang.String variable)

getVariable

public java.lang.String getVariable()

setDefaultData

public void setDefaultData(java.lang.String defaultData)

getDefaultData

public java.lang.String getDefaultData()

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()