public class VotableGroupTable extends java.lang.Object implements GroupTableInfo
| Constructor and Description |
|---|
VotableGroupTable(StationTable mainStationsTable,
java.util.Enumeration levelObjsEnum)
Creates a manager for a table of station groups that match a given
votable criteria.
|
| 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 group name keys.
|
public VotableGroupTable(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 GroupTableInfopublic StationTable getStationsTable(int compCode, java.lang.String groupName)
getStationsTable in interface GroupTableInfocompCode - the comparison code associated with the group name
(one of the GUIServicesDefines "PROP_CODE_..." values).groupName - level and parameter-name string, in the form
"level;name".public java.lang.String getStationsString(int compCode,
java.lang.String groupName)
getStationsString in interface GroupTableInfocompCode - the comparison code associated with the group name
(one of the GUIServicesDefines "PROP_CODE_..." values).groupName - name of the group to get.public java.util.Enumeration keys()
keys in interface GroupTableInfo