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, 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()
isEnabled
in class ContextMenuAction
true
if this action is able to executepublic void performAction()
ContextMenuAdapter.getTable()
is a SortingTable
we make all columns visible first.performAction
in class ContextMenuAction
Copyright © 2017 Jürgen Zeller (privat). All rights reserved.