ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.gui.wizard
Enum NavMode

java.lang.Object
  extended by java.lang.Enum<NavMode>
      extended by com.ehsbe.commons.gui.wizard.NavMode
All Implemented Interfaces:
Serializable, Comparable<NavMode>

public enum NavMode
extends Enum<NavMode>

Navigation modes supported by Wizards.

Version:
$Revision: 484 $
Author:
Jens Elkner

Enum Constant Summary
BACK
          Indicate that one may go back to the previous page.
CANCEL
          Indicate that one may cancel the wizard.
FINISH
          Indicate that one may finish the wizard.
FORWARD
          Indicate that one may go to the next page.
HELP
          Indicate that help for the currently shown page is available.
 
Method Summary
static NavMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NavMode[] 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

HELP

public static final NavMode HELP
Indicate that help for the currently shown page is available.


BACK

public static final NavMode BACK
Indicate that one may go back to the previous page.


FORWARD

public static final NavMode FORWARD
Indicate that one may go to the next page.


CANCEL

public static final NavMode CANCEL
Indicate that one may cancel the wizard.


FINISH

public static final NavMode FINISH
Indicate that one may finish the wizard.

Method Detail

values

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

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

valueOf

public static NavMode 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

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.