public class ListRolloverSelectionAdapter
extends java.awt.event.MouseMotionAdapter
| Constructor and Description |
|---|
ListRolloverSelectionAdapter(javax.swing.JList list)
Constructs rollover selection adapter for the specified list.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public ListRolloverSelectionAdapter(javax.swing.JList list)
list - list into which this adapter is installedpublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved in interface java.awt.event.MouseMotionListenermouseMoved in class java.awt.event.MouseMotionAdaptere - mouse eventpublic static ListRolloverSelectionAdapter install(javax.swing.JList list)
list - list to modifypublic static void uninstall(javax.swing.JList list)
list - list to modifypublic static boolean isInstalled(javax.swing.JList list)
list - list to process