|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.ui.MenuType
Enumeration of menu types used by the framework
Field Summary | |
private static MenuType[] |
ALL
Collection with all menu types |
static MenuType |
MAIN
type: MAIN |
static MenuType |
NONE
type: NONE |
private static long |
serialVersionUID
Serial Version UID |
static MenuType |
SIDEBAR
type: SIDEBAR |
static MenuType |
TOOLS
type: TOOLS |
private java.lang.String |
type
The internal type |
Constructor Summary | |
private |
MenuType(java.lang.String type)
Constructor for MenuType |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
int |
hashCode()
|
static MenuType |
parse(java.lang.String code)
Creates for the argument an object of type MenuType |
java.lang.String |
toString()
Returns a string representation for the object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final MenuType NONE
public static final MenuType MAIN
public static final MenuType TOOLS
public static final MenuType SIDEBAR
private java.lang.String type
private static final MenuType[] ALL
Constructor Detail |
private MenuType(java.lang.String type)
type
- The menu typeMethod Detail |
public boolean equals(java.lang.Object obj)
obj
- The object to compare this MenuType
object against.
true
if the internal types are equal;
false
otherwise.public int hashCode()
Object.hashCode()
public static MenuType parse(java.lang.String code)
code
- String to parse
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |