Interface ButtonRole

All Known Implementing Classes:
ButtonRole.Ack, ButtonRole.Cancel, ButtonRole.No, ButtonRole.Pick, ButtonRole.Submit, ButtonRole.Yes

@Internal public sealed interface ButtonRole permits ButtonRole.Ack, ButtonRole.Yes, ButtonRole.No, ButtonRole.Submit, ButtonRole.Cancel, ButtonRole.Pick
A button's semantic action, independent of its rendered label.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Acknowledges a notice.
    static final record 
    Ends without an answer.
    static final record 
    Answers a confirmation negatively.
    static final record 
    Selects an option by display position.
    static final record 
    Submits a form.
    static final record 
    Answers a confirmation affirmatively.