public class PerformanceGroupTable extends java.lang.Object implements GroupTableInfo
Constructor and Description |
---|
PerformanceGroupTable(StationTable mainStationsTable,
java.util.Enumeration levelObjsEnum)
Class PerformanceGroupTable manages a table of station groups with a
particular performance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
elements()
Returns an enumeration of the 'StationTable' objects in the table.
|
java.lang.String |
getStationsString(int compCode,
java.lang.String groupName)
Returns a String of names of stations associated with the given
group name, via the given comparison code.
|
StationTable |
getStationsTable(int compCode,
java.lang.String groupName)
Returns the StationTable associated with the given group name, via
the given comparison code.
|
java.util.Enumeration |
keys()
Returns an enumeration of (performance level) group name keys.
|
public PerformanceGroupTable(StationTable mainStationsTable, java.util.Enumeration levelObjsEnum)
mainStationsTable
- "main" table of all stations for server.levelObjsEnum
- Enumeration of status-level-tag objects.public java.util.Enumeration elements()
elements
in interface GroupTableInfo
public StationTable getStationsTable(int compCode, java.lang.String groupName)
getStationsTable
in interface GroupTableInfo
compCode
- the comparison code associated with the group name
(one of the GUIServicesDefines "PROP_CODE_..." values).groupName
- name of the (performance level) group to get.public java.lang.String getStationsString(int compCode, java.lang.String groupName)
getStationsString
in interface GroupTableInfo
compCode
- the comparison code associated with the group name
(one of the GUIServicesDefines "PROP_CODE_..." values).groupName
- name of the (performance level) group to get.public java.util.Enumeration keys()
keys
in interface GroupTableInfo