public class FwkDialogFactory extends Fwk
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
Modifier and Type | Method and Description |
---|---|
static FwkDialog |
create(java.awt.Component parent,
java.lang.String title,
boolean modal,
FwkDialogPaneInterface[] pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Creates and returns a new dialog containing the specified
chooser pane along with "OK", "Cancel", and "Reset" buttons.
|
static FwkDialog |
create(java.awt.Component parent,
java.lang.String title,
boolean modal,
FwkDialogPaneInterface pane,
int hqsType,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Creates and returns a new dialog containing the specified
chooser pane along with "OK", "Cancel", and "Reset" buttons.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
static FwkDialogPaneValueInterface[] |
showDialog(java.awt.Component parent,
java.lang.String title,
FwkDialogPaneInterface[] pane)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface[] |
showDialog(java.awt.Component parent,
java.lang.String title,
FwkDialogPaneInterface[] pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener,
int fronterFreq)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
int hqsType)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
int hqsType,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialogPaneValueInterface |
showDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
int hqsType,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener,
int fronterFreq)
Shows a modal dialog and blocks until the dialog is hidden.
|
static FwkDialog |
showNonModalDialog(java.awt.Component parent,
java.lang.String title,
FwkDialogPaneInterface[] pane)
Shows a non-modal dialog.
|
static FwkDialog |
showNonModalDialog(java.awt.Component parent,
java.lang.String title,
FwkDialogPaneInterface[] pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Shows a non-modal dialog.
|
static FwkDialog |
showNonModalDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane)
Shows a non-modal dialog.
|
static FwkDialog |
showNonModalDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String iconKey,
FwkDialogPaneInterface pane,
java.awt.event.ActionListener okListener,
java.awt.event.ActionListener cancelListener,
java.awt.event.ActionListener closeListener,
java.awt.event.ActionListener resetListener)
Shows a non-modal dialog.
|
getNiceVersion, release
public static final java.lang.String version
public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
getVersion
in class Fwk
public static FwkDialog create(java.awt.Component parent, java.lang.String title, boolean modal, FwkDialogPaneInterface pane, int hqsType, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.modal
- If true the dialog box is modal.pane
- The chooser panel.hqsType
- the HQS panel type (use -1 to ommit hqs panel).okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.public static FwkDialog create(java.awt.Component parent, java.lang.String title, boolean modal, FwkDialogPaneInterface[] pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.modal
- If true the dialog box is modal.pane
- The chooser panel array.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, int hqsType)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.hqsType
- the HQS panel type (use -1 to ommit hqs panel).public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, int hqsType, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.hqsType
- the HQS panel type (use -1 to ommit hqs panel).okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.hqsType
- the HQS panel type (use -1 to ommit hqs panel).public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener, int fronterFreq)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.fronterFreq
- The interval to bring the dialog to the front in ms.public static FwkDialogPaneValueInterface showDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, int hqsType, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener, int fronterFreq)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.hqsType
- the HQS panel type (use -1 to ommit hqs panel).okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.fronterFreq
- The interval to bring the dialog to the front in ms.public static FwkDialogPaneValueInterface[] showDialog(java.awt.Component parent, java.lang.String title, FwkDialogPaneInterface[] pane)
parent
- The parent component.title
- The titel string.pane
- The chooser panel array.public static FwkDialogPaneValueInterface[] showDialog(java.awt.Component parent, java.lang.String title, FwkDialogPaneInterface[] pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.pane
- The chooser panel array.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.public static FwkDialog showNonModalDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.public static FwkDialog showNonModalDialog(java.awt.Component parent, java.lang.String title, java.lang.String iconKey, FwkDialogPaneInterface pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.iconKey
- The name of the icon.pane
- The chooser panel.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.public static FwkDialog showNonModalDialog(java.awt.Component parent, java.lang.String title, FwkDialogPaneInterface[] pane)
parent
- The parent component.title
- The titel string.pane
- The chooser panel array.public static FwkDialog showNonModalDialog(java.awt.Component parent, java.lang.String title, FwkDialogPaneInterface[] pane, java.awt.event.ActionListener okListener, java.awt.event.ActionListener cancelListener, java.awt.event.ActionListener closeListener, java.awt.event.ActionListener resetListener)
parent
- The parent component.title
- The titel string.pane
- The chooser panel array.okListener
- The OK button callback.cancelListener
- The CANCEL callback.closeListener
- The CLOSE callback.resetListener
- The RESET callback.