public class ContextMenuActionResetColumns extends ContextMenuAction
SortingTable we make all columns visible first.mAdapter| Constructor and Description |
|---|
ContextMenuActionResetColumns() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKennung()
An identifier for this context menu action.
|
boolean |
isEnabled()
This action is always enabled since it is too difficult to find out when we really need it.
|
void |
performAction()
Reorder the table columns to the original ordering.
|
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()
isEnabled in class ContextMenuActiontrue if this action is able to executepublic void performAction()
ContextMenuAdapter.getTable() is a SortingTable
we make all columns visible first.performAction in class ContextMenuActionCopyright © 2017 Jürgen Zeller (privat). All rights reserved.