org.rosuda.deducer.widgets.param
Class Param
java.lang.Object
org.rosuda.deducer.widgets.param.Param
- All Implemented Interfaces:
- java.lang.Cloneable
- Direct Known Subclasses:
- ParamAny, ParamCharacter, ParamColor, ParamFacet, ParamLogical, ParamMultipleVariables, ParamNone, ParamNumeric, ParamRFunctionResult, ParamRObject, ParamScaleLegend, ParamStatSummary, ParamVariable, ParamVector, RFunction, RFunctionList
public abstract class Param
- extends java.lang.Object
- implements java.lang.Cloneable
Constructor Summary |
Param()
|
Param(java.lang.String nm)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VIEW_ENTER
public static final java.lang.String VIEW_ENTER
- See Also:
- Constant Field Values
VIEW_ENTER_LONG
public static final java.lang.String VIEW_ENTER_LONG
- See Also:
- Constant Field Values
VIEW_COMBO
public static final java.lang.String VIEW_COMBO
- See Also:
- Constant Field Values
VIEW_EDITABLE_COMBO
public static final java.lang.String VIEW_EDITABLE_COMBO
- See Also:
- Constant Field Values
VIEW_CHECK_BOX
public static final java.lang.String VIEW_CHECK_BOX
- See Also:
- Constant Field Values
VIEW_VECTOR_BUILDER
public static final java.lang.String VIEW_VECTOR_BUILDER
- See Also:
- Constant Field Values
VIEW_TWO_VALUE_ENTER
public static final java.lang.String VIEW_TWO_VALUE_ENTER
- See Also:
- Constant Field Values
VIEW_COLOR
public static final java.lang.String VIEW_COLOR
- See Also:
- Constant Field Values
VIEW_RFUNCTION_CHOOSER
public static final java.lang.String VIEW_RFUNCTION_CHOOSER
- See Also:
- Constant Field Values
VIEW_RFUNCTION_PANEL
public static final java.lang.String VIEW_RFUNCTION_PANEL
- See Also:
- Constant Field Values
VIEW_SINGLE_VARIABLE
public static final java.lang.String VIEW_SINGLE_VARIABLE
- See Also:
- Constant Field Values
VIEW_HIDDEN
public static final java.lang.String VIEW_HIDDEN
- See Also:
- Constant Field Values
VIEW_MULTI_VARIABLE
public static final java.lang.String VIEW_MULTI_VARIABLE
- See Also:
- Constant Field Values
VIEW_ROBJECT_COMBO
public static final java.lang.String VIEW_ROBJECT_COMBO
- See Also:
- Constant Field Values
name
protected java.lang.String name
title
protected java.lang.String title
options
protected java.lang.String[] options
labels
protected java.lang.String[] labels
view
protected java.lang.String view
lowerBound
protected java.lang.Double lowerBound
upperBound
protected java.lang.Double upperBound
required
protected boolean required
requiresVariableSelector
protected boolean requiresVariableSelector
Param
public Param()
Param
public Param(java.lang.String nm)
getView
public ParamWidget getView()
getView
public ParamWidget getView(VariableSelectorWidget sel)
clone
public abstract java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getParamCalls
public abstract java.lang.String[] getParamCalls()
setValue
public abstract void setValue(java.lang.Object value)
getValue
public abstract java.lang.Object getValue()
setDefaultValue
public abstract void setDefaultValue(java.lang.Object defaultValue)
getDefaultValue
public abstract java.lang.Object getDefaultValue()
setViewType
public void setViewType(java.lang.String view)
getViewType
public java.lang.String getViewType()
setTitle
public void setTitle(java.lang.String title)
getTitle
public java.lang.String getTitle()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
setOptions
public void setOptions(java.lang.String[] options)
getOptions
public java.lang.String[] getOptions()
setLabels
public void setLabels(java.lang.String[] labels)
getLabels
public java.lang.String[] getLabels()
setLowerBound
public void setLowerBound(java.lang.Double lowerBound)
setLowerBound
public void setLowerBound(double lowerBound)
getLowerBound
public java.lang.Double getLowerBound()
setUpperBound
public void setUpperBound(java.lang.Double upperBound)
setUpperBound
public void setUpperBound(double upperBound)
getUpperBound
public java.lang.Double getUpperBound()
requiresVariableSelector
public boolean requiresVariableSelector()
setRequiresVariableSelector
public void setRequiresVariableSelector(boolean needed)
toXML
public org.w3c.dom.Element toXML()
setFromXML
public void setFromXML(org.w3c.dom.Element node)
makeParam
public static Param makeParam(java.lang.String className)
setRequired
public void setRequired(boolean req)
isRequired
public boolean isRequired()
hasValidEntry
public boolean hasValidEntry()