|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
com.bbn.openmap.Layer
org.ka2ddo.yaac.gui.StationRenderer
public class StationRenderer
This class draws APRS station symbols on a OpenMap MapBean object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
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 |
Field Summary | |
---|---|
javax.swing.AbstractAction |
CONTEXT_MENU_ACTION
|
static java.awt.Stroke |
MICESTATUS_CUSTOM_STRIPE
|
static java.awt.Stroke |
MICESTATUS_STRIPE
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface com.bbn.openmap.PropertyConsumer |
---|
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
StationRenderer()
Create the StationRenderer layer for the map. |
Method Summary | |
---|---|
void |
addSpecificTrackStripe(java.lang.String identifier)
Add the identifier of a single station or object whose track stripe is to be plotted. |
static javax.swing.JPopupMenu |
buildPopupMenu(int mx,
int my,
Projection p,
java.util.ArrayList<StationState> matchList)
Create a popup menu contextually suitable for the point on the map that was clicked. |
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 the specified Filter's 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. |
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 |
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 |
isKeepSpecificallyTrackedStationsOnScreen()
|
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. |
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(ProjectionEvent e)
Invoked when there has been a fundamental change to the Map. |
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 |
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 |
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)
|
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 |
startLineOfSight()
|
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. |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, 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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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 |
Methods inherited from class java.awt.Container |
---|
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, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
---|
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, 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, hide, 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, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.beans.beancontext.BeanContextChild |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
public static final java.awt.Stroke MICESTATUS_STRIPE
public static final java.awt.Stroke MICESTATUS_CUSTOM_STRIPE
public final javax.swing.AbstractAction CONTEXT_MENU_ACTION
Constructor Detail |
---|
public StationRenderer()
Method Detail |
---|
public 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 identifier
public boolean isSpecificallyTracked(java.lang.String identifier)
identifier
- String station or object identifier
public boolean isSpecificallyTracking()
public 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 drawMicEStatusCircles)
drawMicEStatusCircles
- 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 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 isKeepSpecificallyTrackedStationsOnScreen()
public void setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
public boolean isDrawDoubleSizedSymbols()
public void setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
drawDoubleSizedSymbols
- boolean true if symbols should be rendered double-sizepublic void startLineOfSight()
public void projectionChanged(ProjectionEvent e)
Layers are expected to recompute their graphics (if this makes
sense), and then repaint()
themselves.
projectionChanged
in interface 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 information; the initial AX25Message
will not yet be stored within the StationState objectindex
- 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 information; the new AX25Message
will not yet be stored within the StationState objectpublic 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 MapMouseListener getMapMouseListener()
getMapMouseListener
in class Layer
public java.lang.String[] getMouseModeServiceList()
getMouseModeServiceList
in interface MapMouseListener
public boolean mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface MapMouseListener
public boolean mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface MapMouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface MapMouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface MapMouseListener
public void mouseMoved()
mouseMoved
in interface MapMouseListener
public boolean mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface MapMouseListener
public boolean mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface MapMouseListener
public boolean mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface MapMouseListener
public void filterSettingsChanged(Filter changedFilter, boolean changedByUser)
FilterChangeListener
filterSettingsChanged
in interface FilterChangeListener
changedFilter
- 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 static javax.swing.JPopupMenu buildPopupMenu(int mx, int my, Projection p, java.util.ArrayList<StationState> matchList)
mx
- screen X coordinate where popup menu was requestedmy
- screen Y coordinate where popup menu was requestedp
- the current Projection for the mapmatchList
- an ArrayList of StationStates describing stations and objects
at the point on the map that was clicked
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |