Interface ModalComponent<M extends Mode>

    • Field Detail

      • MODE_PROPERTY

        static final java.lang.String MODE_PROPERTY
        The bound property of the mode.
    • Method Detail

      • getMode

        M getMode()
        Returns:
        The current mode of interaction, or null if the component is in a modeless state.
      • setMode

        void setMode​(M newMode)
        Sets the mode of interaction. This is a bound property.
        Parameters:
        newMode - The new mode of component interaction.
        See Also:
        MODE_PROPERTY