|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.virtuosotechnologies.lib.swing.SwingUtils
Various utilities for swing.
| Method Summary | |
static KeyStroke |
buildAcceleratorKeyStroke(String spec)
Build an accelerator keystroke. |
static JDialog |
createJDialog(JComponent parent,
String title,
boolean modal)
Create a new JDialog. |
static int |
getIndexOfComponent(Container container,
Component component)
Get the index of the given component in the given container. |
static boolean |
invokeOnSwingThread(Runnable job)
Invoke a job on the awt/swing event thread. |
static void |
invokeOnSwingThreadAsync(Runnable job)
Invoke a job on the awt/swing event thread. |
static boolean |
invokeOnSwingThreadSync(Runnable job)
Invoke a job on the awt/swing event thread and wait until it is complete. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static boolean invokeOnSwingThread(Runnable job)
job - Runnable job
public static void invokeOnSwingThreadAsync(Runnable job)
job - Runnable jobpublic static boolean invokeOnSwingThreadSync(Runnable job)
job - Runnable job
public static int getIndexOfComponent(Container container,
Component component)
container - container to searchcomponent - component to look for
public static JDialog createJDialog(JComponent parent,
String title,
boolean modal)
public static KeyStroke buildAcceleratorKeyStroke(String spec)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||