public class LOSGraphicLoader extends MMLGraphicLoader implements java.awt.event.ActionListener, DrawingToolRequestor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AddNodeCmd |
static java.lang.String |
AddPathCmd |
protected DTEDFrameCache |
dfc |
protected OMDrawingTool |
dt |
static java.util.logging.Logger |
logger |
protected LOSGenerator |
los |
static int |
pointCount |
DO_NOT_UPDATE_TIMER, name, NameProperty, proj, receiver, timer, TimerCmd, updateInterval
i18n, propertyPrefix
beanContextChildSupport, isolated
EditorProperty, initPropertiesProperty, LabelEditorProperty, ScopedEditorProperty
Constructor and Description |
---|
LOSGraphicLoader() |
LOSGraphicLoader(DTEDFrameCache dfc,
OMGraphicHandler receiver) |
LOSGraphicLoader(OMGraphicHandler receiver) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Method gets called by the timer if it's running.
|
void |
drawingComplete(OMGraphic omg,
OMAction action)
The method where a graphic, and an action to take on the
graphic, arrives.
|
void |
findAndInit(java.lang.Object obj)
MapHandlerChild methods modified to look for the DTEDFrameCache
and OMDrawingTool.
|
void |
findAndUndo(java.lang.Object obj)
MapHandlerChild methods modified to look for the DTEDFrameCache
and OMDrawingTool.
|
OMDrawingTool |
getDrawingTool() |
DTEDFrameCache |
getDTEDFrameCache() |
java.awt.Component |
getGUI()
Provide a GUI for controlling the GraphicLoader.
|
boolean |
isLOS(GLPoint pt1,
GLPoint pt2,
OMGraphicList list) |
void |
manageGraphics()
The method where the AbstractGraphicLoader is expected to tell
the receiver what the OMGraphics are.
|
void |
setDrawingTool(OMDrawingTool drawingTool) |
void |
setDTEDFrameCache(DTEDFrameCache cache) |
getMouseModeServiceList, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseMoved, mousePressed, mouseReleased
createTimer, getName, getProjection, getProperties, getPropertyInfo, getReceiver, getTimer, getUpdateInterval, setName, setProjection, setProperties, setReceiver, setTimer, setUpdateInterval
getPropertyPrefix, setProperties, setPropertyPrefix
addPropertyChangeListener, addVetoableChangeListener, childrenAdded, childrenRemoved, findAndInit, firePropertyChange, fireVetoableChange, getBeanContext, isIsolated, removePropertyChangeListener, removeVetoableChangeListener, setBeanContext, setIsolated
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
protected DTEDFrameCache dfc
protected LOSGenerator los
protected OMDrawingTool dt
public static final java.lang.String AddNodeCmd
public static final java.lang.String AddPathCmd
public static java.util.logging.Logger logger
public static int pointCount
public LOSGraphicLoader()
public LOSGraphicLoader(OMGraphicHandler receiver)
public LOSGraphicLoader(DTEDFrameCache dfc, OMGraphicHandler receiver)
public void manageGraphics()
AbstractGraphicLoader
manageGraphics
in class AbstractGraphicLoader
OMGraphicHandler.setList(OMGraphicList)
public boolean isLOS(GLPoint pt1, GLPoint pt2, OMGraphicList list)
public void actionPerformed(java.awt.event.ActionEvent ae)
AbstractGraphicLoader
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class AbstractGraphicLoader
public void setDrawingTool(OMDrawingTool drawingTool)
public OMDrawingTool getDrawingTool()
public void setDTEDFrameCache(DTEDFrameCache cache)
public DTEDFrameCache getDTEDFrameCache()
public java.awt.Component getGUI()
AbstractGraphicLoader
getGUI
in interface GraphicLoader
getGUI
in class AbstractGraphicLoader
public void drawingComplete(OMGraphic omg, OMAction action)
drawingComplete
in interface DrawingToolRequestor
public void findAndInit(java.lang.Object obj)
findAndInit
in interface LightMapHandlerChild
findAndInit
in class MapHandlerChild
public void findAndUndo(java.lang.Object obj)
findAndUndo
in interface LightMapHandlerChild
findAndUndo
in class MapHandlerChild
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details