public class CoreProvider extends Provider
Provider subclass explicitly coded into
YAAC; all others are loaded from JAR files as defined by the Provider class's
documentation.| Modifier and Type | Class and Description |
|---|---|
static class |
CoreProvider.TransmitGeneratedObjectReport
Helper class for transmitting a locally generated Object or Item Report packet
and keeping it registered in the local object list.
|
static class |
CoreProvider.ViewAutoCenter
Control whether map is auto-centered on the local station, using its updated GPS
coordinates to pan the map.
|
static class |
CoreProvider.ViewSelectLayers
Launch the layer selection dialog to control which OpenStreetMap features
(road types, business types, etc.) are rendered in the map.
|
static class |
CoreProvider.ViewSelfAsPointer
Control whether the local station is rendered as a pointer in its direction of motion.
|
static class |
CoreProvider.ViewSelfAsSymbol
Control whether the local station is rendered using its beacon symbol.
|
static class |
CoreProvider.ViewSelfOff
Control whether the local station is suppressed from rendering on the map.
|
static class |
CoreProvider.ViewShowAge
Control whether the age of each station or object is plotted next to the station symbol.
|
static class |
CoreProvider.ViewShowAliasInsteadOfCallsign
Control whether stations/objects with assigned tactical names (aliases) should
display the alias instead of the callsign.
|
static class |
CoreProvider.ViewShowAlohaCircle
Control whether the local station's Aloha circle(s) are drawn on the map.
|
static class |
CoreProvider.ViewShowAmbiguity
Control whether position ambiguity circles are drawn for stations and objects on the map.
|
static class |
CoreProvider.ViewShowCallsign
Control whether station callsigns or object names are rendered next to the
station/object symbol on the map.
|
static class |
CoreProvider.ViewShowDeadObjects
Control whether map displays APRS Objects that have been declared to be dead.
|
static class |
CoreProvider.ViewShowDeadReckoning
Control whether moving station position updates are estimated (dead-reckoned)
until a new position report is received.
|
static class |
CoreProvider.ViewShowDF
Control whether APRS direction finding information is plotted if present in
the station position reports.
|
static class |
CoreProvider.ViewShowDigipeatHops
Control whether digipeat paths between RF-linked stations are drawn on the map.
|
static class |
CoreProvider.ViewShowGraticule
Control whether the map graticule (lat/lon grid) is rendered on the map.
|
static class |
CoreProvider.ViewShowHeatMap
Control whether stations are rendered merely as a "heat map" of dots on the map (all
other information suppressed).
|
static class |
CoreProvider.ViewShowItemStatus
Control whether generic item status (station versus object, fixed versus moving,
emergency, old, etc.) is drawn for each station/object on the map.
|
static class |
CoreProvider.ViewShowMicEStatus
Control whether Mic-E status (off duty, en route, committed, returning, etc.) is
drawn for stations reporting such information.
|
static class |
CoreProvider.ViewShowNWSMultiline
Control whether NWS multilines are drawn if included in a position report.
|
static class |
CoreProvider.ViewShowRangeCircles
Control whether estimated range circles are drawn around stations on the map.
|
static class |
CoreProvider.ViewShowSevereWeatherZones
Control whether the boundaries of active severe weather forecast zones are drawn.
|
static class |
CoreProvider.ViewShowSpeed
Control whether the speed of moving stations/objects is displayed next to the
station symbol on the map.
|
static class |
CoreProvider.ViewShowTrackStripes
Control whether station motion stripes are drawn on the map.
|
static class |
CoreProvider.ViewShowWeatherSymbols
Control whether weather stations are rendered using old-style weather map
notation.
|
Provider.PortEntry| Modifier and Type | Field and Description |
|---|---|
static AbstractMenuAction |
EXIT_ACTION
This Action performs the operations needed to cleanly shut down YAAC and free up the
system resources it is using.
|
static java.lang.String |
MENU_VIEW_DRAW_TOOLBAR
The menu tag name for View->View Draw Toolbar, so that other closers of the toolbar can inform the
menu item to clear its checkbox.
|
static java.lang.String[] |
PRE_LOCALIZED_FILE_LOAD_MENU
This menu tag hierarchy covers the File->Load menu.
|
static java.lang.String[] |
PRE_LOCALIZED_FILE_SAVE_MENU
This menu tag hierarchy covers the File->Save menu.
|
static java.lang.String[] |
PRE_LOCALIZED_FILTER_MENU
Menu tag hierarchy for the Filter menu.
|
static java.lang.String[] |
PRE_LOCALIZED_LOCATE_MENU
This menu tag hierarchy covers the Locate menu.
|
static java.lang.String[] |
PRE_LOCALIZED_VIEW_LAYERS_MENU
This menu tag hierarchy covers the View->Layers sub-menu.
|
static java.lang.String[] |
PRE_LOCALIZED_VIEW_MENU
This menu tag hierarchy covers the View menu.
|
static java.lang.String[] |
PRE_LOCALIZED_VIEW_OBJECTS_MENU
This menu tag hierarchy covers the View->Objects sub-menu.
|
static java.lang.String[] |
PRE_LOCALIZED_VIEW_PACKETS_MENU
This menu tag hierarchy covers the View->Packets sub-menu.
|
static java.lang.String[] |
PRE_LOCALIZED_VIEW_STATIONS_MENU
This menu tag hierarchy covers the View->Stations sub-menu.
|
static java.lang.String[] |
TOP_MENU
The pre-localization hierarchy of sub-menu names for a menu at the top level, made available
for use by plugins creating new menus.
|
AFTERINSTALL_FULLY_READY, AFTERINSTALL_MAY_NEED_CONFIGURE, AFTERINSTALL_MUST_CONFIGURE, AFTERINSTALL_MUST_RESTART, AFTERINSTALL_ONLY_NEW_MAPS, PLUGIN_NEEDS_NEWER_YAAC_PROTOCOL, PLUGIN_UNKNOWN_INCOMPATIBILITY, PROVIDER_API_VERSION| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAboutAttributions()
Specify attributions, credits/acknowledgements, and license references to be displayed in the
About dialog box.
|
java.util.Map<java.lang.String,java.lang.String> |
getConfigurationPanels()
Get any panels needed by this Provider to provision or configure the services
offered by the Provider.
|
HttpServer |
getCoreWebServer()
Get the web server instance associated with the core services of YAAC.
|
Filter[] |
getFilters()
Get any filters to add to the main CumulativeBooleanAndFilter in the main class of YAAC.
|
javax.help.HelpSet |
getHelpSet()
Provide the base HelpSet for complete
online documentation.
|
java.lang.String |
getImageIconPath()
Return an icon image associated with this Provider.
|
static CoreProvider |
getInstance()
Get the core instance of Provider for YAAC.
|
static java.util.ArrayList<java.lang.String> |
getListOfServerTileDirs()
Get the list of older tile directories available on the YAAC author's web server that
use a
ChangeSet.YAAC_STRUCTURE_VERSION acceptable to this
version of YAAC. |
static ChangeSet |
getLocalOSMChangeSet(boolean announceErrors)
Get the local OSM ChangeSet record for the versions of the OpenStreetMap data stored
locally.
|
AbstractMenuAction[] |
getMenuItems()
Get Actions to define new menu items from this Provider.
|
Provider.PortEntry[] |
getPortConnectorTypes()
Get PortConnector drivers provided by this Provider.
|
static ChangeSet |
getServerOSMChangeSet(java.lang.String webTileDir)
Query the author's website for the currently available changeset of the pre-imported OpenStreetMap tile files.
|
java.lang.String |
getUserAgent()
Return a standard string for identifying this installation of YAAC to a web server in the
User-Agent HTTP header property.
|
boolean |
hasRXTX()
Report whether this plugin was able to load the (now obsolete) RXTX native library for accessing serial ports.
|
static boolean |
isIPv4Forced()
Indicate if YAAC is configured to support Internet networks supporting IPv6.
|
boolean |
isNonencryptedHTTPForced()
Indicate if YAAC is configured to support Internet networks prohibiting encrypted traffic (such as the
Amateur Radio HSMM [High-Speed MultiMedia] networks).
|
static void |
main(java.lang.String[] args)
Method to allow printing out version of YAAC (alternative to
YAAC class's -version
command-line option). |
void |
runInitializersAfter()
Execute this function after calling all of the other functions of the
CoreProvider.
|
static void |
setIPv4Forced(boolean onlyIPv4)
Specify if YAAC is configured to support Internet networks supporting IPv6.
|
void |
setNonencryptedHTTPForced(boolean onlyHTTP)
Specify if YAAC is configured to support Internet networks prohibiting encrypted traffic.
|
buildNewerYaacNeededMsg, consumeXMLPreferenceData, findHelpSet, getAuthor, getInfo, getInitFailureReason, getName, getVersion, runInitializersBefore, willPluginWorkAfterLiveInstallationpublic static final java.lang.String[] TOP_MENU
public static final AbstractMenuAction EXIT_ACTION
public static final java.lang.String[] PRE_LOCALIZED_FILE_LOAD_MENU
public static final java.lang.String[] PRE_LOCALIZED_FILE_SAVE_MENU
public static final java.lang.String[] PRE_LOCALIZED_VIEW_MENU
public static final java.lang.String[] PRE_LOCALIZED_VIEW_PACKETS_MENU
public static final java.lang.String[] PRE_LOCALIZED_VIEW_STATIONS_MENU
public static final java.lang.String[] PRE_LOCALIZED_VIEW_OBJECTS_MENU
public static final java.lang.String[] PRE_LOCALIZED_VIEW_LAYERS_MENU
public static final java.lang.String[] PRE_LOCALIZED_FILTER_MENU
public static final java.lang.String[] PRE_LOCALIZED_LOCATE_MENU
public static final java.lang.String MENU_VIEW_DRAW_TOOLBAR
public static CoreProvider getInstance()
public Provider.PortEntry[] getPortConnectorTypes()
getPortConnectorTypes in class Providerpublic java.util.Map<java.lang.String,java.lang.String> getConfigurationPanels()
getConfigurationPanels in class ProviderLocalizer.getMsg(String),
Localizer.getMsg(String, String),
Localizer.getMsgBundle(),
Localizer.getMsgBundle(String)public Filter[] getFilters()
getFilters in class Providerpublic static ChangeSet getLocalOSMChangeSet(boolean announceErrors)
announceErrors - boolean true if this method should raise GUI displays to announce fatal errorspublic static java.util.ArrayList<java.lang.String> getListOfServerTileDirs()
ChangeSet.YAAC_STRUCTURE_VERSION acceptable to this
version of YAAC.public static ChangeSet getServerOSMChangeSet(java.lang.String webTileDir)
webTileDir - String of subdirectory on webserver where tile files are located, or null to
use default of "tiledir"public AbstractMenuAction[] getMenuItems()
getMenuItems in class ProviderAbstractMenuAction,
AbstractPopupMenuActionpublic java.lang.String[] getAboutAttributions()
getAboutAttributions in class Providerpublic javax.help.HelpSet getHelpSet()
getHelpSet in class Providerpublic java.lang.String getImageIconPath()
getImageIconPath in class Providerpublic void runInitializersAfter()
runInitializersAfter in class ProviderAPRSStack.addAprsMessageListener(org.ka2ddo.aprs.AprsMessageListener),
AX25Stack.addAX25FrameListener(org.ka2ddo.ax25.AX25FrameListener),
MsgEventDispatcher.addMsgEventListener(org.ka2ddo.yaac.ax25.MsgEventListener),
StationTracker.addTrackerListener(org.ka2ddo.yaac.ax25.TrackerListener)public HttpServer getCoreWebServer()
public boolean hasRXTX()
getPortConnectorTypes()public java.lang.String getUserAgent()
public boolean isNonencryptedHTTPForced()
public void setNonencryptedHTTPForced(boolean onlyHTTP)
onlyHTTP - boolean true if only unencrypted HTTP may be used for web requestspublic static boolean isIPv4Forced()
public static void setIPv4Forced(boolean onlyIPv4)
onlyIPv4 - boolean true if only IPv4 addresses will be used for socket connectionspublic static void main(java.lang.String[] args)
YAAC class's -version
command-line option).args - ignored