|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.event.MouseMotionAdapter com.alee.laf.list.ListRolloverSelectionAdapter
public class ListRolloverSelectionAdapter
This adapter allows you to install (and uninstall if needed) select-on-rollover behavior into any JList without any additional coding.
Constructor Summary | |
---|---|
ListRolloverSelectionAdapter(javax.swing.JList list)
Constructs rollover selection adapter for the specified list. |
Method Summary | |
---|---|
static ListRolloverSelectionAdapter |
install(javax.swing.JList list)
Installs rollover selection adapter into list and ensures that it is the only one installed. |
static boolean |
isInstalled(javax.swing.JList list)
Returns whether the specified list has any rollover selection adapters installed or not. |
void |
mouseMoved(java.awt.event.MouseEvent e)
Performs selection change on rollover. |
static void |
uninstall(javax.swing.JList list)
Uninstalls all rollover selection adapters from the specified list. |
Methods inherited from class java.awt.event.MouseMotionAdapter |
---|
mouseDragged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListRolloverSelectionAdapter(javax.swing.JList list)
list
- list into which this adapter is installedMethod Detail |
---|
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
mouseMoved
in class java.awt.event.MouseMotionAdapter
e
- mouse eventpublic static ListRolloverSelectionAdapter install(javax.swing.JList list)
list
- list to modify
public static void uninstall(javax.swing.JList list)
list
- list to modifypublic static boolean isInstalled(javax.swing.JList list)
list
- list to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |