public final class NodeDialog extends Object
Constructor and Description |
---|
NodeDialog(NodeDialogPane pane,
NodeContainer nc)
Creates a new dialog which is used for the stand-alone application in
order to view the
NodeDialogPane . |
Modifier and Type | Method and Description |
---|---|
(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.
|
public NodeDialog(NodeDialogPane pane, NodeContainer nc)
NodeDialogPane
.pane
- this dialog's underlying panenc
- the underlying nodepublic 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()
KNIME GmbH, Konstanz, Germany
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.