public class UsageLevelTable extends LevelTagTable
hTable, levelTagArray, LT_ARRAY_SIZE, maxTagValue, minTagValue
Constructor and Description |
---|
UsageLevelTable() |
Modifier and Type | Method and Description |
---|---|
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.
|
add, addLevelTag, clear, containsKey, containsValue, elements, encodeFormattedString, getMaxTagValue, getMinTagValue, getTableSyncObj, getTag, getTag, getTagColorObj, getTagSymbolChar, getValuesVector, removeTag, removeTag, removeTag, replaceTableData, size, toString
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)