|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.core.node.NodeDialog
public final class NodeDialog
The standard node dialog used to display the node dialog pane.
Constructor Summary | |
---|---|
NodeDialog(NodeDialogPane pane,
NodeContainer node)
Creates a new dialog which is used for the stand-alone application in order to view the NodeDialogPane . |
Method Summary | |
---|---|
(package private) void |
closeDialog()
Closes the dialog: visible false and dispose. |
protected boolean |
onApply(AWTEvent event)
Triggered if this dialog's apply button is pressed. |
protected void |
onCancel(AWTEvent event)
Invoked when the cancel button is pressed. |
protected void |
onClose(AWTEvent event)
Invoked if the dialog is going to be closed. |
protected void |
onOK(AWTEvent event)
Invoked when the ok button is pressed - automatically calls the #onApply(AWTEvent) method which must be provided by the
derived class. |
protected void |
onOpen(AWTEvent event)
Invoked if the dialog is going to open. |
void |
openDialog()
Opens the dialog: packed, centered, and visible true. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeDialog(NodeDialogPane pane, NodeContainer node)
NodeDialogPane
.
pane
- this dialog's underlying panenode
- the underlying nodeMethod Detail |
---|
public void openDialog()
protected boolean onApply(AWTEvent event)
event
- The apply button event.
true
if apply was successful, otherwise shows a
warning message in a JOptionPane
.protected void onCancel(AWTEvent event)
event
- The action event of the cancel button.protected void onClose(AWTEvent event)
event
- The event which invokes the close operation.protected void onOpen(AWTEvent event)
event
- The event which invoked to open operation.protected void onOK(AWTEvent event)
#onApply(AWTEvent)
method which must be provided by the
derived class.
event
- The action event of the m_ok button.void closeDialog()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |