org.rosuda.deducer.widgets.param
Class ParamVariable
java.lang.Object
org.rosuda.deducer.widgets.param.Param
org.rosuda.deducer.widgets.param.ParamVariable
- All Implemented Interfaces:
- java.lang.Cloneable
public class ParamVariable
- extends Param
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 |
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 |
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
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)
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()