Interface MenuItemSelectable

    • Method Detail

      • getSelectability

        Boolean getSelectability()
        Symmetric accessor which should not generally be used. If you need to know if an instance of MenuItemSelectable is selectable then it is better to use isSelectAllowed().
        Returns:
        true if this item is selectable, false if not, or null if default to its container.
      • setSelectability

        void setSelectability​(Boolean selectability)
        Parameters:
        selectability - true if this item is selectable, false if not, or null to default to the container.
      • isSelected

        boolean isSelected()
        Returns:
        true if selected, otherwise false
      • isSelectAllowed

        boolean isSelectAllowed()
        Returns:
        true if the menu item may be selected.