chooser
Enum BindingChooser.IndentStyle

java.lang.Object
  extended by java.lang.Enum<BindingChooser.IndentStyle>
      extended by chooser.BindingChooser.IndentStyle
All Implemented Interfaces:
Serializable, Comparable<BindingChooser.IndentStyle>
Enclosing class:
BindingChooser

public static enum BindingChooser.IndentStyle
extends Enum<BindingChooser.IndentStyle>

Supported appearances of the indent field, which includes:
NONE- No actions are taken to change the indent field's appearance.
EMPTY- Indent field is set to be invisible (effectively removing it from the display).
SPACER- Blank field that occupies its currently set dimensions.
TYPE- Displays Unicode arrows according to the shortcut's event type (down for KEY_PRESSED, up for KEY_RELEASED, bidirectional for KEY_TYPED, and an 'X' if disabled).
INDEX- Displays the field's index from the top (starting with one).


Enum Constant Summary
EMPTY
           
INDEX
           
NONE
           
SPACER
           
TYPE
           
 
Method Summary
static BindingChooser.IndentStyle fromString(String str)
          Returns the enum representation of a string.
 String toString()
           
static BindingChooser.IndentStyle valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BindingChooser.IndentStyle[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final BindingChooser.IndentStyle NONE

EMPTY

public static final BindingChooser.IndentStyle EMPTY

SPACER

public static final BindingChooser.IndentStyle SPACER

TYPE

public static final BindingChooser.IndentStyle TYPE

INDEX

public static final BindingChooser.IndentStyle INDEX
Method Detail

values

public static BindingChooser.IndentStyle[] 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 (BindingChooser.IndentStyle c : BindingChooser.IndentStyle.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BindingChooser.IndentStyle 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

fromString

public static BindingChooser.IndentStyle fromString(String str)
Returns the enum representation of a string. This is case sensitive.

Parameters:
str - toString representation of this enum
Returns:
enum associated with a string
Throws:
IllegalArgumentException - if argument is not represented by this enum.

toString

public String toString()
Overrides:
toString in class Enum<BindingChooser.IndentStyle>