Enum Class FocusTraversalType

java.lang.Object
java.lang.Enum<FocusTraversalType>
com.jgoodies.forms.util.FocusTraversalType
All Implemented Interfaces:
Serializable, Comparable<FocusTraversalType>, Constable

public enum FocusTraversalType extends Enum<FocusTraversalType>
An abstraction for frequently used focus traversal policy types. Used by the ListViewBuilder and FormBuilder.
Since:
1.9
Version:
$Revision: 1.2 $
  • Enum Constant Details

    • LAYOUT

      public static final FocusTraversalType LAYOUT
      A focus traversal type that shall be turned into a focus traversal policy that is based on the layout, for example LayoutFocusTraversalPolicy or JGLayoutFocusTraversalPolicy.
    • CONTAINER_ORDER

      public static final FocusTraversalType CONTAINER_ORDER
      A focus traversal type that shall be turned into a focus traversal policy that is based on the container order, for example ContainerOrderFocusTraversalPolicy or JGContainerOrderFocusTraversalPolicy.
  • Constructor Details

    • FocusTraversalType

      private FocusTraversalType()
  • Method Details

    • values

      public static FocusTraversalType[] 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 FocusTraversalType 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