|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--portlets.compoze.groupware.mail.Flag
This class represents a flag.
Field Summary | |
static Flag |
CLEAR_FLAG
This value represents 'clear flag'. |
static int |
COLOR_RED
This represents the 'red' color. |
static int |
COLOR_WHITE
This represents the 'white' color. |
static Flag |
COMPLETE
This value represents 'complete'. |
static Flag |
EMPTY
This value represents 'empty'. |
static Flag |
FOLLOW_UP
This value represents 'follow up'. |
static Flag |
FOR_YOUR_INFORMATION
This value represents 'for your information'. |
static Flag |
FORWARD
This value represents 'forward'. |
static Flag |
NO_RESPONSE_NECESSARY
This value represents 'no response necessary'. |
static Flag |
READ
This value represents 'read'. |
static Flag |
REPLY
This value represents 'reply'. |
static Flag |
REVIEW
This value represents 'review'. |
static int |
VALUE_CLEAR_FLAG
This value represents 'clear flag'. |
static int |
VALUE_COMPLETE
This value represents 'complete'. |
static int |
VALUE_EMPTY
This value represents 'empty'. |
static int |
VALUE_FOLLOW_UP
This value represents 'follow up'. |
static int |
VALUE_FOR_YOUR_INFORMATION
This value represents 'for your information'. |
static int |
VALUE_FORWARD
This value represents 'forward'. |
static int |
VALUE_NO_RESPONSE_NECESSARY
This value represents 'no response necessary'. |
static int |
VALUE_READ
This value represents 'read'. |
static int |
VALUE_REPLY
This value represents 'reply'. |
static int |
VALUE_REPLY_TO_ALL
This value represents 'reply to all'. |
static int |
VALUE_REVIEW
This value represents 'review'. |
Constructor Summary | |
Flag(java.lang.String sFlagText,
int iColor)
Constructor. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static Flag |
get(int iValue)
Gets the flag by the value. |
int |
getColor()
Gets the color of the flag. |
static java.util.List |
getFlags()
Gets the list of flag objects. |
java.lang.String |
getKey()
Gets the key (message name) for i18n. |
java.lang.String |
getText()
Gets the flag text. |
int |
getValue()
Gets the value of the flag. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COLOR_RED
public static final int COLOR_WHITE
public static final int VALUE_EMPTY
public static final int VALUE_FOLLOW_UP
public static final int VALUE_FOR_YOUR_INFORMATION
public static final int VALUE_FORWARD
public static final int VALUE_NO_RESPONSE_NECESSARY
public static final int VALUE_REVIEW
public static final int VALUE_REPLY_TO_ALL
public static final int VALUE_READ
public static final int VALUE_REPLY
public static final int VALUE_COMPLETE
public static final int VALUE_CLEAR_FLAG
public static final Flag EMPTY
public static final Flag FOLLOW_UP
public static final Flag FOR_YOUR_INFORMATION
public static final Flag FORWARD
public static final Flag NO_RESPONSE_NECESSARY
public static final Flag REVIEW
public static final Flag REPLY
public static final Flag READ
public static final Flag COMPLETE
public static final Flag CLEAR_FLAG
Constructor Detail |
public Flag(java.lang.String sFlagText, int iColor)
sName
- the name of the flag (may not be null
or empty)iColor
- the color (see COLOR_
constants)Method Detail |
public java.lang.String getKey()
public java.lang.String getText()
public int getValue()
VALUE_
constants)public int getColor()
COLOR_
constants)public static Flag get(int iValue)
iValue
- the value to get bynull
if not foundpublic static java.util.List getFlags()
Flag
objects (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to checktrue
if this object has the same value as the argument; false
otherwisegetValue()
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |