|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alee.utils.CoreSwingUtils
public class CoreSwingUtils
Constructor Summary | |
---|---|
CoreSwingUtils()
|
Method Summary | |
---|---|
static java.awt.Window |
getWindowAncestor(java.awt.Component component)
Returns window ancestor for specified component or null if it doesn't exist. |
static void |
invokeAndWait(java.lang.Runnable runnable)
Will invoke the specified action in EDT in case it is called from non-EDT thread. |
static void |
invokeAndWaitSafely(java.lang.Runnable runnable)
Will invoke the specified action in EDT in case it is called from non-EDT thread. |
static void |
invokeLater(java.lang.Runnable runnable)
Will invoke the specified action later in EDT in case it is called from non-EDT thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoreSwingUtils()
Method Detail |
---|
public static java.awt.Window getWindowAncestor(java.awt.Component component)
component
- component to process
public static void invokeLater(java.lang.Runnable runnable)
runnable
- runnablepublic static void invokeAndWait(java.lang.Runnable runnable) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
runnable
- runnable
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
public static void invokeAndWaitSafely(java.lang.Runnable runnable)
runnable
- runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |