|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.ka2ddo.yaac.gui.MainFrame
public class MainFrame
This class defines the main window of the default GUI for YAAC.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
javax.swing.JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
java.awt.Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
java.awt.Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Nested classes/interfaces inherited from interface org.ka2ddo.yaac.core.GuiIfc |
|---|
GuiIfc.MessagingParams, GuiIfc.OsmImportParams, GuiIfc.TileDownloadParams |
| Field Summary | |
|---|---|
OSMLayer |
osmLayer
The layer that draws OpenStreetMap-based roads, water bodies, etc., on the map. |
RasterMapOverlay |
rasterMapOverlay
The layer the draws raster image overlays on the map. |
StationRenderer |
stationRenderer
The layer that draws APRS Stations and Objects on the map, along with decorations related to those Stations and Objects (such as movement tracks, status color codes, labels, AttentionAlert pointers, etc. |
TopoLayer |
topoLayer
The layer that draws topographic (terrain elevation) contour lines and colored regions on the map. |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MainFrame(java.io.File baseDir)
Create the main window of YAAC, containing the geographic map, the menu bar, and a few other toolbar controls. |
|
| 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. |
static void |
buildMenus(java.util.ArrayList<AbstractMenuAction> actionList,
javax.swing.JMenuBar menuBar,
java.awt.Window menuContainingWindow)
Build the contents of a JFrame's JMenuBar. |
javax.swing.JComboBox |
buildStationComboBox(boolean addStandardAliases,
boolean excludeObjects)
Create a choice widget populated with all the known station callsigns heard by YAAC, sorted in alphanumeric order. |
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 |
componentHidden(java.awt.event.ComponentEvent e)
Invoked when the component has been made invisible. |
void |
componentMoved(java.awt.event.ComponentEvent e)
Invoked when the component's position changes. |
void |
componentResized(java.awt.event.ComponentEvent e)
Invoked when the component's size changes. |
void |
componentShown(java.awt.event.ComponentEvent e)
Invoked when the component has been made visible. |
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. |
java.awt.image.RenderedImage |
copyMap()
Make a screenshot copy of the current map. |
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. |
static PrintableView |
findPrintableView(java.awt.Component c,
int depthLeft)
Search the specified widget and its child widgets for a visible PrintableView. |
java.awt.geom.Point2D |
getCenter()
Get the latitude/longitude coordinates of the center of the rendered map. |
double |
getCenterLatitude()
Get the latitude of the current center of the map. |
double |
getCenterLongitude()
Get the longitude of the current center of the map. |
static java.awt.Window |
getCurrentlyFocusedWindow()
Determine which YAAC top-level window currently has the keyboard focus. |
static javax.swing.ImageIcon |
getImageIcon(Provider p)
Load a Provider's image into a usable ImageIcon object. |
KenwoodMessageListTableModel |
getKenwoodMessageListTableModel()
Get the singleton KenwoodMessageListTableModel. |
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. |
MapBean |
getMapBean()
Get the JavaBean that actually contains the map canvas. |
BasicMapPanel |
getMapPanel()
Get the panel containing the rendered map. |
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. |
MessageModel |
getMessageModel()
Get the data structure used to cache incoming APRS Messages. |
MouseDelegator |
getMouseDelegator()
|
RawPacketTableModel |
getRawPacketTableModel()
|
SaveableTable |
getSaveableTableInView(java.lang.Object c)
Get the SaveableTable (if any) in the specified view. |
float |
getScale()
Get the current scale factor of the map. |
java.awt.Image |
getTitleBarIcon()
Get a reference to the Image used as the title bar icon of the main frame. |
void |
gpsDataUpdated(GPSDistributor distributor,
GpsFix currentFix,
boolean isLocal,
java.lang.String source)
Do not call. |
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 |
isShowOnlyRFOnRadioView()
|
boolean |
isShowRadioViewOnStartup()
|
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, using the .pos file format originated by UI-View. |
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. |
static java.awt.GridBagConstraints |
makeGBC(int x,
int y)
Convenience method to help build GridBagConstraints for any handlers created by the Provider that are laid out with GridBagLayout, creating a cell position for a 1x1 cell with left-aligned contents, weighted equally. |
static java.awt.GridBagConstraints |
makeGBC(int x,
int y,
int w)
Convenience method to help build GridBagConstraints for any handlers created by the Provider that are laid out with GridBagLayout, creating a cell position for a 1x1 cell with left-aligned contents, weighted equally. |
static java.awt.GridBagConstraints |
makeGBC(int x,
int y,
int w,
int h)
Convenience method to help build GridBagConstraints for any handlers created by the Provider that are laid out with GridBagLayout, creating a cell position for a 1x1 cell with left-aligned contents, weighted equally. |
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 |
portCreated(PortConnector connector)
Do not call. |
void |
portDeleted(PortConnector connector)
Do not call. |
void |
printThisView()
Print this PrintableView to the Java printing subsystem. |
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 |
rotateView(double angleDeg)
|
void |
satDataUpdated(GPSDistributor distributor,
SatelliteCatalog satCatalog,
boolean isLocal,
java.lang.String source)
Do not call. |
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. |
static int |
selectOneOf(java.awt.Window window,
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 |
setShowOnlyRFOnRadioView(boolean showOnlyRFOnRadioView)
|
void |
setShowRadioViewOnStartup(boolean showRadioViewOnStartup)
|
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 |
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 singleton raw packet window. |
void |
showReleaseNotes()
Display the release notes history for the YAAC application. |
static java.lang.Object |
showSplashScreen()
Display the splash screen while YAAC is starting up. |
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; the user presses the mouse at the starting point, drags to the ending position, and releases. |
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 targetStation)
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. |
| Methods inherited from class javax.swing.JFrame |
|---|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.awt.Window |
|---|
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOwnedWindows, getOwner, getOwnerlessWindows, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isShowing, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setVisible, show, toBack, toFront |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, setBackground, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ka2ddo.yaac.core.GuiIfc |
|---|
setVisible, toFront |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public final StationRenderer stationRenderer
public final OSMLayer osmLayer
public final TopoLayer topoLayer
public final RasterMapOverlay rasterMapOverlay
| Constructor Detail |
|---|
public MainFrame(java.io.File baseDir)
baseDir - File referencing the installation directory for the YAAC software| Method Detail |
|---|
public static java.lang.Object showSplashScreen()
public void setMainFrameTitle()
setMainFrameTitle in interface GuiIfcpublic void disposeOfSplash(java.lang.Object oSplash)
disposeOfSplash in interface GuiIfcoSplash - Object wrapped around the splash screenpublic void setScale(float scale)
setScale in interface GuiIfcscale - new scaling factorpublic float getScale()
getScale in interface GuiIfc
public void setCenter(double lat,
double lon)
setCenter in interface GuiIfclat - latitude in degrees Northlon - longitude in degrees Eastpublic void setCenter(LatLonPoint p)
setCenter in interface GuiIfcp - LatLonPoint for new centerpublic double getCenterLatitude()
getCenterLatitude in interface GuiIfcpublic double getCenterLongitude()
getCenterLongitude in interface GuiIfcpublic void initMainWindowMenuBar()
initMainWindowMenuBar in interface GuiIfcpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown in interface java.awt.event.ComponentListener
public static void buildMenus(java.util.ArrayList<AbstractMenuAction> actionList,
javax.swing.JMenuBar menuBar,
java.awt.Window menuContainingWindow)
actionList - ArrayList of Actions to be sorted and built into the menu barmenuBar - JMenuBar to be populatedmenuContainingWindow - the Window that contains the menu bar
public void locateASpecificStation(java.util.ArrayList<StationState> matchList,
java.lang.String callsign)
locateASpecificStation in interface GuiIfcmatchList - ArrayList of StationStates to locatecallsign - String callsign of the located stationpublic void displayAttentionAlert(StationState ss)
displayAttentionAlert in interface GuiIfcss - StationState of the station or object to highlight
public void displayAttentionAlert(double latitude,
double longitude,
AX25Message.Precedence precedence)
displayAttentionAlert in interface GuiIfclatitude - double fractional degrees Northlongitude - double fraction degrees Eastprecedence - code for color level to use; ROUTINE is used for station locatespublic MessageModel getMessageModel()
public int getMessageCount()
getMessageCount in interface GuiIfcpublic KenwoodMessageListTableModel getKenwoodMessageListTableModel()
public void invokeConfigWizard()
invokeConfigWizard in interface GuiIfcpublic void showConfigurationDialog()
showConfigurationDialog in interface GuiIfcpublic boolean isNightMode()
isNightMode in interface GuiIfcpublic void setNightMode(boolean isNight)
setNightMode in interface GuiIfcisNight - boolean true if should be in night modepublic boolean isMapAutoCentered()
isMapAutoCentered in interface GuiIfcpublic void setMapAutoCentering(boolean isAutoCentered)
setMapAutoCentering in interface GuiIfcisAutoCentered - boolean true if map should auto-center, false otherwisepublic void refresh()
refresh in interface GuiIfcpublic void regenerateTopo()
regenerateTopo in interface GuiIfcpublic void regenerateStations()
regenerateStations in interface GuiIfcpublic MapBean getMapBean()
public BasicMapPanel getMapPanel()
public java.awt.geom.Point2D getCenter()
public void gpsDataUpdated(GPSDistributor distributor,
GpsFix currentFix,
boolean isLocal,
java.lang.String source)
gpsDataUpdated in interface GpsDataListenerdistributor - GPSDistributor containing the current GPS statecurrentFix - current GpsFixisLocal - boolean true if this is GPS data for the local station, false if for a remote GPS receiversource - String name assigned to remote GPS receiver, or null if for the local receiver
public void satDataUpdated(GPSDistributor distributor,
SatelliteCatalog satCatalog,
boolean isLocal,
java.lang.String source)
satDataUpdated in interface GpsDataListenerdistributor - instance of the GPSDistributorsatCatalog - updated SatelliteCatalog instanceisLocal - boolean true if this is GPS data for the local station, false if for a remote GPS receiversource - String name assigned to remote GPS receiver, or null if for the local receiverpublic java.awt.image.RenderedImage copyMap()
public java.awt.Image getTitleBarIcon()
public void setDrawToolBarVisibility(boolean isVisible)
setDrawToolBarVisibility in interface GuiIfcisVisible - boolean true if draw toolbar should be shownpublic MouseDelegator getMouseDelegator()
public void portCreated(PortConnector connector)
portCreated in interface PortMgmtListenerconnector - PortConnector that was addedpublic void portDeleted(PortConnector connector)
portDeleted in interface PortMgmtListenerconnector - PortConnector that was removedpublic void shutdown()
shutdown in interface GuiIfcshutdown in interface ShutdownHandler
public StatusListener createProgressReporter(java.lang.String title,
boolean modal)
createProgressReporter in interface GuiIfctitle - already-localized title String for the dialogmodal - whether the dialog should be application-modal or modeless
public void initializeWindowMenu(java.lang.Object item,
java.lang.Object view)
initializeWindowMenu in interface GuiIfcitem - JMenuItem corresponding to the Window menuview - RootPaneContainer containing the menu bar
public void showGenericErrorDialog(java.lang.String titleTag,
java.lang.String msg)
showGenericErrorDialog in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public void showGenericInfoDialog(java.lang.String titleTag,
java.lang.String msg)
showGenericInfoDialog in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public int showGenericQuestionDialog(java.lang.String titleTag,
java.lang.String msg)
showGenericQuestionDialog in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public int showGenericQuestionDialogWithHelp(java.lang.String titleTag,
java.lang.String msg)
showGenericQuestionDialogWithHelp in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public int showGenericConfirmDialog(java.lang.String titleTag,
java.lang.String msg)
showGenericConfirmDialog in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public java.lang.String showGenericInputDialog(java.lang.String titleTag,
java.lang.String msg)
showGenericInputDialog in interface GuiIfctitleTag - String tag to look up locale-specific dialog titlemsg - already-localized and variable-substituted error message text String
public static javax.swing.ImageIcon getImageIcon(Provider p)
p - Provider to specify the image relative path
public void showAboutDialog()
showAboutDialog in interface GuiIfcpublic void showReleaseNotes()
showReleaseNotes in interface GuiIfcpublic SaveableTable getSaveableTableInView(java.lang.Object c)
getSaveableTableInView in interface GuiIfcc - top-level window or view to be tested
public javax.swing.JComboBox buildStationComboBox(boolean addStandardAliases,
boolean excludeObjects)
addStandardAliases - boolean true if standard service aliases should be prefixed to the
list of station callsignsexcludeObjects - boolean true if entries that only appear as Objects or Items should be excluded
public java.lang.Object selectStation(java.lang.String titleBarTag,
boolean stationsOnly)
selectStation in interface GuiIfctitleBarTag - 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
public int selectOneOf(java.lang.String title,
java.lang.String[] choices)
selectOneOf in interface GuiIfctitle - String title to display in dialog box titlechoices - array of String choices to choose from
public static int selectOneOf(java.awt.Window window,
java.lang.String title,
java.lang.String[] choices)
window - Window to parent the displayed dialogtitle - String title to display in dialog box titlechoices - array of String choices to choose from
public static java.awt.GridBagConstraints makeGBC(int x,
int y)
x - int value to use for gridxy - int value to use for gridy
public static java.awt.GridBagConstraints makeGBC(int x,
int y,
int w)
x - int value to use for gridxy - int value to use for gridyw - int value to use for gridwidth
public static java.awt.GridBagConstraints makeGBC(int x,
int y,
int w,
int h)
x - int value to use for gridxy - int value to use for gridyw - int value to use for gridwidthh - int value to use for gridheight
public void loadAprsPackets()
loadAprsPackets in interface GuiIfcpublic void saveAprsPackets()
saveAprsPackets in interface GuiIfcpublic void displayOsmMirrorSiteList()
displayOsmMirrorSiteList in interface GuiIfcpublic GuiIfc.OsmImportParams displayOsmImportDialog(java.io.File osmFileDir)
displayOsmImportDialog in interface GuiIfcosmFileDir - File pointing at the directory to initially look for importable OSM data files
public GuiIfc.TileDownloadParams displayOsmTileDownloadDialog(ChangeSet localChangeSet,
ChangeSet serverChangeSet)
displayOsmTileDownloadDialog in interface GuiIfclocalChangeSet - 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
public GuiIfc.TileDownloadParams displayTopoTileDownloadDialog(java.io.File tileDir)
displayTopoTileDownloadDialog in interface GuiIfctileDir - File pointing at the directory where tiles are kept
public java.io.File selectFileForWrite(java.io.File dir,
java.lang.String fileExtensionTag,
java.lang.String fileExtension)
selectFileForWrite in interface GuiIfcdir - File for the initial directoryfileExtensionTag - String tag for looking up localized string of file type descriptionfileExtension - String file type
public void showRawPacketFrame()
showRawPacketFrame in interface GuiIfcpublic void showMessageFrame()
showMessageFrame in interface GuiIfcpublic void showMessageFilterPane()
showMessageFilterPane in interface GuiIfcpublic void showBulletinBoard()
showBulletinBoard in interface GuiIfcpublic void showOutstandingMessages()
showOutstandingMessages in interface GuiIfcpublic void showBandwidthMonitor()
showBandwidthMonitor in interface GuiIfcpublic void showGpsStatusDialog()
showGpsStatusDialog in interface GuiIfcpublic void showWeatherDialog()
showWeatherDialog in interface GuiIfcpublic void showLocalObjects()
showLocalObjects in interface GuiIfcpublic void showHeardList()
showHeardList in interface GuiIfcpublic void showLayerSelectorTool()
showLayerSelectorTool in interface GuiIfc
public void showRadioView(Message msg,
java.lang.String identifier)
showRadioView in interface GuiIfcmsg - 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)public boolean isShowOnlyRFOnRadioView()
public void setShowOnlyRFOnRadioView(boolean showOnlyRFOnRadioView)
public boolean isShowRadioViewOnStartup()
public void setShowRadioViewOnStartup(boolean showRadioViewOnStartup)
public void showMap()
showMap in interface GuiIfcpublic void showStationList()
showStationList in interface GuiIfc
public void showEditFilterDialog(Filter mainFilter,
java.lang.String dialogTitleTag)
showEditFilterDialog in interface GuiIfcmainFilter - the top Filter in the Filter hierarchydialogTitleTag - bundle tag for title to display on dialogpublic void showEditBlacklistDialog()
showEditBlacklistDialog in interface GuiIfcpublic void loadObjectsFromFile()
loadObjectsFromFile in interface GuiIfcpublic void saveObjectsToFile()
saveObjectsToFile in interface GuiIfcpublic void loadTacticalNames()
loadTacticalNames in interface GuiIfcpublic void saveTacticalNames()
saveTacticalNames in interface GuiIfcpublic void loadDrawing()
loadDrawing in interface GuiIfcpublic void showHistory(StationState ss)
showHistory in interface GuiIfcss - StationState of the desired station or objectpublic void showTelemetryReport()
showTelemetryReport in interface GuiIfcpublic void showHealthMonitorReport()
showHealthMonitorReport in interface GuiIfcpublic void showTXIGatedStations()
showTXIGatedStations in interface GuiIfcpublic boolean ensureKeystoreIsOpen(boolean dontBlock)
ensureKeystoreIsOpen in interface GuiIfcdontBlock - boolean true if this method should return immediately without blocking
public void showKeys()
showKeys in interface GuiIfcpublic void showDXReports()
showDXReports in interface GuiIfcpublic void showConnectionReport()
showConnectionReport in interface GuiIfc
public void moveObject(StationState ss,
ObjectReport or,
MoveObjectListener moveObjectListener)
moveObject in interface GuiIfcss - StationState object describing the station or objector - ObjectReport to be modified by the movemoveObjectListener - MoveObjectListener to inform when movement is overpublic void composeWinlinkMessage()
composeWinlinkMessage in interface GuiIfcpublic void connectToStation()
connectToStation in interface GuiIfc
public void confirmSendBroadcastQuery(java.lang.String confirmTag,
java.lang.String query)
confirmSendBroadcastQuery in interface GuiIfcconfirmTag - tag for resource file message for the confirmation queryquery - the actual APRS message to send (must be valid according to the APRS protocol specification)
public void approveTacticalSender(java.lang.String originatingCallsign,
java.lang.String tacticalMsgText)
approveTacticalSender in interface GuiIfcoriginatingCallsign - callsign String of message originatortacticalMsgText - String of text message body (the TACTICAL directive)public void sendQRU()
sendQRU in interface GuiIfcpublic void showRasterMapDialog()
showRasterMapDialog in interface GuiIfc
public void invokeObjectEditor(java.lang.String dialogTitleTag,
Message or,
int mouseX,
int mouseY,
ObjectReportTransmitter tx)
invokeObjectEditor in interface GuiIfcdialogTitleTag - 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 to
public void showIOFailureDialog(PortConfig config,
java.lang.String reason,
PortFailureReportListener listener)
showIOFailureDialog in interface GuiIfcconfig - 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 dialogpublic void closeCurrentWindow()
closeCurrentWindow in interface GuiIfc
public StationState pickAStation(java.util.ArrayList<StationState> matchList,
java.lang.String titleTag)
pickAStation in interface GuiIfcmatchList - ArrayList of StationState objects to pick fromtitleTag - String name of resource tag for title of prompting dialog
public static java.awt.Window getCurrentlyFocusedWindow()
public RawPacketTableModel getRawPacketTableModel()
public void scheduleToGuiThread(java.lang.Runnable r)
scheduleToGuiThread in interface GuiIfcr - Runnable to be scheduled as soon as possible on the GUI thread
public boolean isViewPrintable(java.lang.Object o,
int depthLeft)
isViewPrintable in interface GuiIfco - Object of view containerdepthLeft - number of levels of recursion allowed for the search
GuiIfc.printWindow()
public static PrintableView findPrintableView(java.awt.Component c,
int depthLeft)
c - Component to checkdepthLeft - int number of child generations that can still be searched
public void printWindow()
printWindow in interface GuiIfcisViewPrintable(Object, int)public void printThisView()
printThisView in interface PrintableViewpublic void setMemoryGCPanelVisible(boolean visible)
setMemoryGCPanelVisible in interface GuiIfcvisible - boolean true if memory status monitor should be visiblepublic boolean isMemoryGCPanelVisible()
isMemoryGCPanelVisible in interface GuiIfcpublic java.lang.Object[] displayHeardByDialog(StationState[] stationsToPickFrom)
displayHeardByDialog in interface GuiIfcstationsToPickFrom - array of StationState objects specifying the list of
stations to choose from, or null to get all currently known
stations
public GuiIfc.MessagingParams displayMessagingDialog(java.util.ArrayList ssList)
displayMessagingDialog in interface GuiIfcssList - list of stations to populate the list with, or null for entire list of known stations
public void displayLocateLandmarkDialog()
displayLocateLandmarkDialog in interface GuiIfcpublic void displayLocateAmenityDialog()
displayLocateAmenityDialog in interface GuiIfcpublic void startChatSession(java.lang.String callsign)
startChatSession in interface GuiIfccallsign - String senderCallsign of the remote stationpublic boolean isDrawAllTrackStripes()
isDrawAllTrackStripes in interface GuiIfcpublic void setDrawAllTrackStripes(boolean drawAllTrackStripes)
setDrawAllTrackStripes in interface GuiIfcdrawAllTrackStripes - boolean true if all moving stations should have track stripespublic void clearAllSpecificTrackStripes()
clearAllSpecificTrackStripes in interface GuiIfcpublic void addSpecificTrackStripe(java.lang.String identifier)
addSpecificTrackStripe in interface GuiIfcidentifier - String station or object identifierpublic boolean removeSpecificTrackStripe(java.lang.String identifier)
removeSpecificTrackStripe in interface GuiIfcidentifier - String station or object identifier
public boolean isSpecificallyTracked(java.lang.String identifier)
isSpecificallyTracked in interface GuiIfcidentifier - String station or object identifier
public boolean isSpecificallyTracking()
isSpecificallyTracking in interface GuiIfcpublic long getMaxTrackDuration()
getMaxTrackDuration in interface GuiIfcpublic void setMaxTrackDuration(long maxTrackDuration)
setMaxTrackDuration in interface GuiIfcmaxTrackDuration - maximum plotted track duration in millisecondspublic boolean isDrawRangeCircles()
isDrawRangeCircles in interface GuiIfcpublic void setDrawRangeCircles(boolean drawRangeCircles)
setDrawRangeCircles in interface GuiIfcdrawRangeCircles - boolean true if range circles should be drawnpublic boolean isDrawMicEStatusCircles()
isDrawMicEStatusCircles in interface GuiIfcpublic void setDrawMicEStatusCircles(boolean drawMicEStatusCircles)
setDrawMicEStatusCircles in interface GuiIfcdrawMicEStatusCircles - boolean true if Mic-E status color circles should be drawnpublic boolean isDrawSelf()
isDrawSelf in interface GuiIfcpublic void setDrawSelf(boolean drawSelf)
setDrawSelf in interface GuiIfcdrawSelf - boolean true if local station should be drawnpublic boolean isDrawSelfLikeOther()
isDrawSelfLikeOther in interface GuiIfcisDrawSelf()public void setDrawSelfLikeOther(boolean drawSelfLikeOther)
setDrawSelfLikeOther in interface GuiIfcdrawSelfLikeOther - boolean true to use APRS symbol, or false to use crosshairs
for fixed station or pointer arrowhead for moving stationsetDrawSelf(boolean)public boolean isDrawWeatherAsWeather()
isDrawWeatherAsWeather in interface GuiIfcpublic void setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
setDrawWeatherAsWeather in interface GuiIfcdrawWeatherAsWeather - boolean true if weather stations should be plotted
with weather map symbols, false if using APRS iconpublic boolean isDrawAge()
isDrawAge in interface GuiIfcpublic void setDrawAge(boolean drawAge)
setDrawAge in interface GuiIfcdrawAge - boolean true if age is to be plottedpublic boolean isDrawDeadObjects()
isDrawDeadObjects in interface GuiIfcpublic void setDrawDeadObjects(boolean drawDeadObjects)
setDrawDeadObjects in interface GuiIfcdrawDeadObjects - boolean true if "killed" Objects should be plottedpublic boolean isDrawAlohaCircle()
isDrawAlohaCircle in interface GuiIfcpublic void setDrawAlohaCircle(boolean drawAlohaCircle)
setDrawAlohaCircle in interface GuiIfcdrawAlohaCircle - boolean true if aloha circles should be drawnpublic boolean isDrawItemStatus()
isDrawItemStatus in interface GuiIfcStationState.SpecialStatepublic void setDrawItemStatus(boolean drawItemStatus)
setDrawItemStatus in interface GuiIfcdrawItemStatus - boolean true if status halo should be drawmStationState.SpecialStatepublic boolean isDrawAmbiguityCircle()
isDrawAmbiguityCircle in interface GuiIfcpublic void setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
setDrawAmbiguityCircle in interface GuiIfcdrawAmbiguityCircle - boolean true if ambiguity circles should be plottedpublic boolean isDrawDeadReckoning()
isDrawDeadReckoning in interface GuiIfcpublic void setDrawDeadReckoning(boolean drawDeadReckoning)
setDrawDeadReckoning in interface GuiIfcdrawDeadReckoning - boolean true if deadreckoning should be plottedpublic long getMaxAgeDRStation()
getMaxAgeDRStation in interface GuiIfcpublic void setMaxAgeDRStation(long maxAgeDRStation)
setMaxAgeDRStation in interface GuiIfcmaxAgeDRStation - maximum dead reckon interval in millisecondspublic long getMaxAgeDRObject()
getMaxAgeDRObject in interface GuiIfcpublic void setMaxAgeDRObject(long maxAgeDRObject)
setMaxAgeDRObject in interface GuiIfcmaxAgeDRObject - maximum dead reckon interval in millisecondspublic long getMaxAgeDRSpecialObject()
getMaxAgeDRSpecialObject in interface GuiIfcpublic void setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject)
setMaxAgeDRSpecialObject in interface GuiIfcpublic boolean isDrawDF()
isDrawDF in interface GuiIfcpublic void setDrawDF(boolean drawDF)
setDrawDF in interface GuiIfcdrawDF - boolean true if direction-finding cones should be drawmpublic boolean isDrawNWSMultiLine()
isDrawNWSMultiLine in interface GuiIfcpublic void setDrawNWSMultiLine(boolean drawNWSMultiLine)
setDrawNWSMultiLine in interface GuiIfcdrawNWSMultiLine - boolean true if multilines should be plottedpublic boolean isDrawCallsign()
isDrawCallsign in interface GuiIfcpublic void setDrawCallsign(boolean drawCallsign)
setDrawCallsign in interface GuiIfcdrawCallsign - boolean true if callsign label should be drawn on mappublic boolean isDrawAliasInsteadOfCallsign()
isDrawAliasInsteadOfCallsign in interface GuiIfcpublic void setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
setDrawAliasInsteadOfCallsign in interface GuiIfcdrawAliasInsteadOfCallsign - boolean true if alias should be drawn instead of callsignpublic boolean isKeepSpecificallyTrackedStationsOnScreen()
isKeepSpecificallyTrackedStationsOnScreen in interface GuiIfcpublic void setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
setKeepSpecificallyTrackedStationsOnScreen in interface GuiIfckeepSpecificallyTrackedStationsOnScreen - boolean true if map should pan to keep tracked stations on the mappublic boolean isDrawDoubleSizedSymbols()
isDrawDoubleSizedSymbols in interface GuiIfcpublic void setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
setDrawDoubleSizedSymbols in interface GuiIfcdrawDoubleSizedSymbols - boolean true if symbols should be rendered double-sizepublic boolean isShowUnlabeledWays()
isShowUnlabeledWays in interface GuiIfcpublic void setShowUnlabeledWays(boolean showUnlabeledWays)
setShowUnlabeledWays in interface GuiIfcshowUnlabeledWays - boolean true if unlabeled/untyped map elements should be plottedpublic boolean isShowLabelsInEnglish()
isShowLabelsInEnglish in interface GuiIfcpublic void setShowLabelsInEnglish(boolean showLabelsInEnglish)
setShowLabelsInEnglish in interface GuiIfcshowLabelsInEnglish - boolean true if English labels should be usedpublic boolean isAutoLoadMapTiles()
isAutoLoadMapTiles in interface GuiIfcpublic void setAutoLoadMapTiles(boolean autoLoadMapTiles)
setAutoLoadMapTiles in interface GuiIfcautoLoadMapTiles - boolean true to enable auto-downloadpublic boolean isShowTopoContours()
isShowTopoContours in interface GuiIfcpublic boolean isGraticuleVisible()
isGraticuleVisible in interface GuiIfcpublic void setGraticuleVisible(boolean visible)
setGraticuleVisible in interface GuiIfcvisible - boolean true if graticule is displayedpublic boolean isShowTopoRegions()
isShowTopoRegions in interface GuiIfcpublic void setShowTopoRegions(boolean visible)
setShowTopoRegions in interface GuiIfcvisible - boolean true if topographic layer should be rendered as regionspublic void setShowTopoContours(boolean visible)
setShowTopoContours in interface GuiIfcvisible - boolean true if topographic layer should be rendered as contour linespublic void editTopoColors()
editTopoColors in interface GuiIfcpublic void startLineOfSight()
startLineOfSight in interface GuiIfc
public void startLineOfSightFromMe(int mouseX,
int mouseY)
startLineOfSightFromMe in interface GuiIfcmouseX - int horizontal pixel coordinate in mapmouseY - int vertical pixel coordinate in mappublic void startLineOfSightFromMe(StationState targetStation)
startLineOfSightFromMe in interface GuiIfctargetStation - StationState of station or object to trace the path to
public void displayHelp(java.lang.String startingHelpId,
java.lang.Object parentWindow)
displayHelp in interface GuiIfcstartingHelpId - 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 HelpBrokerpublic void checkForUpdates(boolean interactive)
checkForUpdates in interface GuiIfcinteractive - boolean true if no-upgrade-needed status should be reported (out-of-date status is always reported)public void showPluginStore()
showPluginStore in interface GuiIfcpublic void rotateView(double angleDeg)
public long getLastElapsedPaintTime()
getLastElapsedPaintTime in interface GuiIfcpublic int getLastNumDrawnObjects()
getLastNumDrawnObjects in interface GuiIfcpublic int getLastNumDrawnStations()
getLastNumDrawnStations in interface GuiIfc
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||