| Package | Description |
|---|---|
| com.biomatters.geneious.publicapi.components |
Provides useful GUI (graphical user interface) components, none of which
are necessary for creating a plugin, but many plugin implentations
will find these components useful.
|
| Modifier and Type | Field and Description |
|---|---|
static Dialogs.DialogAction |
Dialogs.CANCEL
An action with "Cancel" as its label.
|
static Dialogs.DialogAction |
Dialogs.CONTINUE
An action with "Continue" as its label.
|
static Dialogs.DialogAction[] |
Dialogs.CONTINUE_CANCEL
Use this to specify that a dialog should have "Continue" and "Cancel" buttons.
|
static Dialogs.DialogAction |
Dialogs.NO
An action with "No" as its label.
|
static Dialogs.DialogAction |
Dialogs.OK
An action with "OK" as its label.
|
static Dialogs.DialogAction[] |
Dialogs.OK_CANCEL
Use this to specify that a dialog should have "OK" and "Cancel" buttons.
|
static Dialogs.DialogAction[] |
Dialogs.OK_ONLY
Use this to specify that a dialog should have just an "OK" button.
|
static Dialogs.DialogAction |
Dialogs.YES
An action with "Yes" as its label.
|
static Dialogs.DialogAction[] |
Dialogs.YES_NO
Use this to specify that a dialog should have "Yes" and "No" buttons.
|
static Dialogs.DialogAction[] |
Dialogs.YES_NO_CANCEL
Use this to specify that a dialog should have "Yes", "No" and "Cancel" buttons.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dialogs.DialogOptions.setCancelButton(Dialogs.DialogAction cancelButton)
Set the button which is treated as a cancel button.
|
void |
Dialogs.DialogOptions.setCloseAction(Dialogs.DialogAction closeAction)
Sets the action associated with clicking the windows's close button (the X in the top-right hand corner of the window in Windows).
|
void |
Dialogs.DialogOptions.setDefaultButton(Dialogs.DialogAction defaultButton)
Set the button which is the dialogs default button.
|
| Constructor and Description |
|---|
Dialogs.DialogOptions(Dialogs.DialogAction[] buttons,
String title) |
Dialogs.DialogOptions(Dialogs.DialogAction[] buttons,
String title,
Component owner) |
Dialogs.DialogOptions(Dialogs.DialogAction[] buttons,
String title,
Component owner,
Dialogs.DialogIcon dialogIcon) |
Dialogs.DialogOptions(Dialogs.DialogOptions source,
Dialogs.DialogAction okAction,
Dialogs.DialogAction cancelAction)
contstructs a new DialogOptions based on the given source.
WARNING: this is a shallow copy, rather than a deep copy |