Class ContextImpl
java.lang.Object
dev.pfaff.altargui.improv.ContextImpl
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks that the current thread is the context's UI thread.void
close()
void
mountChildImmediately
(Element parent, Element child) void
void
submitImmediateEvent
(Runnable event) Submits an event to the UI thread for "immediate" execution.void
unmountChildImmediately
(Element parent, Element child) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.improv.Context
mountChild, newVariable, newVarRect, unmountChild
-
Constructor Details
-
ContextImpl
public ContextImpl()
-
-
Method Details
-
checkThread
public void checkThread()Description copied from interface:Context
Checks that the current thread is the context's UI thread.- Specified by:
checkThread
in interfaceContext
-
ffiEngine
-
submitImmediateEvent
Description copied from interface:Context
Submits an event to the UI thread for "immediate" execution.- Specified by:
submitImmediateEvent
in interfaceContext
-
processEvents
public void processEvents()- Specified by:
processEvents
in interfaceContext
-
mountChildImmediately
- Specified by:
mountChildImmediately
in interfaceContext
-
unmountChildImmediately
- Specified by:
unmountChildImmediately
in interfaceContext
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-