public class StationRenderer extends com.bbn.openmap.Layer implements TrackerListener, com.bbn.openmap.event.MapMouseListener, FilterChangeListener, java.awt.event.ComponentListener, FontChangeListener, java.util.Observer
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
javax.swing.AbstractAction |
CONTEXT_MENU_ACTION
Action to launch a geographical map specific popup menu.
|
addAsBackground, AddAsBackgroundProperty, addToBeanContext, AddToBeanContextProperty, attributes, autoPalette, AutoPaletteProperty, beanContextChildSupport, coordTransform, DataPathPrefixProperty, DisplayPaletteCmd, DisplayPropertiesCmd, doHack, HidePaletteCmd, i18n, localHackList, maxScale, MaxScaleProperty, minScale, MinScaleProperty, palette, paletteListener, PrettyNameProperty, propertyPrefix, readyToPaint, RedrawCmd, removable, RemovableProperty, SWING_PACKAGE, TransformProperty, windowSupport
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
StationRenderer(GeoMapGuiIfc geoMap)
Create the StationRenderer layer for the map.
|
Modifier and Type | Method and Description |
---|---|
void |
addAlert(AttentionAlert aa)
Add another AttentionAlert to the map.
|
void |
addSpecificTrackStripe(java.lang.String identifier)
Add the identifier of a single station or object whose track stripe is to be plotted.
|
void |
clearAllSpecificTrackStripes()
Clear the plotting of all specific station/object track stripes.
|
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 |
conditionalRepaint()
Say this layer needs repainting, but don't rush it if lots of requests come in.
|
void |
filterSettingsChanged(Filter changedFilter,
boolean changedByUser)
Called when any of the filters' matching criteria have been changed.
|
void |
fontChanged(java.lang.String category,
java.awt.Font newFont)
Report that the font choice for the specified category has changed.
|
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.
|
com.bbn.openmap.event.MapMouseListener |
getMapMouseListener() |
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.
|
java.lang.String[] |
getMouseModeServiceList() |
boolean |
isDontRotateIcons()
Report whether mobile station icons should be rotated to indicate the direction
of station travel (bearing).
|
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 |
isDrawDigipeatHops()
Report if digipeater hop paths are drawn for stations.
|
boolean |
isDrawDoubleSizedSymbols()
Report if symbols are being drawn double-sized.
|
boolean |
isDrawHeatMap()
Report if heat maps are drawn for stations.
|
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 |
isDrawSpeed()
Report whether the motion speed and bearing of
a station or object is plotted below the station/object's name.
|
boolean |
isDrawWeatherAsWeather()
Report whether weather stations are drawn as old-style weather map
circles with a flagged barb indicating wind direction and speed.
|
boolean |
isKeepSpecificallyTrackedStationsOnScreen()
Report whether the map should auto-pan to keep specifically tracked mobile stations on the map.
|
boolean |
isUseLargeMenuFont()
Report whether popup menus will use enlarged fonts.
|
void |
messageAdded(StationState ss,
int index,
AX25Message msg)
Called when a AX25Message is added to the history for a station in the tracker.
|
void |
messageDeleted(StationState ss,
int index,
AX25Message msg)
Called when a AX25Message is deleted from the history for a station in the tracker.
|
boolean |
mouseClicked(java.awt.event.MouseEvent e) |
boolean |
mouseDragged(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved() |
boolean |
mouseMoved(java.awt.event.MouseEvent e) |
boolean |
mousePressed(java.awt.event.MouseEvent e) |
boolean |
mouseReleased(java.awt.event.MouseEvent e) |
void |
paint(java.awt.Graphics g)
Render this layer's content into the MapBean.
|
void |
projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
Invoked when there has been a fundamental change to the Map.
|
protected void |
reallyStartLineOfSight() |
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 |
repaint()
Repaints the StationRenderer if it needs it and it hasn't been too little time since the last repaint.
|
void |
setDontRotateIcons(boolean dontRotateIcons)
Specify whether mobile station icons should be rotated to indicate the direction
of station travel (bearing).
|
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 |
setDrawDigipeatHops(boolean drawDigipeatHops)
Specify whether digipeater hop paths should be drawn for stations.
|
void |
setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
Specify whether symbols should be drawn double-sized (32x32 pixels) instead of single-sized (16x16).
|
void |
setDrawHeatMap(boolean drawHeatMap)
Specify whether heat maps should be drawn for stations.
|
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 drawMicEStsCircles)
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 |
setDrawSpeed(boolean drawSpeed)
Specify whether the motion speed and bearing of
a station or object should be plotted below the station/object's name.
|
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 |
setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
Specify whether the map should auto-pan to keep specifically tracked mobile stations 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 |
setUseLargeMenuFont(boolean useLargeMenuFont)
Specify whether popup menus will use enlarged fonts.
|
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 |
stationAdded(StationState ss,
int index)
Called when a new station is initially added to the tracker.
|
void |
stationDeleted(StationState ss,
int index)
Called when an existing station is deleted from the tracker.
|
void |
stationUpdated(StationState ss)
Called when an existing station is updated with new information in the tracker.
|
void |
update(java.util.Observable o,
java.lang.Object arg)
This method is called whenever the observed object (an AttentionAlert) is changed.
|
actionPerformed, addComponentListener, added, addInfoDisplayListener, addLayerStatusListener, addMouseListener, addVetoableChangeListener, childrenAdded, childrenRemoved, clearListeners, connectToBeanContext, createWindowSupport, disconnectFromBeanContext, dispose, finalize, findAndInit, findAndInit, findAndUndo, fireHideToolTip, firePaletteEvent, fireRequestBrowserContent, fireRequestBrowserContent, fireRequestCursor, fireRequestInfoLine, fireRequestInfoLine, fireRequestInfoLine, fireRequestMessage, fireRequestMessage, fireRequestToolTip, fireRequestToolTip, fireRequestURL, fireRequestURL, fireStatusUpdate, fireStatusUpdate, fireVetoableChange, getAddAsBackground, getAddToBeanContext, getAttribute, getBeanContext, getCoordTransform, getGUI, getIcon, getMaxScale, getMinScale, getPackage, getPalette, getProjection, getProperties, getPropertyInfo, getPropertyPrefix, getWindowSupport, hasGUI, hidePalette, isAutoPalette, isProjectionOK, isReadyToPaint, isRemovable, notifyHideHack, prependDataPathPrefix, putAttribute, removeComponentListener, removeConfirmed, removed, removeInfoDisplayListener, removeLayerStatusListener, removeVetoableChangeListener, renderDataForProjection, repaint, resetPalette, setAddAsBackground, setAddToBeanContext, setAutoPalette, setBeanContext, setCoordTransform, setIcon, setLayerProperties, setMaxScale, setMinScale, setName, setPaletteVisible, setProjection, setProjection, setProperties, setProperties, setPropertyPrefix, setReadyToPaint, setRemovable, setVisible, setWindowSupport, showPalette
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public final javax.swing.AbstractAction CONTEXT_MENU_ACTION
public StationRenderer(GeoMapGuiIfc geoMap)
geoMap
- GeographicalMap containing this StationRendererpublic boolean isDrawAllTrackStripes()
public void setDrawAllTrackStripes(boolean drawAllTrackStripes)
drawAllTrackStripes
- boolean true if all moving stations should have track stripespublic void clearAllSpecificTrackStripes()
public void addSpecificTrackStripe(java.lang.String identifier)
identifier
- String station or object identifierpublic boolean removeSpecificTrackStripe(java.lang.String identifier)
identifier
- String station or object identifierpublic long getMaxTrackDuration()
public void setMaxTrackDuration(long maxTrackDuration)
maxTrackDuration
- maximum plotted track duration in millisecondspublic boolean isDrawRangeCircles()
public void setDrawRangeCircles(boolean drawRangeCircles)
drawRangeCircles
- boolean true if range circles should be drawnpublic boolean isDrawMicEStatusCircles()
public void setDrawMicEStatusCircles(boolean drawMicEStsCircles)
drawMicEStsCircles
- boolean true if Mic-E status color circles should be drawnpublic boolean isDrawSelf()
public void setDrawSelf(boolean drawSelf)
drawSelf
- boolean true if local station should be drawnpublic boolean isDrawSelfLikeOther()
isDrawSelf()
public 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)
public boolean isDrawWeatherAsWeather()
public void setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
drawWeatherAsWeather
- boolean true if weather stations should be plotted
with weather map symbols, false if using APRS iconpublic boolean isDrawAge()
public void setDrawAge(boolean drawAge)
drawAge
- boolean true if age is to be plottedpublic boolean isDrawSpeed()
public void setDrawSpeed(boolean drawSpeed)
drawSpeed
- boolean true if age is to be plottedpublic boolean isDrawDeadObjects()
public void setDrawDeadObjects(boolean drawDeadObjects)
drawDeadObjects
- boolean true if "killed" Objects should be plottedpublic boolean isDrawAlohaCircle()
public void setDrawAlohaCircle(boolean drawAlohaCircle)
drawAlohaCircle
- boolean true if aloha circles should be drawnpublic boolean isDrawItemStatus()
StationState.SpecialState
public void setDrawItemStatus(boolean drawItemStatus)
drawItemStatus
- boolean true if status halo should be drawmStationState.SpecialState
public boolean isDrawAmbiguityCircle()
public void setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
drawAmbiguityCircle
- boolean true if ambiguity circles should be plottedpublic boolean isDrawDeadReckoning()
public void setDrawDeadReckoning(boolean drawDeadReckoning)
drawDeadReckoning
- boolean true if deadreckoning should be plottedpublic long getMaxAgeDRStation()
public void setMaxAgeDRStation(long maxAgeDRStation)
maxAgeDRStation
- maximum dead reckon interval in millisecondspublic long getMaxAgeDRObject()
public void setMaxAgeDRObject(long maxAgeDRObject)
maxAgeDRObject
- maximum dead reckon interval in millisecondspublic long getMaxAgeDRSpecialObject()
public void setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject)
public boolean isDrawDF()
public void setDrawDF(boolean drawDF)
drawDF
- boolean true if direction-finding cones should be drawmpublic boolean isDrawNWSMultiLine()
public void setDrawNWSMultiLine(boolean drawNWSMultiLine)
drawNWSMultiLine
- boolean true if multilines should be plottedpublic boolean isDrawCallsign()
public void setDrawCallsign(boolean drawCallsign)
drawCallsign
- boolean true if callsign label should be drawn on mappublic boolean isDrawAliasInsteadOfCallsign()
public void setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
drawAliasInsteadOfCallsign
- boolean true if alias should be drawn instead of callsignpublic boolean isDontRotateIcons()
public void setDontRotateIcons(boolean dontRotateIcons)
dontRotateIcons
- boolean true if icons should not be rotatedpublic boolean isKeepSpecificallyTrackedStationsOnScreen()
public void setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
keepSpecificallyTrackedStationsOnScreen
- boolean true if map should pan to keep tracked stations on the mappublic boolean isDrawDoubleSizedSymbols()
public void setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
drawDoubleSizedSymbols
- boolean true if symbols should be rendered double-sizepublic boolean isDrawDigipeatHops()
public void setDrawDigipeatHops(boolean drawDigipeatHops)
drawDigipeatHops
- boolean true if digipeater hop paths should be drawn for stationspublic boolean isDrawHeatMap()
public void setDrawHeatMap(boolean drawHeatMap)
drawHeatMap
- boolean true if heat maps should be drawn for stationspublic boolean isUseLargeMenuFont()
public void setUseLargeMenuFont(boolean useLargeMenuFont)
useLargeMenuFont
- boolean true if fonts will be enlargedpublic void startLineOfSight()
protected void reallyStartLineOfSight()
public void addAlert(AttentionAlert aa)
aa
- AttentionAlert to displaypublic void update(java.util.Observable o, java.lang.Object arg)
Observable
object's
notifyObservers
method to have all the object's
observers notified of the change (time to flash or expired).update
in interface java.util.Observer
o
- the observable object.arg
- an argument passed to the notifyObservers
method.public void projectionChanged(com.bbn.openmap.event.ProjectionEvent e)
Layers are expected to recompute their graphics (if this makes
sense), and then repaint()
themselves.
projectionChanged
in interface com.bbn.openmap.event.ProjectionListener
e
- ProjectionEventpublic void paint(java.awt.Graphics g)
paint
in class javax.swing.JComponent
g
- Graphics object to use for renderingpublic void messageAdded(StationState ss, int index, AX25Message msg)
messageAdded
in interface TrackerListener
ss
- StationState containing the station's informationindex
- zero-based integer sequence number for this station in the StationTrackermsg
- APRS Message object being added to the tracker; note that non-APRS packets
that can still be decoded (such as OpenTRAC) will also be passed
here; AX25Frames that cannot be decoded will pass null herepublic void messageDeleted(StationState ss, int index, AX25Message msg)
messageDeleted
in interface TrackerListener
ss
- StationState containing the station's information; the initial Message
will already be removed from the StationState objectindex
- zero-based index of the message removed from the StationState objectmsg
- APRS Message object being removed from the tracker; note that non-APRS packets
that can still be decoded (such as OpenTRAC) will also be passed
here; AX25Frames that cannot be decoded will pass null herepublic void stationAdded(StationState ss, int index)
stationAdded
in interface TrackerListener
ss
- StationState containing the station's informationindex
- zero-based integer sequence number for this station in the StationTrackerpublic void stationUpdated(StationState ss)
stationUpdated
in interface TrackerListener
ss
- StationState containing the station's informationpublic void stationDeleted(StationState ss, int index)
stationDeleted
in interface TrackerListener
ss
- StationState containing the station's informationindex
- zero-based integer sequence number for this station in the StationTrackerpublic com.bbn.openmap.event.MapMouseListener getMapMouseListener()
getMapMouseListener
in class com.bbn.openmap.Layer
public java.lang.String[] getMouseModeServiceList()
getMouseModeServiceList
in interface com.bbn.openmap.event.MapMouseListener
public boolean mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface com.bbn.openmap.event.MapMouseListener
public boolean mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface com.bbn.openmap.event.MapMouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface com.bbn.openmap.event.MapMouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface com.bbn.openmap.event.MapMouseListener
public void mouseMoved()
mouseMoved
in interface com.bbn.openmap.event.MapMouseListener
public boolean mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface com.bbn.openmap.event.MapMouseListener
public boolean mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface com.bbn.openmap.event.MapMouseListener
public boolean mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface com.bbn.openmap.event.MapMouseListener
public void filterSettingsChanged(Filter changedFilter, boolean changedByUser)
filterSettingsChanged
in interface FilterChangeListener
changedFilter
- specific Filter that has changedchangedByUser
- boolean true if change was manually made by user, false if
change was made automatically by dynamic filter logicpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
public void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
public void conditionalRepaint()
public void repaint()
repaint
in class java.awt.Component
public void fontChanged(java.lang.String category, java.awt.Font newFont)
fontChanged
in interface FontChangeListener
category
- String font family name (as defined by Font class)newFont
- actual font instancepublic long getLastElapsedPaintTime()
public int getLastNumDrawnObjects()
public int getLastNumDrawnStations()