org.opengts.war.track.page
Enum TopMenu.MenuType

java.lang.Object
  extended by java.lang.Enum<TopMenu.MenuType>
      extended by org.opengts.war.track.page.TopMenu.MenuType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TopMenu.MenuType>, EnumTools.IntValue, EnumTools.StringValue
Enclosing class:
TopMenu

public static enum TopMenu.MenuType
extends java.lang.Enum<TopMenu.MenuType>
implements EnumTools.IntValue, EnumTools.StringValue


Enum Constant Summary
BUTTON
           
BUTTON_ICON
           
EXPAND
           
EXPAND_ICON
           
FIXED
           
FIXED_ICON
           
 
Method Summary
 int getIntValue()
           
 java.lang.String getStringValue()
           
 boolean isButton()
           
 boolean isExpandable()
           
 boolean isFixed()
           
 boolean isIcon()
           
 java.lang.String toString()
           
static TopMenu.MenuType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TopMenu.MenuType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FIXED

public static final TopMenu.MenuType FIXED

FIXED_ICON

public static final TopMenu.MenuType FIXED_ICON

EXPAND

public static final TopMenu.MenuType EXPAND

EXPAND_ICON

public static final TopMenu.MenuType EXPAND_ICON

BUTTON

public static final TopMenu.MenuType BUTTON

BUTTON_ICON

public static final TopMenu.MenuType BUTTON_ICON
Method Detail

values

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

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

valueOf

public static TopMenu.MenuType 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

isFixed

public boolean isFixed()

isExpandable

public boolean isExpandable()

isButton

public boolean isButton()

isIcon

public boolean isIcon()

getIntValue

public int getIntValue()
Specified by:
getIntValue in interface EnumTools.IntValue

getStringValue

public java.lang.String getStringValue()
Specified by:
getStringValue in interface EnumTools.StringValue

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<TopMenu.MenuType>