|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.parameter.ParameterType
com.rapidminer.parameter.ParameterTypeSingle
com.rapidminer.parameter.ParameterTypeValue
public class ParameterTypeValue
A helper class for GUI purposes which allows for more sophisticated and automatic parameter creations.
| Constructor Summary | |
|---|---|
ParameterTypeValue(java.lang.String key,
java.lang.String description)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
getDefaultValue()
Returns null. |
java.lang.String |
getRange()
Returns a human readable description of the range. |
boolean |
isNumerical()
Returns false. |
boolean |
isOptional()
Returns true if this parameter is optional. |
void |
setDefaultValue(java.lang.Object defaultValue)
Does nothing. |
| Methods inherited from class com.rapidminer.parameter.ParameterTypeSingle |
|---|
getXML |
| Methods inherited from class com.rapidminer.parameter.ParameterType |
|---|
compareTo, getDescription, getKey, illegalValue, isExpert, isHidden, registerDependencyCondition, setDescription, setExpert, setHidden, setKey, setShowRange, showRange, toString, toString, toXMLString, transformNewValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterTypeValue(java.lang.String key,
java.lang.String description)
| Method Detail |
|---|
public boolean isOptional()
ParameterType
isOptional in class ParameterTypepublic java.lang.Object getDefaultValue()
getDefaultValue in class ParameterTypepublic void setDefaultValue(java.lang.Object defaultValue)
setDefaultValue in class ParameterTypepublic java.lang.String getRange()
ParameterType
getRange in class ParameterTypepublic boolean isNumerical()
isNumerical in class ParameterType
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||