public class ContextMenuActionSortDialog extends ContextMenuAction
SortDialog and apply the results on the SortingTable.mAdapter| Constructor and Description |
|---|
ContextMenuActionSortDialog() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKennung()
An identifier for this context menu action.
|
boolean |
isEnabled()
The
TableContextMenu will call this method just before poping up the menu
in order to enable/disable the menu entries. |
void |
performAction()
The sorting dialog is opened initialized with the current model and sorting of the table.
|
actionPerformed, initialize, runpublic String getKennung()
ContextMenuActionTableContextMenu
to get resource information from the SwingDecorator. The returned identifier
should be prefixed with ContextMenuAdapter.getContextMenuKennung() to ensure uniqueness.
This method must be implemented by child classes.
getKennung in class ContextMenuActionpublic boolean isEnabled()
ContextMenuActionTableContextMenu will call this method just before poping up the menu
in order to enable/disable the menu entries.
All the necessary information is available via ContextMenuAction.mAdapter.
This method must be implemented by child classes.
isEnabled in class ContextMenuActiontruepublic void performAction()
throws IllegalStateException
performAction in class ContextMenuActionIllegalStateException - if the table does not (yet) reside in a FrameCopyright © 2017 Jürgen Zeller (privat). All rights reserved.