public final class WatchedStationsTracker
extends java.lang.Object
For updates to the tracked data, note that the column convention for table updates is:
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
WatchedStationsTracker.Importance
This enum specifies the importance or priority of a given station or Object
 relative to others. 
 | 
static class  | 
WatchedStationsTracker.WatchedStation
This class specifies the types of operations to be performed for a specifically
 tracked station or object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addFireTableModel(FireTableModel ftm)
Add a FireTableModel to listen for changes in the tracker. 
 | 
boolean | 
addSpecificTrackStripe(java.lang.String identifier)
Add the identifier of a single station or object whose track stripe is to be plotted. 
 | 
WatchedStationsTracker.WatchedStation | 
addWatchedStationIfNeeded(java.lang.String identifier)
Get the WatchedStation record for the station or object callsign stored in the individual track list,
 creating the record if it does not already exist. 
 | 
static void | 
checkpointWatchedStationChanges(WatchedStationsTracker.WatchedStation ws)
Write the current tracking settings for this station/object to Java Preferences. 
 | 
boolean | 
clearAllSpecificTrackStripes()
Clear the plotting of all specific station/object track stripes. 
 | 
static WatchedStationsTracker | 
getInstance()
Get the singleton instance of the WatchedStationsTracker. 
 | 
int | 
getSpecificallyTrackedCount()
Get the number of stations currently being tracked. 
 | 
int | 
getSpecificallyTrackedCount(int reasonMask)
Get the number of stations currently being tracked for a specific reason. 
 | 
WatchedStationsTracker.WatchedStation | 
getWatchedStation(int index)
Get the index of the station or object callsign stored in the individual track list. 
 | 
WatchedStationsTracker.WatchedStation | 
getWatchedStation(java.lang.String identifier)
Get the WatchedStation record for the station or object callsign stored in the individual track list. 
 | 
int | 
getWatchedStationIndex(java.lang.String identifier)
Get the index of the station or object callsign stored in the individual track list. 
 | 
boolean | 
isDrawTrackStripe(java.lang.String callsign)
Test whether the specific station or object should have a track stripe drawn after it. 
 | 
void | 
removeFireTableModel(FireTableModel ftm)
Remove a FireTableModel from listening for changes in the tracker. 
 | 
boolean | 
removeSpecificTrackStripe(java.lang.String identifier)
Remove track-striping a single station or object. 
 | 
boolean | 
removeWatchedStation(int index)
Remove the entire record at the index for the station or object callsign stored in the individual track list. 
 | 
boolean | 
removeWatchedStation(java.lang.String identifier)
Remove the entire record with the identifier for the station or object callsign stored in the individual track list. 
 | 
public static WatchedStationsTracker getInstance()
public final boolean isDrawTrackStripe(java.lang.String callsign)
callsign - String of station callsign-SSID or object namepublic boolean clearAllSpecificTrackStripes()
public boolean addSpecificTrackStripe(java.lang.String identifier)
identifier - String station or object identifierpublic static void checkpointWatchedStationChanges(WatchedStationsTracker.WatchedStation ws)
ws - WatchedStation to checkpointpublic boolean removeSpecificTrackStripe(java.lang.String identifier)
identifier - String station or object identifierpublic int getWatchedStationIndex(java.lang.String identifier)
identifier - String callsign of station or object to search forpublic WatchedStationsTracker.WatchedStation getWatchedStation(int index)
index - zero-based index of WatchedStation record in trackerpublic WatchedStationsTracker.WatchedStation getWatchedStation(java.lang.String identifier)
identifier - String callsign of station or object to search forpublic int getSpecificallyTrackedCount()
public int getSpecificallyTrackedCount(int reasonMask)
reasonMask - int bitmask for reasons why a station is tracked; if more than one bit
                      is set, all of them must be set for a station to be countedpublic WatchedStationsTracker.WatchedStation addWatchedStationIfNeeded(java.lang.String identifier)
identifier - String callsign of station or object to search forpublic boolean removeWatchedStation(int index)
index - zero-based index of WatchedStation record in trackerpublic boolean removeWatchedStation(java.lang.String identifier)
identifier - String callsign of station or object to search forpublic void addFireTableModel(FireTableModel ftm)
ftm - FireTableModel instance to register for update notificationspublic void removeFireTableModel(FireTableModel ftm)
ftm - FireTableModel instance to unregister for update notifications