Interface Context

All Known Implementing Classes:
ContextImpl

public interface Context
  • Method Details

    • create

      static Context create()
    • checkThread

      void checkThread()
      Checks that the current thread is the context's UI thread.
    • ffiEngine

      FFILayoutEngine ffiEngine()
    • newVariable

      default Variable newVariable()
    • newVarRect

      default VarRect newVarRect()
    • submitImmediateEvent

      void submitImmediateEvent(Runnable event)
      Submits an event to the UI thread for "immediate" execution.
    • processEvents

      void processEvents()
    • mountChildImmediately

      void mountChildImmediately(@Nullable @Nullable Element parent, @NotNull @NotNull Element child)
    • unmountChildImmediately

      void unmountChildImmediately(@Nullable @Nullable Element parent, @NotNull @NotNull Element child)
    • mountChild

      default void mountChild(@Nullable @Nullable Element parent, @NotNull @NotNull Element child)
      Mounts the child with the given parent.
      Parameters:
      parent -
      child -
    • unmountChild

      default void unmountChild(@Nullable @Nullable Element parent, @NotNull @NotNull Element child)