|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.FlowVariableModel
public class FlowVariableModel
Container holding information regarding variables which represent settings of a node and/or are used to replace settings of a node. This allows NodeDialogPane implementations to encapsulate all of the information related to variable/settings replacements.
Constructor Summary | |
---|---|
FlowVariableModel(NodeDialogPane parent,
String[] keys,
FlowVariable.Type type)
Create a new WVM object. |
Method Summary | |
---|---|
void |
addChangeListener(ChangeListener l)
Adds a listener which is notified whenever a new value is set in the model. |
String |
getInputVariableName()
|
String[] |
getKeys()
|
(package private) FlowVariable[] |
getMatchingVariables()
|
String |
getOutputVariableName()
|
(package private) NodeDialogPane |
getParent()
|
FlowVariable.Type |
getType()
|
boolean |
isVariableReplacementEnabled()
|
protected void |
notifyChangeListeners()
Notifies all registered listeners about a new model content. |
void |
removeChangeListener(ChangeListener l)
Remove a specific listener. |
void |
setInputVariableName(String variableName)
|
void |
setOutputVariableName(String variableName)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
FlowVariableModel(NodeDialogPane parent, String[] keys, FlowVariable.Type type)
parent
- NodeDialogPane (needed to retrieve visible variables)keys
- of corresponding settings objecttype
- of variable/settings objectMethod Detail |
---|
NodeDialogPane getParent()
public String[] getKeys()
public FlowVariable.Type getType()
public String getInputVariableName()
public void setInputVariableName(String variableName)
variableName
- the inputVariableName to set. Set to null
if no replacement is wanted.public boolean isVariableReplacementEnabled()
public String getOutputVariableName()
public void setOutputVariableName(String variableName)
variableName
- the outputVariableName to set. Set to null
if no replacement is wanted.FlowVariable[] getMatchingVariables()
public void addChangeListener(ChangeListener l)
l
- listener to add.public void removeChangeListener(ChangeListener l)
l
- listener to remove.protected void notifyChangeListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |