|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.ruleset.LevelTag com.isti.trinetwatch.ruleset.UsageLevelTag
public class UsageLevelTag
Class UsageLevelTag defines tag objects which represent usage levels.
Field Summary | |
---|---|
static java.lang.String |
OFF_TAG_STR
Name for "Off" usage level. |
static java.lang.String |
UNDEFINED_TAG_STR
Name for "Undefined" usage level. |
Constructor Summary | |
---|---|
UsageLevelTag(LevelTag lTagObj)
Creates a UsageLevelTag object from an existing LevelTag object. |
|
UsageLevelTag(java.lang.String name,
int value,
int colorRGB,
java.lang.String description)
Creates a UsageLevelTag object. |
Method Summary | |
---|---|
static UsageLevelTag |
decodeFormattedString(java.lang.String str)
Decodes an ASCII formatted string into a new object. |
static UsageLevelTag |
getUndefinedUsageTag()
Returns the usage level object associated with "Undefined" usage. |
static void |
setUndefinedUsageTag(UsageLevelTag tagObj)
Sets the usage level object associated with "Undefined" usage. |
Methods inherited from class com.isti.trinetwatch.ruleset.LevelTag |
---|
compareTo, compareTo, decodeFormattedLTagString, encodeFormattedString, equals, equalsIgnoreCase, equalsName, equalsName, equalsNum, getColorRGB, getDescription, getDisplayString, getName, getParsePos, getValue, hashCode, setParsePos, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OFF_TAG_STR
public static final java.lang.String UNDEFINED_TAG_STR
Constructor Detail |
---|
public UsageLevelTag(java.lang.String name, int value, int colorRGB, java.lang.String description)
name
- usage level tag name;value
- numeric value for level.colorRGB
- combined RGB color value for level, consisting of
the red component in bits 16-23, the green component in bits 8-15,
and the blue component in bits 0-7 (same as java.awt.Color).description
- description of level.public UsageLevelTag(LevelTag lTagObj)
Method Detail |
---|
public static UsageLevelTag decodeFormattedString(java.lang.String str)
public static UsageLevelTag getUndefinedUsageTag()
public static void setUndefinedUsageTag(UsageLevelTag tagObj)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |