com.sage.swt.client.widget
Enum NavigatorPanelLevel

java.lang.Object
  extended by java.lang.Enum<NavigatorPanelLevel>
      extended by com.sage.swt.client.widget.NavigatorPanelLevel
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NavigatorPanelLevel>

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

List of possible panel levels for the navigator.


Enum Constant Summary
PRIMARY
           
SECONDARY
           
TERTIARY
           
 
Method Summary
static NavigatorPanelLevel fromValue(java.lang.String value)
          Gets the appropriate navigator panel level given its name.
 java.lang.String getDisplayName()
          Gets the display name associated with the navigator panel level.
 java.lang.String getValue()
          Gets the string value for the navigator panel level.
static NavigatorPanelLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NavigatorPanelLevel[] 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

PRIMARY

public static final NavigatorPanelLevel PRIMARY

SECONDARY

public static final NavigatorPanelLevel SECONDARY

TERTIARY

public static final NavigatorPanelLevel TERTIARY
Method Detail

values

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

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

valueOf

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

getDisplayName

public java.lang.String getDisplayName()
Gets the display name associated with the navigator panel level.

Returns:
The navigator panel level's name.

getValue

public java.lang.String getValue()
Gets the string value for the navigator panel level.

Returns:
The string value for the navigator panel level.

fromValue

public static NavigatorPanelLevel fromValue(java.lang.String value)
Gets the appropriate navigator panel level given its name.

Parameters:
value - The string equivalent value of the navigator panel level.
Returns:
The navigator panel level whose value is the one specified.
Throws:
java.lang.NullPointerException - The name is null
java.lang.IllegalArgumentException - The name does not correspond to a menu type.


Copyright © 2011 Sage Software, Inc. All rights reserved.