javax.swing.plaf.basic
Class BasicTableUI.NavigationalAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.plaf.basic.BasicTableUI.NavigationalAction
- All Implemented Interfaces:
- Action, ActionListener, Cloneable, EventListener, Serializable
- Direct Known Subclasses:
- BasicTableUI.PagingAction
- Enclosing class:
- BasicTableUI
- private static class BasicTableUI.NavigationalAction
- extends AbstractAction
Method Summary |
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs. |
private int |
clipToRange(int i,
int a,
int b)
|
private int |
compare(int i,
int a,
int b)
|
private int |
compare(int i,
ListSelectionModel sm)
|
private boolean |
moveWithinSelectedRange(JTable table,
int dx,
int dy,
boolean ignoreCarry)
|
private void |
moveWithinTableRange(JTable table,
int dx,
int dy,
boolean changeLead)
|
private int |
selectionSpan(ListSelectionModel sm)
|
dx
protected int dx
dy
protected int dy
toggle
protected boolean toggle
extend
protected boolean extend
inSelection
protected boolean inSelection
anchorRow
protected int anchorRow
anchorColumn
protected int anchorColumn
leadRow
protected int leadRow
leadColumn
protected int leadColumn
BasicTableUI.NavigationalAction
protected BasicTableUI.NavigationalAction(int dx,
int dy,
boolean toggle,
boolean extend,
boolean inSelection)
clipToRange
private int clipToRange(int i,
int a,
int b)
moveWithinTableRange
private void moveWithinTableRange(JTable table,
int dx,
int dy,
boolean changeLead)
selectionSpan
private int selectionSpan(ListSelectionModel sm)
compare
private int compare(int i,
ListSelectionModel sm)
compare
private int compare(int i,
int a,
int b)
moveWithinSelectedRange
private boolean moveWithinSelectedRange(JTable table,
int dx,
int dy,
boolean ignoreCarry)
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from interface:
ActionListener
- Invoked when an action occurs.