public class ContextMenuActionVisibilityDialog extends ContextMenuAction
VisibilityDialog
and apply the results on the table.mAdapter
Constructor and Description |
---|
ContextMenuActionVisibilityDialog() |
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 visibility dialog is opened initialised with the current model and visibility of the table.
|
actionPerformed, initialize, run
public String getKennung()
ContextMenuAction
TableContextMenu
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 ContextMenuAction
public boolean isEnabled()
ContextMenuAction
TableContextMenu
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 ContextMenuAction
true
public void performAction() throws IllegalStateException
The table returned by ContextMenuAdapter.getTable()
must be a SortingTable
.
performAction
in class ContextMenuAction
IllegalStateException
- if the table does not (yet) reside in a Frame
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.