|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.ThreadSwitch
public abstract class ThreadSwitch
Embeds the logic to post events on a separate thread so that PVManager can appropriately redirect the notifications.
Constructor Summary | |
---|---|
ThreadSwitch()
|
Method Summary | |
---|---|
static ThreadSwitch |
onSwingEDT()
Tells the PV manager to notify on the Swing Event Dispatch Thread using SwingUtilities.invokeLater(). |
static ThreadSwitch |
onTimerThread()
Tells the PV manager to notify on the timer thread. |
abstract void |
post(java.lang.Runnable run)
Post the given task to the notification thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadSwitch()
Method Detail |
---|
public static ThreadSwitch onSwingEDT()
public static ThreadSwitch onTimerThread()
public abstract void post(java.lang.Runnable run)
run
- a new task
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |