|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgcspy.vis.utils.Utils
public class Utils
General GUI-related utilities
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static int |
getMouseButton(java.awt.event.MouseEvent e)
Which mouse button was pressed? |
static boolean |
isAltPressed(java.awt.event.MouseEvent e)
Is the alt key pressed |
static boolean |
isCtrlPressed(java.awt.event.MouseEvent e)
Is the control key pressed |
static boolean |
isShiftPressed(java.awt.event.MouseEvent e)
Is the shift key pressed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static int getMouseButton(java.awt.event.MouseEvent e)
e - The mouse event
public static boolean isShiftPressed(java.awt.event.MouseEvent e)
e - The mouse event
public static boolean isCtrlPressed(java.awt.event.MouseEvent e)
e - The mouse event
public static boolean isAltPressed(java.awt.event.MouseEvent e)
e - The mouse event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||