Class BasicXListUI.Handler
java.lang.Object
org.jdesktop.swingx.plaf.basic.core.BasicXListUI.Handler
- All Implemented Interfaces:
FocusListener, KeyListener, MouseListener, MouseMotionListener, PropertyChangeListener, EventListener, ListDataListener, ListSelectionListener, MouseInputListener, DragRecognitionSupport.BeforeDrag
- Enclosing class:
BasicXListUI
private class BasicXListUI.Handler
extends Object
implements FocusListener, KeyListener, ListDataListener, ListSelectionListener, MouseInputListener, PropertyChangeListener, DragRecognitionSupport.BeforeDrag
- Version:
- 1.127 12/02/08
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidvoidvoidvoidvoidvoidprivate booleanisNavigationKey(KeyEvent event) Returns whether or not the supplied key event maps to a key that is used for navigation.voidInvoked when a key has been pressed.voidInvoked when a key has been released.voidInvoked when a key has been typed.voidvoidvoidvoidvoidvoidvoidvoidprotected voidprivate voidvoid
-
Field Details
-
prefix
-
typedString
-
lastTime
private long lastTime -
dragPressDidSelection
private boolean dragPressDidSelection
-
-
Constructor Details
-
Handler
private Handler()
-
-
Method Details
-
keyTyped
Invoked when a key has been typed. Moves the keyboard focus to the first element whose prefix matches the sequence of alphanumeric keys pressed by the user with delay less than value oftimeFactorproperty (or 1000 milliseconds if it is not defined). Subsequent same key presses move the keyboard focus to the next object that starts with the same letter until another key is pressed, then it is treated as the prefix with appropriate number of the same letters followed by first typed anothe letter.- Specified by:
keyTypedin interfaceKeyListener
-
keyPressed
Invoked when a key has been pressed. Checks to see if the key event is a navigation key to prevent dispatching these keys for the first letter navigation.- Specified by:
keyPressedin interfaceKeyListener
-
keyReleased
Invoked when a key has been released. See the class description forKeyEventfor a definition of a key released event.- Specified by:
keyReleasedin interfaceKeyListener
-
propertyChange
- Specified by:
propertyChangein interfacePropertyChangeListener
-
repaintDropLocation
-
intervalAdded
- Specified by:
intervalAddedin interfaceListDataListener
-
intervalRemoved
- Specified by:
intervalRemovedin interfaceListDataListener
-
contentsChanged
- Specified by:
contentsChangedin interfaceListDataListener
-
valueChanged
- Specified by:
valueChangedin interfaceListSelectionListener
-
mouseClicked
- Specified by:
mouseClickedin interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEnteredin interfaceMouseListener
-
mouseExited
- Specified by:
mouseExitedin interfaceMouseListener
-
mousePressed
- Specified by:
mousePressedin interfaceMouseListener
-
adjustSelection
-
dragStarting
- Specified by:
dragStartingin interfaceDragRecognitionSupport.BeforeDrag
-
mouseDragged
- Specified by:
mouseDraggedin interfaceMouseMotionListener
-
mouseMoved
- Specified by:
mouseMovedin interfaceMouseMotionListener
-
mouseReleased
- Specified by:
mouseReleasedin interfaceMouseListener
-
repaintCellFocus
protected void repaintCellFocus() -
focusGained
- Specified by:
focusGainedin interfaceFocusListener
-
focusLost
- Specified by:
focusLostin interfaceFocusListener
-