|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.common.ButtonMode
Defines button states used by the common controls framework
Field Summary | |
private static ButtonMode[] |
ALL
Collection with all kinds of button states |
static ButtonMode |
DISABLED
CheckState: DISABLED |
static ButtonMode |
ENABLED
CheckState: ENABLED |
static ButtonMode |
HIDDEN
CheckState: INVISIBLE |
private int |
intValue
Unique Identifier / key / type |
private static long |
serialVersionUID
Serial Version UID |
private java.lang.String |
strValue
Display value / nice name |
Constructor Summary | |
private |
ButtonMode(int intValue,
java.lang.String strValue)
Constructor |
Method Summary | |
boolean |
equals(int other)
Compares this button state to the specified integer. |
boolean |
equals(java.lang.Object obj)
Compares this button state to the given object. |
java.lang.String |
getValue()
|
int |
hashCode()
|
int |
intValue()
|
static ButtonMode |
parse(java.lang.Object obj)
Creates for the argument an Object of type ButtonMode |
static ButtonMode |
parseInt(int i)
Creates for the argument an Object of type ButtonMode |
java.lang.String |
toString()
|
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 ButtonMode DISABLED
public static final ButtonMode ENABLED
public static final ButtonMode HIDDEN
private int intValue
private java.lang.String strValue
private static final ButtonMode[] ALL
Constructor Detail |
private ButtonMode(int intValue, java.lang.String strValue)
intValue
- The keystrValue
- The value / nice nameMethod Detail |
public int intValue()
public java.lang.String getValue()
public boolean equals(java.lang.Object obj)
obj
- The object to compare this ButtonMode
against.
true
if the button states
are
equal; false
otherwise.public int hashCode()
Object.hashCode()
public boolean equals(int other)
other
- The integer to compare this ButtonMode
against.
true
if the button states
are
equal; false
otherwise.public static ButtonMode parseInt(int i)
i
- Integer to parse
public static ButtonMode parse(java.lang.Object obj)
obj
- Object to parse
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |