Enum Class Completion.Mode

java.lang.Object
java.lang.Enum<Completion.Mode>
is.codion.swing.common.ui.component.combobox.Completion.Mode
All Implemented Interfaces:
Serializable, Comparable<Completion.Mode>, Constable
Enclosing class:
Completion

public static enum Completion.Mode extends Enum<Completion.Mode>
The available completion modes.
  • Enum Constant Details

    • MAXIMUM_MATCH

      public static final Completion.Mode MAXIMUM_MATCH
      Identifies the completion mode MaximumMatch
    • AUTOCOMPLETE

      public static final Completion.Mode AUTOCOMPLETE
      Identifies the completion mode AutoCompletion
    • NONE

      public static final Completion.Mode NONE
      Identifies the no completion mode
  • Method Details

    • values

      public static Completion.Mode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Completion.Mode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null