Class NativeUiInput.State
java.lang.Object
com.viaversion.viafabricplus.bedrock.screen.ui.NativeUiInput.State
- Enclosing class:
NativeUiInput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondispatch(int source, int phase, NativeUiInput.Context context) Dispatches an Input component without sibling event handlers.dispatch(int source, int phase, NativeUiInput.Context context, Consumer<NativeUiInput.ButtonEvent> handler) Sibling components run before the sender commits its accepted mapping phase.hover(boolean previous, boolean inside, boolean forcedOut, int handlerMask) The caller supplies geometry/control admission; hover_enabled is checked by the native pointer entry, not this handler.voidVisibility callbacks and input-order removal preserve double-press history.intphase(int index) pointer(boolean previous, boolean inside, boolean forcedOut, int handlerMask) voidsuppress(int source, int phase, NativeUiInput.Context context)
-
Constructor Details
-
State
-
-
Method Details
-
phase
public int phase(int index) -
invalidateMappings
public void invalidateMappings()Visibility callbacks and input-order removal preserve double-press history. -
dispatch
Dispatches an Input component without sibling event handlers. -
dispatch
public NativeUiInput.Dispatch dispatch(int source, int phase, NativeUiInput.Context context, Consumer<NativeUiInput.ButtonEvent> handler) Sibling components run before the sender commits its accepted mapping phase. -
hover
public NativeUiInput.Hover hover(boolean previous, boolean inside, boolean forcedOut, int handlerMask) The caller supplies geometry/control admission; hover_enabled is checked by the native pointer entry, not this handler. -
pointer
public NativeUiInput.Pointer pointer(boolean previous, boolean inside, boolean forcedOut, int handlerMask) -
suppress
-