|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.AbstractNodeView<T>
org.knime.core.node.NodeView<ClusterNodeModel>
org.knime.base.node.mine.cluster.kmeans.ClusterNodeView
public class ClusterNodeView
Field Summary |
---|
Fields inherited from class org.knime.core.node.NodeView |
---|
COLOR_BACKGROUND, PROP_CHANGE_CLOSE |
Constructor Summary | |
---|---|
ClusterNodeView(ClusterNodeModel nodeModel)
Constructor - set name of view and NodeModel . |
Method Summary | |
---|---|
protected ClusterNodeModel |
getNodeModel()
Get reference to underlying NodeModel , never null. |
void |
hiLite(KeyEvent event)
Invoked when some item(s) were hilit. |
void |
modelChanged()
Update content of view - in this case fill TreeModel of JTree with new information or a message indicating nonexistend or erronous model. |
protected void |
onClose()
Invoked when the window is about to be closed. |
protected void |
onOpen()
Invoked when the window has been opened. |
void |
unHiLite(KeyEvent event)
Invoked when some item(s) were unhilit. |
void |
unHiLiteAll(KeyEvent event)
Invoked, when everything (all rows) are unhilit. |
Methods inherited from class org.knime.core.node.NodeView |
---|
callCloseView, closeView, createFrame, getComponent, getJMenuBar, getViewTitle, isOpen, openViewComponent, setComponent, setShowNODATALabel, setViewTitleSuffix, warningChanged |
Methods inherited from class org.knime.core.node.AbstractNodeView |
---|
getLogger, updateModel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClusterNodeView(ClusterNodeModel nodeModel)
NodeModel
.
nodeModel
- the underlying modelMethod Detail |
---|
protected ClusterNodeModel getNodeModel()
NodeModel
, never null.
getNodeModel
in class AbstractNodeView<ClusterNodeModel>
public void hiLite(KeyEvent event)
hiLite
in interface HiLiteListener
event
- contains a list of row keys that were hilitpublic void unHiLite(KeyEvent event)
unHiLite
in interface HiLiteListener
event
- contains a list of row keys that were unhilitpublic void unHiLiteAll(KeyEvent event)
unHiLiteAll
in interface HiLiteListener
event
- contains a list of row key that were unhilitprotected void onOpen()
onOpen
in class NodeView<ClusterNodeModel>
protected void onClose()
HiLiteListeners
. Dispose internal members. NodeModel
onClose
in class NodeView<ClusterNodeModel>
public final void modelChanged()
modelChanged
in class AbstractNodeView<ClusterNodeModel>
Observer.update(java.util.Observable, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |