Interface Context
- All Known Implementing Classes:
ContextImpl
public interface Context
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Checks that the current thread is the context's UI thread.static Context
create()
default void
mountChild
(@Nullable Element parent, @NotNull Element child) Mounts the child with the given parent.void
mountChildImmediately
(@Nullable Element parent, @NotNull Element child) default Variable
default VarRect
void
void
submitImmediateEvent
(Runnable event) Submits an event to the UI thread for "immediate" execution.default void
unmountChild
(@Nullable Element parent, @NotNull Element child) void
unmountChildImmediately
(@Nullable Element parent, @NotNull Element child)
-
Method Details
-
create
-
checkThread
void checkThread()Checks that the current thread is the context's UI thread. -
ffiEngine
FFILayoutEngine ffiEngine() -
newVariable
-
newVarRect
-
submitImmediateEvent
Submits an event to the UI thread for "immediate" execution. -
processEvents
void processEvents() -
mountChildImmediately
-
unmountChildImmediately
-
mountChild
-
unmountChild
-