|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.ruleset.LevelTagTable com.isti.trinetwatch.ruleset.StatusLevelTable
Class StatusLevelTable manages a table of StatusLevelTag objects.
Field Summary |
Fields inherited from class com.isti.trinetwatch.ruleset.LevelTagTable |
hTable, levelTagArray, LT_ARRAY_SIZE, maxTagValue, minTagValue |
Constructor Summary | |
StatusLevelTable()
|
Method Summary | |
boolean |
add(StatusLevelTag lTag)
Adds StatusLevelTag object to table. |
boolean |
containsValue(StatusLevelTag lTag)
Returns true if the specified StatusLevelTag object exists in the table. |
static StatusLevelTable |
decodeFormattedString(java.lang.String str)
Decodes an ASCII formatted string into a new table of StatusLevelTag objects. |
StatusLevelTag |
get(int num)
Returns StatusLevelTag object associated with the given numeric value. |
StatusLevelTag |
get(java.lang.String str)
Returns StatusLevelTag object associated with the given key. |
StatusLevelTag |
remove(int num)
Removes StatusLevelTag object associated with the given numeric value. |
StatusLevelTag |
remove(java.lang.String str)
Removes StatusLevelTag object associated with the given key. |
Methods inherited from class com.isti.trinetwatch.ruleset.LevelTagTable |
add, addLevelTag, clear, containsKey, containsValue, elements, encodeFormattedString, getMaxTagValue, getMinTagValue, getTableSyncObj, getTag, getTag, getTagColorObj, getTagSymbolChar, getValuesVector, removeTag, removeTag, removeTag, size, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StatusLevelTable()
Method Detail |
public boolean add(StatusLevelTag lTag)
public StatusLevelTag get(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the desired StatusLevelTag object.
public StatusLevelTag get(int num)
num
- a number matching the contents of the 'value' field
of the desired StatusLevelTag object.
public StatusLevelTag remove(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the StatusLevelTag object to be removed.
public StatusLevelTag remove(int num)
num
- a number matching the contents of the 'value' field
of the StatusLevelTag object to be removed.
public boolean containsValue(StatusLevelTag lTag)
public static StatusLevelTable decodeFormattedString(java.lang.String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |