CycleButton
Observes enabled for CycleButton at the next owner-thread frame cutoff.
Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow CycleButton. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Observes label for CycleButton at the next owner-thread frame cutoff.
Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow CycleButton. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Observes enabled, label for CycleButton at the next owner-thread frame cutoff.
Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow CycleButton. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Emits one finite-option Minecraft-profile CycleButton.
Pointer press, wheel, and focused keyboard input update caller-owned state before emitting the typed cycle action through modifier. Labels are evaluated once for the read-only option snapshot and must be supported by the active profile. The default label uses the display conversion owned by state; an explicit label may instead provide translated or composed text. Label or state-conversion exceptions propagate synchronously before element emission.
Receiver
active owner-thread screen scope.
Parameters
caller-owned finite option state.
fixed logical button width.
whether input and enabled appearance are active.
active layout, input, and typed action behavior.
optional stable sibling identity.
maps each option to its visible unresolved label, defaulting to the state-owned display conversion.
Type Parameters
immutable option type.
Throws
when the scope is unavailable, no profile runtime is active, or the default conversion is evaluated outside the state-owning thread.