org.opengts.war.track.page
Enum TopMenu.MenuType
java.lang.Object
java.lang.Enum<TopMenu.MenuType>
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
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 |
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
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>