Package org.jdesktop.swingx.plaf.basic
Class BasicYListUI.Actions
java.lang.Object
org.jdesktop.swingx.plaf.UIAction
org.jdesktop.swingx.plaf.basic.BasicYListUI.Actions
- All Implemented Interfaces:
ActionListener
,EventListener
,Action
- Direct Known Subclasses:
BasicXListUI.Actions
- Enclosing class:
- BasicYListUI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
protected static final String
Fields inherited from interface javax.swing.Action
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
protected void
adjustScrollPositionIfNecessary
(JList<?> list, int index, int direction) When scroll down makes selected index the last completely visible index.protected void
changeSelection
(JList<?> list, int type, int index, int direction) protected void
clearSelection
(JList<?> list) protected int
getElementCount
(JList<?> list) protected int
getNextColumnIndex
(JList<?> list, BasicYListUI ui, int amount) protected int
getNextIndex
(JList<?> list, BasicYListUI ui, int amount) protected int
getNextPageIndex
(JList<?> list, int direction) protected void
Methods inherited from class org.jdesktop.swingx.plaf.UIAction
addPropertyChangeListener, getName, getValue, isEnabled, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
SELECT_PREVIOUS_COLUMN
- See Also:
-
SELECT_PREVIOUS_COLUMN_EXTEND
- See Also:
-
SELECT_PREVIOUS_COLUMN_CHANGE_LEAD
- See Also:
-
SELECT_NEXT_COLUMN
- See Also:
-
SELECT_NEXT_COLUMN_EXTEND
- See Also:
-
SELECT_NEXT_COLUMN_CHANGE_LEAD
- See Also:
-
SELECT_PREVIOUS_ROW
- See Also:
-
SELECT_PREVIOUS_ROW_EXTEND
- See Also:
-
SELECT_PREVIOUS_ROW_CHANGE_LEAD
- See Also:
-
SELECT_NEXT_ROW
- See Also:
-
SELECT_NEXT_ROW_EXTEND
- See Also:
-
SELECT_NEXT_ROW_CHANGE_LEAD
- See Also:
-
SELECT_FIRST_ROW
- See Also:
-
SELECT_FIRST_ROW_EXTEND
- See Also:
-
SELECT_FIRST_ROW_CHANGE_LEAD
- See Also:
-
SELECT_LAST_ROW
- See Also:
-
SELECT_LAST_ROW_EXTEND
- See Also:
-
SELECT_LAST_ROW_CHANGE_LEAD
- See Also:
-
SCROLL_UP
- See Also:
-
SCROLL_UP_EXTEND
- See Also:
-
SCROLL_UP_CHANGE_LEAD
- See Also:
-
SCROLL_DOWN
- See Also:
-
SCROLL_DOWN_EXTEND
- See Also:
-
SCROLL_DOWN_CHANGE_LEAD
- See Also:
-
SELECT_ALL
- See Also:
-
CLEAR_SELECTION
- See Also:
-
ADD_TO_SELECTION
- See Also:
-
TOGGLE_AND_ANCHOR
- See Also:
-
EXTEND_TO
- See Also:
-
MOVE_SELECTION_TO
- See Also:
-
-
Constructor Details
-
Actions
-
-
Method Details
-
getElementCount
-
actionPerformed
-
accept
-
clearSelection
-
selectAll
-
getNextPageIndex
-
changeSelection
-
adjustScrollPositionIfNecessary
When scroll down makes selected index the last completely visible index. When scroll up makes selected index the first visible index. Adjust visible rectangle respect to list's component orientation. -
getNextColumnIndex
-
getNextIndex
-