Enum MultiThumbSlider.Collision

    • Enum Constant Detail

      • NUDGE_OTHER

        public static final MultiThumbSlider.Collision NUDGE_OTHER
        When the user drags one thumb and it collides with another, nudge the other thumb as far as possible.
      • JUMP_OVER_OTHER

        public static final MultiThumbSlider.Collision JUMP_OVER_OTHER
        When the user drags one thumb and it collides with another, skip over the other thumb.
      • STOP_AGAINST

        public static final MultiThumbSlider.Collision STOP_AGAINST
        When the user drags one thumb and it collides with another, bump into the other thumb and don't allow any more movement.
    • Method Detail

      • values

        public static MultiThumbSlider.Collision[] 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 (MultiThumbSlider.Collision c : MultiThumbSlider.Collision.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static MultiThumbSlider.Collision 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