|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fullspan.util.swing.SwingUtil
Static utility methods for Swing user interfaces (this class has a private constructor and cannot be instantiated).
| Method Summary | |
static int |
getClickLocationIndex(javax.swing.JList list,
int x,
int y)
Returns the index of the list element at the given location in the list, or -1 if the location does not correspond to a list item. |
static java.lang.Object |
getClickLocationNode(javax.swing.JList list,
int x,
int y)
Returns the object at the given location in the list, or null if the location does not correspond to a list item. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.lang.Object getClickLocationNode(javax.swing.JList list,
int x,
int y)
list - the list in which to look for the objectx - the x coordinatey - the y coordinate
public static int getClickLocationIndex(javax.swing.JList list,
int x,
int y)
list - the list in which to look for the objectx - the x coordinatey - the y coordinate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||