|
||||||||||
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<AccuracyScorerNodeModel>
org.knime.base.node.mine.scorer.accuracy.AccuracyScorerNodeView
final class AccuracyScorerNodeView
This view displays the scoring results. It needs to be hooked up with a scoring model.
Field Summary |
---|
Fields inherited from class org.knime.core.node.NodeView |
---|
COLOR_BACKGROUND, PROP_CHANGE_CLOSE |
Constructor Summary | |
---|---|
AccuracyScorerNodeView(AccuracyScorerNodeModel nodeModel)
Creates a new ScorerNodeView displaying the table with the score. |
Method Summary | |
---|---|
(package private) Collection<JMenuItem> |
createHiLiteMenuItems()
Helper function to create new JMenuItems that are in the hilite menu. |
protected AccuracyScorerNodeModel |
getNodeModel()
Get reference to underlying NodeModel , never null. |
void |
hiLite(KeyEvent event)
Invoked when some item(s) were hilit. |
void |
modelChanged()
Method is invoked when the underlying NodeModel has
changed. |
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)
Checks for all hilit cells the model. |
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 AccuracyScorerNodeView(AccuracyScorerNodeModel nodeModel)
nodeModel
- the underlying NodeModel
Method Detail |
---|
public void modelChanged()
NodeModel
has
changed. Also the HiLightHandler have changed. Note, the
NodeModel
content may be not available. Be sure to
modify GUI components in the EventDispatchThread only.
modelChanged
in class AbstractNodeView<AccuracyScorerNodeModel>
protected void onClose()
HiLiteListeners
. Dispose internal members. NodeModel
onClose
in class NodeView<AccuracyScorerNodeModel>
protected void onOpen()
onOpen
in class NodeView<AccuracyScorerNodeModel>
Collection<JMenuItem> createHiLiteMenuItems()
public void hiLite(KeyEvent event)
hiLite
in interface HiLiteListener
event
- contains a list of row keys that were hilitprotected AccuracyScorerNodeModel getNodeModel()
NodeModel
, never null.
getNodeModel
in class AbstractNodeView<AccuracyScorerNodeModel>
public 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 unhilit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |