|
||||||||||
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.UsageLevelTable
Class UsageLevelTable manages a table of UsageLevelTag objects.
Field Summary |
Fields inherited from class com.isti.trinetwatch.ruleset.LevelTagTable |
hTable, levelTagArray, LT_ARRAY_SIZE, maxTagValue, minTagValue |
Constructor Summary | |
UsageLevelTable()
|
Method Summary | |
boolean |
add(UsageLevelTag lTag)
Adds UsageLevelTag object to table. |
boolean |
containsValue(UsageLevelTag lTag)
Returns true if the specified UsageLevelTag object exists in the table. |
static UsageLevelTable |
decodeFormattedString(java.lang.String str)
Decodes an ASCII formatted string into a new table of UsageLevelTag objects. |
UsageLevelTag |
get(int num)
Returns UsageLevelTag object associated with the given numeric value. |
UsageLevelTag |
get(java.lang.String str)
Returns UsageLevelTag object associated with the given key. |
UsageLevelTag |
remove(int num)
Removes UsageLevelTag object associated with the given numeric value. |
UsageLevelTag |
remove(java.lang.String str)
Removes UsageLevelTag 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 UsageLevelTable()
Method Detail |
public boolean add(UsageLevelTag lTag)
public UsageLevelTag get(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the desired UsageLevelTag object.
public UsageLevelTag get(int num)
num
- a number matching the contents of the 'value' field
of the desired UsageLevelTag object.
public UsageLevelTag remove(java.lang.String str)
str
- a string matching the contents of the 'name' field
of the UsageLevelTag object to be removed.
public UsageLevelTag remove(int num)
num
- a number matching the contents of the 'value' field
of the UsageLevelTag object to be removed.
public boolean containsValue(UsageLevelTag lTag)
public static UsageLevelTable decodeFormattedString(java.lang.String str)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |