protected static class DarkTableHeaderUIBridge.Actions
extends sun.swing.UIAction
Modifier and Type | Field and Description |
---|---|
static String |
FOCUS_TABLE
The constant FOCUS_TABLE.
|
static String |
MOVE_COLUMN_LEFT
The constant MOVE_COLUMN_LEFT.
|
static String |
MOVE_COLUMN_RIGHT
The constant MOVE_COLUMN_RIGHT.
|
static String |
RESIZE_LEFT
The constant RESIZE_LEFT.
|
static String |
RESIZE_RIGHT
The constant RESIZE_RIGHT.
|
static String |
SELECT_COLUMN_TO_LEFT
The constant SELECT_COLUMN_TO_LEFT.
|
static String |
SELECT_COLUMN_TO_RIGHT
The constant SELECT_COLUMN_TO_RIGHT.
|
static String |
TOGGLE_SORT_ORDER
The constant TOGGLE_SORT_ORDER.
|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
Actions(String name)
Instantiates a new Actions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object sender)
Accept boolean.
|
void |
actionPerformed(ActionEvent e) |
protected boolean |
maybeMoveColumn(boolean leftArrow,
JTableHeader th,
DarkTableHeaderUIBridge ui,
boolean doIt)
Maybe move column boolean.
|
protected void |
moveColumn(boolean leftArrow,
JTableHeader th,
DarkTableHeaderUIBridge ui)
Move column.
|
protected void |
resize(boolean leftArrow,
JTableHeader th,
DarkTableHeaderUIBridge ui)
Resize.
|
public static final String TOGGLE_SORT_ORDER
public static final String SELECT_COLUMN_TO_LEFT
public static final String SELECT_COLUMN_TO_RIGHT
public static final String MOVE_COLUMN_LEFT
public static final String MOVE_COLUMN_RIGHT
public static final String RESIZE_LEFT
public static final String RESIZE_RIGHT
public static final String FOCUS_TABLE
public Actions(String name)
name
- the namepublic boolean accept(Object sender)
sender
- the senderprotected boolean maybeMoveColumn(boolean leftArrow, JTableHeader th, DarkTableHeaderUIBridge ui, boolean doIt)
leftArrow
- the left arrowth
- the thui
- the uidoIt
- the do itpublic void actionPerformed(ActionEvent e)
protected void moveColumn(boolean leftArrow, JTableHeader th, DarkTableHeaderUIBridge ui)
leftArrow
- the left arrowth
- the thui
- the uiprotected void resize(boolean leftArrow, JTableHeader th, DarkTableHeaderUIBridge ui)
leftArrow
- the left arrowth
- the thui
- the ui