|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GuiIfc
This provides a GUI subsystem independent interface to the UI, so the backend can request GUI services without having to worry about whether it is AWT/Swing or something else (such as Android).
Note that any implementer of this interface is also required to:
public static Object showSplashScreen()
which creates a start-up splash screen and returns a handle
to it so it can be taken down later with the disposeOfSplash(Object) method
on the GuiIfc implementer.
Nested Class Summary | |
---|---|
static class |
GuiIfc.MessagingParams
Data structure containing parameters needed to transmit a text message. |
static class |
GuiIfc.OsmImportParams
Data structure of parameters needed for the OpenStreetMap import operation. |
static class |
GuiIfc.TileDownloadParams
Data structure of parameters needed for the OpenStreetMap pre-imported tile download operation. |
Method Summary | |
---|---|
void |
addSpecificTrackStripe(java.lang.String identifier)
Add the identifier of a single station or object whose track stripe is to be plotted. |
void |
approveTacticalSender(java.lang.String originatingCallsign,
java.lang.String tacticalMsgText)
Queue up a request to ask the user whether this TACTICAL message should be accepted and processed. |
void |
checkForUpdates(boolean interactive)
Check whether a newer release of YAAC is available, displaying status. |
void |
clearAllSpecificTrackStripes()
Clear the plotting of all specific station/object track stripes. |
void |
closeCurrentWindow()
Close the window that currently has the keyboard focus (if it is part of the YAAC application). |
void |
composeWinlinkMessage()
Display a form to allow transmitting a multi-line email message to someone via the APRS-WinLink gateways. |
void |
confirmSendBroadcastQuery(java.lang.String confirmTag,
java.lang.String query)
Broadcast a specified global query message after confirming the user really wants to send it. |
void |
connectToStation()
Set up a dumb-terminal connection to an old-style packet BBS. |
StatusListener |
createProgressReporter(java.lang.String title,
boolean modal)
Open whatever the local operating system uses for a progress dialog and return an interface to send progress information to the dialog. |
void |
displayAttentionAlert(double latitude,
double longitude,
AX25Message.Precedence precedence)
Display an AttentionAlert (flashing arrows) on the map for a particular position. |
void |
displayAttentionAlert(StationState ss)
Display an AttentionAlert (flashing arrows) on the map for a particular station or object. |
java.lang.Object[] |
displayHeardByDialog(StationState[] stationsToPickFrom)
Display a dialog asking for the parameters for a Heard-By (?APRSH) query. |
void |
displayHelp(java.lang.String startingHelpId,
java.lang.Object parentWindow)
Launch the JavaHelp browser, starting with the help corresponding to the specified help ID |
void |
displayLocateAmenityDialog()
Display the Locate Amenity dialog, and handle user input to it. |
void |
displayLocateLandmarkDialog()
Display the Locate Landmark dialog, and handle user input to it. |
GuiIfc.MessagingParams |
displayMessagingDialog(java.util.ArrayList ssList)
Display a dialog asking the user for the parameters needed to send a text message to another station. |
GuiIfc.OsmImportParams |
displayOsmImportDialog(java.io.File osmFileDir)
Ask the user how and where from to import an OpenStreetMap compressed data file. |
void |
displayOsmMirrorSiteList()
Display a popup with buttons to launch the user's web browser pointed at any of the major download sites for raw OpenStreetMap data. |
GuiIfc.TileDownloadParams |
displayOsmTileDownloadDialog(ChangeSet localChangeSet,
ChangeSet serverChangeSet)
Display a dialog asking the user which pre-compiled OSM tiles to download. |
GuiIfc.TileDownloadParams |
displayTopoTileDownloadDialog(java.io.File tileDir)
Display a dialog asking the user which SRTM tiles to download. |
void |
disposeOfSplash(java.lang.Object oSplash)
Get rid of the splash screen. |
void |
editTopoColors()
Invoke an editor for adjusting the colors and elevation thresholds used to render topographic map layers. |
boolean |
ensureKeystoreIsOpen(boolean dontBlock)
Test if keystore has been opened with the correct password. |
double |
getCenterLatitude()
Get the latitude of the current center of the map. |
double |
getCenterLongitude()
Get the longitude of the current center of the map. |
long |
getLastElapsedPaintTime()
Return the amount of time (in milliseconds) for the last station render. |
int |
getLastNumDrawnObjects()
Return the number of Objects (non-transmitters) rendered in the last station render. |
int |
getLastNumDrawnStations()
Return the number of stations (transmitters) rendered in the last station render. |
long |
getMaxAgeDRObject()
Get the maximum time that dead reckoning will be projected for an object (non-self-transmitter). |
long |
getMaxAgeDRSpecialObject()
|
long |
getMaxAgeDRStation()
Get the maximum time that dead reckoning will be projected for a station (self-transmitter). |
long |
getMaxTrackDuration()
Get the maximum duration of a track stripe in milliseconds. |
int |
getMessageCount()
Get the number of APRS Messages collected by the application. |
SaveableTable |
getSaveableTableInView(java.lang.Object view)
Get the SaveableTable (if any) in the specified view. |
float |
getScale()
Get the current scale factor of the map. |
void |
initializeWindowMenu(java.lang.Object item,
java.lang.Object view)
Create the entries on the dynamic Window menu on the menu bar corresponding to every window except the one containing the menu bar. |
void |
initMainWindowMenuBar()
Phase 2 of initializing the GUI (stuff that needs the GUI property of the main YAAC object to be already initialized). |
void |
invokeConfigWizard()
Start the configuration wizard at its first window. |
void |
invokeObjectEditor(java.lang.String dialogTitleTag,
Message or,
int mouseX,
int mouseY,
ObjectReportTransmitter tx)
Display the Object editing dialog, possibly initialized with the contents of an existing ObjectReport. |
boolean |
isAutoLoadMapTiles()
Report whether map tiles will be auto-downloaded (if the author's website can be reached) for any tiles that have not already been downloaded. |
boolean |
isDrawAge()
Report whether the time interval since last receipt of a message from or about a station or object is plotted below the station/object's name. |
boolean |
isDrawAliasInsteadOfCallsign()
Report whether alias should be drawn instead of callsign should be drawn for each station/object if an alias is defined for the station/object.. |
boolean |
isDrawAllTrackStripes()
Indicate whether all moving stations should have track stripes plotted. |
boolean |
isDrawAlohaCircle()
Report whether aloha circles (optimal maximum RF transmission range for the local station before causing excessive collisions) are plotted on the map. |
boolean |
isDrawAmbiguityCircle()
Report whether a translucent ambiguity circle is drawn behind each station or object to indicate the area over which it could be located, given the precision of the position information reported. |
boolean |
isDrawCallsign()
Report whether callsign label should be drawn for each station/object. |
boolean |
isDrawDeadObjects()
Report whether Objects that have been "killed" are plotted on the map. |
boolean |
isDrawDeadReckoning()
Report whether deadreckoning position updates for moving stations and objects are calculated and the positions offset and deadreckoning vectors plotted when the stations and objecfts are drawn. |
boolean |
isDrawDF()
Report whether direction-finding cones are plotted from stations reporting DFS vector information |
boolean |
isDrawDoubleSizedSymbols()
Report if symbols are being drawn double-sized. |
boolean |
isDrawItemStatus()
Report whether a color-coded "halo" is drawn around each station or object icon indicating its status as one of the APRSdos categories: fixed, mobile, deadreckoned, old, emergency-reporting, locally-controlled Object, or other station's Object. |
boolean |
isDrawMicEStatusCircles()
Report whether color-coded circles indicating Mic-E status codes are be drawn around stations reporting those codes. |
boolean |
isDrawNWSMultiLine()
Report whether encoded polylines (generally used for National Weather Service severe weather regions) are plotted on the map. |
boolean |
isDrawRangeCircles()
Report whether radio range circles are being drawn for stations reporting or implying transmission range limits. |
boolean |
isDrawSelf()
Report whether the local station is plotted on the map. |
boolean |
isDrawSelfLikeOther()
Report whether local station is drawn like any other station (using its APRS symbol icon) or as crosshairs or a pointer making it obvious where the station is on the map. |
boolean |
isDrawWeatherAsWeather()
Report whether weather stations are drawn as old-style weather map circles with a flagged barb indicating wind direction and speed. |
boolean |
isGraticuleVisible()
Indicate whether the graticule (latitude/longitude grid lines) are displayed on the map. |
boolean |
isKeepSpecificallyTrackedStationsOnScreen()
Report whether the map should auto-pan to keep specifically tracked mobile stations on the map. |
boolean |
isMapAutoCentered()
Report whether the map should automatically pan to keep the local station centered on the map. |
boolean |
isMemoryGCPanelVisible()
Report the current visibility of the MemoryGCPanel. |
boolean |
isNightMode()
Report if the displays are in night mode. |
boolean |
isShowLabelsInEnglish()
Report whether map labels should be displayed in English if the default name is in some other locale and OpenStreetMap provides an English translation. |
boolean |
isShowTopoContours()
Report whether the topographic map should be rendered as contour lines. |
boolean |
isShowTopoRegions()
Report whether the topographic map overlay should be displayed as filled regions. |
boolean |
isShowUnlabeledWays()
Report if unlabeled and untyped map features should be displayed. |
boolean |
isSpecificallyTracked(java.lang.String identifier)
Test if a given identifier is on the tracking list. |
boolean |
isSpecificallyTracking()
Test if any identifiers are on the tracking list. |
boolean |
isViewPrintable(java.lang.Object o,
int depthLeft)
Test if specified GUI view is printable. |
void |
loadAprsPackets()
Query the user for a file from which to load saved APRS messages. |
void |
loadDrawing()
Load drawing overlay. |
void |
loadObjectsFromFile()
Load APRS Object definitions from a user-specified file. |
void |
loadTacticalNames()
Load alias names and symbol codes for station callsigns and object names. |
void |
locateASpecificStation(java.util.ArrayList<StationState> matchList,
java.lang.String callsign)
Locate a specific station on the map window. |
void |
moveObject(StationState ss,
ObjectReport or,
MoveObjectListener moveObjectListener)
Graphically drag a station or object across the map to a new location, updating the object's position appropriately and converting a station to an object if needed. |
StationState |
pickAStation(java.util.ArrayList<StationState> matchList,
java.lang.String titleTag)
Select one of several stations. |
void |
printWindow()
Print the window that currently has the focus. |
void |
refresh()
Force the map to immediately regenerate itself based on current state data. |
void |
regenerateStations()
Force the station renderer layer to regenerate its overlay immediately. |
void |
regenerateTopo()
Force the topographic layer to regenerate its overlay immediately. |
boolean |
removeSpecificTrackStripe(java.lang.String identifier)
Remove the identifier of a single station or object whose track stripe is no longer to be plotted. |
void |
saveAprsPackets()
Query the user for a file in which to save the current visible set of APRS messages. |
void |
saveObjectsToFile()
Save the currently known APRS Objects to a file. |
void |
saveTacticalNames()
Save alias names and symbol codes for station callsigns and object names. |
void |
scheduleToGuiThread(java.lang.Runnable r)
Schedule a short-running operation that should only occur on the GUI dispatch thread (however the implementing GUI chooses to do it). |
java.io.File |
selectFileForWrite(java.io.File dir,
java.lang.String fileExtensionTag,
java.lang.String fileExtension)
Open a file selection dialog for saving a file. |
int |
selectOneOf(java.lang.String title,
java.lang.String[] choices)
Create a popup dialog to ask the user which of several choices should be used. |
java.lang.Object |
selectStation(java.lang.String titleBarTag,
boolean stationsOnly)
Select one station (or object, if allowed) from the currently known list, or allow the user to manually type in a station callsign-SSID, and return the user selected value. |
void |
sendQRU()
Broadcast a specified QRU query message after confirming the user really wants to send it. |
void |
setAutoLoadMapTiles(boolean autoLoadMapTiles)
Specify whether missing OpenStreetMap imported tiles should be automatically downloaded from the author's website. |
void |
setCenter(double lat,
double lon)
Set the current center position of the map. |
void |
setCenter(LatLonPoint p)
Set the current center position of the map. |
void |
setDrawAge(boolean drawAge)
Specify whether the time interval since last receipt of a message from or about a station or object should be plotted below the station/object's name. |
void |
setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
Specify whether alias should be drawn instead of callsign should be drawn for each station/object if an alias is defined for the station/object.. |
void |
setDrawAllTrackStripes(boolean drawAllTrackStripes)
Specify whether all moving stations should have track stripes plotted. |
void |
setDrawAlohaCircle(boolean drawAlohaCircle)
Specify whether aloha circles (optimal maximum RF transmission range for the local station before causing excessive collisions) should be plotted on the map. |
void |
setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
Specify whether a translucent ambiguity circle should be drawn behind each station or object to indicate the area over which it could be located, given the precision of the position information reported. |
void |
setDrawCallsign(boolean drawCallsign)
Specify whether callsign labels should be drawn for each station/object. |
void |
setDrawDeadObjects(boolean drawDeadObjects)
Specify whether Objects that have been "killed" should still be plotted on the map. |
void |
setDrawDeadReckoning(boolean drawDeadReckoning)
Specify whether deadreckoning position updates for moving stations and objects should be calculated and the positions offset and deadreckoning vectors plotted when the stations and objecfts are drawn. |
void |
setDrawDF(boolean drawDF)
Specify whether direction-finding cones should be plotted from stations reporting DFS vector information |
void |
setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
Specify whether symbols should be drawn double-sized (32x32 pixels) instead of single-sized (16x16). |
void |
setDrawItemStatus(boolean drawItemStatus)
Specify whether a color-coded "halo" should be drawn around each station or object icon indicating its status as one of the APRSdos categories: fixed, mobile, deadreckoned, old, emergency-reporting, locally-controlled Object, or other station's Object. |
void |
setDrawMicEStatusCircles(boolean drawMicEStatusCircles)
Specify whether color-coded circles indicating Mic-E status codes should be drawn around stations reporting those codes. |
void |
setDrawNWSMultiLine(boolean drawNWSMultiLine)
Specify whether encoded polylines (generally used for National Weather Service severe weather regions) should be plotted on the map. |
void |
setDrawRangeCircles(boolean drawRangeCircles)
Specify whether range circles should be drawn around stations reporting or implying transmission range limits. |
void |
setDrawSelf(boolean drawSelf)
Specify whether the local station should be plotted on the map. |
void |
setDrawSelfLikeOther(boolean drawSelfLikeOther)
Specify whether local station should be drawn like any other station (using its APRS symbol icon) or as crosshairs or a pointer making it obvious where the station is on the map. |
void |
setDrawToolBarVisibility(boolean isVisible)
Specify whether the toolbar for the drawing tools should be visible or not. |
void |
setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
Specify whether weather stations should be drawn as old-style weather map circles with a flagged barb indicating wind direction and speed. |
void |
setGraticuleVisible(boolean visible)
Specify whether the graticule (latitude/longitude grid lines) are displayed on the map. |
void |
setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
Specify whether the map should auto-pan to keep specifically tracked mobile stations on the map. |
void |
setMainFrameTitle()
Specify the title displayed in the main window's title bar. |
void |
setMapAutoCentering(boolean isAutoCentered)
Specify whether the map should automatically pan to keep the local station centered on the map. |
void |
setMaxAgeDRObject(long maxAgeDRObject)
Set the maximum time that dead reckoning will be projected for an object (non-self-transmitter). |
void |
setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject)
|
void |
setMaxAgeDRStation(long maxAgeDRStation)
Set the maximum time that dead reckoning will be projected for a station (self-transmitter). |
void |
setMaxTrackDuration(long maxTrackDuration)
Set the maximum duration of a track stripe in milliseconds. |
void |
setMemoryGCPanelVisible(boolean visible)
Change the visibility of the memory usage status monitor. |
void |
setNightMode(boolean isNight)
Specify that the displays should be in night mode (black backgrounds with white text/lines, for not ruining the night vision of the operator). |
void |
setScale(float scale)
Change the scale of the map. |
void |
setShowLabelsInEnglish(boolean showLabelsInEnglish)
Specify whether map labels should be displayed in English if the default name is in some other locale and OpenStreetMap provides an English translation. |
void |
setShowTopoContours(boolean visible)
Specify whether the topographic map overlay should be rendered as contour lines. |
void |
setShowTopoRegions(boolean visible)
Specify whether the topographic map overlay should be rendered as filled region. |
void |
setShowUnlabeledWays(boolean showUnlabeledWays)
Specify if unlabeled and untyped map features should be displayed. |
void |
setVisible(boolean visible)
Specify whether the main (map) display window should be visible. |
void |
showAboutDialog()
Display the About dialog for the YAAC application. |
void |
showBandwidthMonitor()
Display a bandwidth monitor for each open I/O port in YAAC. |
void |
showBulletinBoard()
Display the window used to display bulletin messages, and compose locally originated bulletins for transmission. |
void |
showConfigurationDialog()
Start the regular configuration dialog. |
void |
showConnectionReport()
Display outstanding connected (I-frame) AX.25 sessions. |
void |
showDXReports()
Show a table view of all DX reports received by this station. |
void |
showEditBlacklistDialog()
Generate and display the blacklist editor. |
void |
showEditFilterDialog(Filter mainFilter,
java.lang.String dialogTitleTag)
Generate and display the filter dialog. |
int |
showGenericConfirmDialog(java.lang.String titleTag,
java.lang.String msg)
Show a generic retry/skip/cancel dialog, with the specified title and message text. |
void |
showGenericErrorDialog(java.lang.String titleTag,
java.lang.String msg)
Show a generic error message dialog, with the specified title and message text. |
void |
showGenericInfoDialog(java.lang.String titleTag,
java.lang.String msg)
Show a generic informational message dialog, with the specified title and message text. |
java.lang.String |
showGenericInputDialog(java.lang.String titleTag,
java.lang.String msg)
Show a generic text input dialog, with the specified title and message text. |
int |
showGenericQuestionDialog(java.lang.String titleTag,
java.lang.String msg)
Show a generic yes/no question dialog, with the specified title and message text. |
int |
showGenericQuestionDialogWithHelp(java.lang.String titleTag,
java.lang.String msg)
Show a generic yes/no question dialog, with the specified title and message text. |
void |
showGpsStatusDialog()
Display a monitor of the current status of all GPS receivers connected to YAAC. |
void |
showHealthMonitorReport()
Show the current station health reports for all remote stations being monitored. |
void |
showHeardList()
Display a report of number of packets received from each station (or about each APRS Object/Item) over 15 minute intervals in the YAAC history. |
void |
showHistory(StationState ss)
Display the message history for a specified station or object. |
void |
showIOFailureDialog(PortConfig config,
java.lang.String reason,
PortFailureReportListener listener)
Display an asynchronous non-blocking dialog on the screen to report an I/O error. |
void |
showKeys()
Show a table view of the keys used to authenticate and verify the integrity of signed messages. |
void |
showLayerSelectorTool()
Display the dialog for selecting which parts of the OpenStreetMap database should be rendered on the map. |
void |
showLocalObjects()
Display a table of all Objects/Items being transmitted by this station. |
void |
showMap()
Make visible and foreground the map window. |
void |
showMessageFilterPane()
Display the window used for receiving and logging filtered text messages. |
void |
showMessageFrame()
Open the MessageFrame (window displaying text message traffic in a table) and move it to the foreground. |
void |
showOutstandingMessages()
Display the window showing all messages (except beacons and status messages) pending for transmission from the local station. |
void |
showPluginStore()
Display a dialog for selecting new officially supported plugins to install. |
void |
showRadioView(Message msg,
java.lang.String identifier)
Show the dialog that looks like the Kenwood D710 control head APRS display. |
void |
showRasterMapDialog()
Display the dialog for managing raster map images overlays on the map window. |
void |
showRawPacketFrame()
Display the raw packet window. |
void |
showReleaseNotes()
Display the release notes history for the YAAC application. |
void |
showStationList()
Show the window listing all the stations and objects heard by this station. |
void |
showTelemetryReport()
Display all the current telemetry data heard by this station. |
void |
showTXIGatedStations()
Show a table view of the stations currently being Tx I-gated by this station. |
void |
showWeatherDialog()
Display a monitor of the current conditions reported by the local weather station attached to YAAC. |
void |
shutdown()
Do whatever cleanup this object needs for program shutdown. |
void |
startChatSession(java.lang.String callsign)
Open a Chat session window pointed at the specified remote station. |
void |
startLineOfSight()
Enable defining a line of sight between two points on the map. |
void |
startLineOfSightFromMe(int mouseX,
int mouseY)
Show the line of sight between this station's position and the position clicked on the map, updating this station's end of the line if it moves. |
void |
startLineOfSightFromMe(StationState ss)
Show the line of sight between this station's position and the station or object clicked on the map, updating both ends of the line if either moves. |
void |
toFront()
Push the map GUI window to the foreground by whatever means the underlying GUI toolkit uses. |
Methods inherited from interface org.ka2ddo.yaac.gps.GpsDataListener |
---|
gpsDataUpdated, satDataUpdated |
Method Detail |
---|
void setMainFrameTitle()
void setVisible(boolean visible)
visible
- boolean true if map window should be visible, false if notvoid disposeOfSplash(java.lang.Object oSplash)
oSplash
- Object wrapped around the splash screenvoid initMainWindowMenuBar()
int getMessageCount()
void invokeConfigWizard()
void showConfigurationDialog()
boolean isMapAutoCentered()
void setMapAutoCentering(boolean isAutoCentered)
isAutoCentered
- boolean true if map should auto-center, false otherwisevoid setScale(float scale)
scale
- new scaling factorfloat getScale()
void setCenter(double lat, double lon)
lat
- latitude in degrees Northlon
- longitude in degrees Eastvoid setCenter(LatLonPoint p)
p
- LatLonPoint for new centerdouble getCenterLatitude()
double getCenterLongitude()
void setNightMode(boolean isNight)
isNight
- boolean true if should be in night modeboolean isNightMode()
void shutdown()
shutdown
in interface ShutdownHandler
StatusListener createProgressReporter(java.lang.String title, boolean modal)
title
- already-localized title String for the dialogmodal
- whether the dialog should be application-modal or modeless
void initializeWindowMenu(java.lang.Object item, java.lang.Object view)
item
- Object corresponding to the Window menuview
- GUI window object containing the menu barvoid showLayerSelectorTool()
void showGenericErrorDialog(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text Stringvoid showGenericInfoDialog(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text Stringint showGenericQuestionDialog(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text String
int showGenericQuestionDialogWithHelp(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text String
java.lang.String showGenericInputDialog(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text String
int showGenericConfirmDialog(java.lang.String titleTag, java.lang.String msg)
titleTag
- String tag to look up locale-specific dialog titlemsg
- already-localized and variable-substituted error message text String
void showAboutDialog()
void showReleaseNotes()
boolean ensureKeystoreIsOpen(boolean dontBlock)
dontBlock
- boolean true if this method should return immediately without blocking
java.lang.Object selectStation(java.lang.String titleBarTag, boolean stationsOnly)
titleBarTag
- String tag for localized title to display in popup dialogstationsOnly
- boolean true if entries appearing only as Objects/Items should be excluded
from the pick list
int selectOneOf(java.lang.String title, java.lang.String[] choices)
title
- String title to display in dialog box titlechoices
- array of String choices to choose from
void loadAprsPackets()
void saveAprsPackets()
SaveableTable getSaveableTableInView(java.lang.Object view)
view
- top-level window or view to be tested
void showMap()
void displayOsmMirrorSiteList()
GuiIfc.OsmImportParams displayOsmImportDialog(java.io.File osmFileDir)
osmFileDir
- File pointing at the directory to initially look for importable OSM data files
GuiIfc.TileDownloadParams displayOsmTileDownloadDialog(ChangeSet localChangeSet, ChangeSet serverChangeSet)
localChangeSet
- the OSM ChangeSet of the last data downloaded or imported here (or null if
OSM data was never installed)serverChangeSet
- the OSM ChangeSet currently available on the YAAC website
GuiIfc.TileDownloadParams displayTopoTileDownloadDialog(java.io.File tileDir)
tileDir
- File pointing at the directory where tiles are kept
java.io.File selectFileForWrite(java.io.File dir, java.lang.String fileExtensionTag, java.lang.String fileExtension)
dir
- File for the initial directoryfileExtensionTag
- String tag for looking up localized string of file type descriptionfileExtension
- String file type
void showRawPacketFrame()
void showMessageFrame()
void showMessageFilterPane()
void showBulletinBoard()
void showOutstandingMessages()
void showBandwidthMonitor()
void showGpsStatusDialog()
void showWeatherDialog()
void showHeardList()
void showConnectionReport()
void showRadioView(Message msg, java.lang.String identifier)
msg
- a historical APRS Message to display, or null to display current real-time dataidentifier
- the originating station callsign associated with the historical message (ignored if null msg)void showStationList()
void showLocalObjects()
void showHistory(StationState ss)
ss
- StationState of the desired station or objectvoid showTelemetryReport()
void showHealthMonitorReport()
void showTXIGatedStations()
void showKeys()
void showDXReports()
void showEditFilterDialog(Filter mainFilter, java.lang.String dialogTitleTag)
mainFilter
- the top Filter in the Filter hierarchydialogTitleTag
- bundle tag for title to display on dialogvoid showEditBlacklistDialog()
void loadObjectsFromFile()
void saveObjectsToFile()
void loadTacticalNames()
void saveTacticalNames()
void loadDrawing()
void locateASpecificStation(java.util.ArrayList<StationState> matchList, java.lang.String callsign)
matchList
- ArrayList of StationStates to locatecallsign
- String callsign of the located stationvoid displayAttentionAlert(StationState ss)
ss
- StationState of the station or object to highlightvoid displayAttentionAlert(double latitude, double longitude, AX25Message.Precedence precedence)
latitude
- double fractional degrees Northlongitude
- double fraction degrees Eastprecedence
- code for color level to use; ROUTINE is used for station locatesvoid moveObject(StationState ss, ObjectReport or, MoveObjectListener moveObjectListener)
ss
- StationState object describing the station or objector
- ObjectReport to be modified by the movemoveObjectListener
- MoveObjectListener to inform when movement is overvoid composeWinlinkMessage()
void connectToStation()
void confirmSendBroadcastQuery(java.lang.String confirmTag, java.lang.String query)
confirmTag
- tag for resource file message for the confirmation queryquery
- the actual APRS message to send (must be valid according to the APRS protocol specification)void approveTacticalSender(java.lang.String originatingCallsign, java.lang.String tacticalMsgText)
originatingCallsign
- callsign String of message originatortacticalMsgText
- String of text message body (the TACTICAL directive)void sendQRU()
void showRasterMapDialog()
void invokeObjectEditor(java.lang.String dialogTitleTag, Message or, int mouseX, int mouseY, ObjectReportTransmitter tx)
dialogTitleTag
- String tag for localized title to display on dialog title baror
- APRS Message to initialize the editor, or null for creating an object from scratchmouseX
- window X coordinate of mouse click (to generate initial coordinates), or -1 to not init position from mapmouseY
- window Y coordinate of mouse click (to generate initial coordinates), or -1 to not init position from maptx
- ObjectReportTransmitter to give any created or updated objects tovoid showIOFailureDialog(PortConfig config, java.lang.String reason, PortFailureReportListener listener)
config
- PortConfig object describing the port with the problemreason
- String describing why the port is downlistener
- I/O subsystem that wants to be informed if the user dismisses the dialogvoid closeCurrentWindow()
StationState pickAStation(java.util.ArrayList<StationState> matchList, java.lang.String titleTag)
matchList
- ArrayList of StationState objects to pick fromtitleTag
- String name of resource tag for title of prompting dialog
void scheduleToGuiThread(java.lang.Runnable r)
r
- Runnable to be scheduled as soon as possible on the GUI threadvoid refresh()
void regenerateTopo()
void regenerateStations()
boolean isViewPrintable(java.lang.Object o, int depthLeft)
o
- Object of view containerdepthLeft
- number of levels of recursion allowed for the search
printWindow()
void printWindow()
isViewPrintable(Object, int)
void toFront()
void setMemoryGCPanelVisible(boolean visible)
visible
- boolean true if memory status monitor should be visibleboolean isMemoryGCPanelVisible()
java.lang.Object[] displayHeardByDialog(StationState[] stationsToPickFrom)
stationsToPickFrom
- array of StationState objects specifying the list of
stations to choose from, or null to get all currently known
stations
GuiIfc.MessagingParams displayMessagingDialog(java.util.ArrayList ssList)
ssList
- list of stations to populate the list with, or null for entire list of known stations
void displayLocateLandmarkDialog()
void displayLocateAmenityDialog()
void startChatSession(java.lang.String callsign)
callsign
- String callsign of the remote stationboolean isDrawAllTrackStripes()
void setDrawAllTrackStripes(boolean drawAllTrackStripes)
drawAllTrackStripes
- boolean true if all moving stations should have track stripesvoid clearAllSpecificTrackStripes()
void addSpecificTrackStripe(java.lang.String identifier)
identifier
- String station or object identifierboolean removeSpecificTrackStripe(java.lang.String identifier)
identifier
- String station or object identifier
boolean isSpecificallyTracked(java.lang.String identifier)
identifier
- String station or object identifier
boolean isSpecificallyTracking()
long getMaxTrackDuration()
void setMaxTrackDuration(long maxTrackDuration)
maxTrackDuration
- maximum plotted track duration in millisecondsboolean isDrawRangeCircles()
void setDrawRangeCircles(boolean drawRangeCircles)
drawRangeCircles
- boolean true if range circles should be drawnboolean isDrawMicEStatusCircles()
void setDrawMicEStatusCircles(boolean drawMicEStatusCircles)
drawMicEStatusCircles
- boolean true if Mic-E status color circles should be drawnboolean isDrawSelf()
void setDrawSelf(boolean drawSelf)
drawSelf
- boolean true if local station should be drawnboolean isDrawSelfLikeOther()
isDrawSelf()
void setDrawSelfLikeOther(boolean drawSelfLikeOther)
drawSelfLikeOther
- boolean true to use APRS symbol, or false to use crosshairs
for fixed station or pointer arrowhead for moving stationsetDrawSelf(boolean)
boolean isDrawWeatherAsWeather()
void setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
drawWeatherAsWeather
- boolean true if weather stations should be plotted
with weather map symbols, false if using APRS iconboolean isDrawAge()
void setDrawAge(boolean drawAge)
drawAge
- boolean true if age is to be plottedboolean isDrawDeadObjects()
void setDrawDeadObjects(boolean drawDeadObjects)
drawDeadObjects
- boolean true if "killed" Objects should be plottedboolean isDrawAlohaCircle()
void setDrawAlohaCircle(boolean drawAlohaCircle)
drawAlohaCircle
- boolean true if aloha circles should be drawnboolean isDrawItemStatus()
StationState.SpecialState
void setDrawItemStatus(boolean drawItemStatus)
drawItemStatus
- boolean true if status halo should be drawmStationState.SpecialState
boolean isDrawAmbiguityCircle()
void setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
drawAmbiguityCircle
- boolean true if ambiguity circles should be plottedboolean isDrawDeadReckoning()
void setDrawDeadReckoning(boolean drawDeadReckoning)
drawDeadReckoning
- boolean true if deadreckoning should be plottedlong getMaxAgeDRStation()
void setMaxAgeDRStation(long maxAgeDRStation)
maxAgeDRStation
- maximum dead reckon interval in millisecondslong getMaxAgeDRObject()
void setMaxAgeDRObject(long maxAgeDRObject)
maxAgeDRObject
- maximum dead reckon interval in millisecondslong getMaxAgeDRSpecialObject()
void setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject)
boolean isDrawDF()
void setDrawDF(boolean drawDF)
drawDF
- boolean true if direction-finding cones should be drawmboolean isDrawNWSMultiLine()
void setDrawNWSMultiLine(boolean drawNWSMultiLine)
drawNWSMultiLine
- boolean true if multilines should be plottedboolean isDrawCallsign()
void setDrawCallsign(boolean drawCallsign)
drawCallsign
- boolean true if callsign label should be drawn on mapboolean isDrawAliasInsteadOfCallsign()
void setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
drawAliasInsteadOfCallsign
- boolean true if alias should be drawn instead of callsignboolean isKeepSpecificallyTrackedStationsOnScreen()
void setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
keepSpecificallyTrackedStationsOnScreen
- boolean true if map should pan to keep tracked stations on the mapboolean isDrawDoubleSizedSymbols()
void setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
drawDoubleSizedSymbols
- boolean true if symbols should be rendered double-sizevoid setDrawToolBarVisibility(boolean isVisible)
isVisible
- boolean true if draw toolbar should be shownboolean isGraticuleVisible()
void setGraticuleVisible(boolean visible)
visible
- boolean true if graticule is displayedboolean isShowTopoRegions()
void setShowTopoRegions(boolean visible)
visible
- boolean true if topographic layer should be rendered as regionsboolean isShowTopoContours()
void setShowTopoContours(boolean visible)
visible
- boolean true if topographic layer should be rendered as contour linesvoid editTopoColors()
boolean isShowUnlabeledWays()
void setShowUnlabeledWays(boolean showUnlabeledWays)
showUnlabeledWays
- boolean true if unlabeled/untyped map elements should be plottedboolean isShowLabelsInEnglish()
void setShowLabelsInEnglish(boolean showLabelsInEnglish)
showLabelsInEnglish
- boolean true if English labels should be usedboolean isAutoLoadMapTiles()
void setAutoLoadMapTiles(boolean autoLoadMapTiles)
autoLoadMapTiles
- boolean true to enable auto-downloadvoid startLineOfSight()
void startLineOfSightFromMe(int mouseX, int mouseY)
mouseX
- int horizontal pixel coordinate in mapmouseY
- int vertical pixel coordinate in mapvoid startLineOfSightFromMe(StationState ss)
ss
- StationState of station or object to trace the path tovoid displayHelp(java.lang.String startingHelpId, java.lang.Object parentWindow)
startingHelpId
- String help ID corresponding to an entry in a *.jhm file; null indicates the
top of the TOC view, empty string indicates the top of the Index viewparentWindow
- window to parent an incarnation of the HelpBrokervoid checkForUpdates(boolean interactive)
interactive
- boolean true if no-upgrade-needed status should be reported (out-of-date status is always reported)void showPluginStore()
long getLastElapsedPaintTime()
int getLastNumDrawnObjects()
int getLastNumDrawnStations()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |