Enum Selectable

    • Enum Constant Detail

      • none

        public static final Selectable none
        Not selectable.
      • multi

        public static final Selectable multi
        Multi selection possible. No other limitations.
      • single

        public static final Selectable single
        Only one item is selectable.
      • singleOrNone

        public static final Selectable singleOrNone
        Only one of no item is selectable.
      • multiLeafOnly

        public static final Selectable multiLeafOnly
        Only leafs are selectable.
      • singleLeafOnly

        public static final Selectable singleLeafOnly
        Only one item is selectable and it must be a leaf.
      • sibling

        public static final Selectable sibling
        Only siblings are selectable.
      • siblingLeafOnly

        public static final Selectable siblingLeafOnly
        Only siblings are selectable and they have to be leafs.
      • multiCascade

        public static final Selectable multiCascade
        Multi selection possible. When selecting or deselecting an item, the subtree will also be selected or unselected.
    • Method Detail

      • values

        public static Selectable[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Selectable c : Selectable.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Selectable valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • isLeafOnly

        public boolean isLeafOnly()
      • isSingle

        public boolean isSingle()
      • isMulti

        public boolean isMulti()
      • isSupportedBySheet

        public boolean isSupportedBySheet()
      • isSupportedByTree

        public boolean isSupportedByTree()
      • isSupportedByTreeListbox

        public boolean isSupportedByTreeListbox()