|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.quickform.AbstractQuickFormConfiguration<V>
public abstract class AbstractQuickFormConfiguration<V extends AbstractQuickFormValueInConfiguration>
Abstract configuration, contains fields for label, description and weight.
| Constructor Summary | |
|---|---|
AbstractQuickFormConfiguration()
|
|
| Method Summary | |
|---|---|
void |
copyValueConfigurationFrom(V reference)
|
abstract QuickFormConfigurationPanel<V> |
createController()
Create and return a controller that shows the label and description together with the actual value represented by this quickform configuration. |
abstract V |
createValueConfiguration()
|
String |
getDescription()
|
String |
getLabel()
|
V |
getValueConfiguration()
|
String |
getVariableName()
|
int |
getWeight()
|
void |
loadSettingsInDialog(NodeSettingsRO settings)
Load settings in dialog, init defaults if that fails. |
void |
loadSettingsInModel(NodeSettingsRO settings)
Load config in model. |
void |
saveSettingsTo(NodeSettingsWO settings)
Save config to argument. |
void |
setDescription(String description)
|
void |
setLabel(String label)
|
void |
setVariableName(String variableName)
|
void |
setWeight(int weight)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractQuickFormConfiguration()
| Method Detail |
|---|
public String getLabel()
public void setLabel(String label)
throws InvalidSettingsException
label - the label to set
InvalidSettingsException - If label is empty or null.public void setWeight(int weight)
weight - the weight to setpublic int getWeight()
public String getDescription()
public void setDescription(String description)
description - the description to setpublic String getVariableName()
public void setVariableName(String variableName)
variableName - the variableName to set
public void copyValueConfigurationFrom(V reference)
throws InvalidSettingsException
reference - the valueConfiguration to copy from, not null.
InvalidSettingsExceptionpublic V getValueConfiguration()
public void saveSettingsTo(NodeSettingsWO settings)
settings - To save to.
public void loadSettingsInModel(NodeSettingsRO settings)
throws InvalidSettingsException
settings - To load from.
InvalidSettingsException - If that fails for any reason.public void loadSettingsInDialog(NodeSettingsRO settings)
settings - To load from.public abstract QuickFormConfigurationPanel<V> createController()
public abstract V createValueConfiguration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||