com.alee.extended.progress
Enum StepSelectionMode

java.lang.Object
  extended by java.lang.Enum<StepSelectionMode>
      extended by com.alee.extended.progress.StepSelectionMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StepSelectionMode>

public enum StepSelectionMode
extends java.lang.Enum<StepSelectionMode>

This enumeration represents possible selection modes of WebStepProgress component.

Author:
Mikle Garin
See Also:
How to use WebStepProgress, WebStepProgress

Enum Constant Summary
progress
          Steps and progress selection mode.
step
          Steps only selection mode.
 
Method Summary
static StepSelectionMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StepSelectionMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

step

public static final StepSelectionMode step
Steps only selection mode. Allows to select steps only. Used by default.


progress

public static final StepSelectionMode progress
Steps and progress selection mode. Allows to select both steps and progress.

Method Detail

values

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

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

valueOf

public static StepSelectionMode valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null