public class QRouteElement extends SimpleMapElement implements ConfigurationListener
AbstractElement.ELEMENT_TYPE
Modifier and Type | Field and Description |
---|---|
java.awt.Color |
color |
java.util.Vector<java.awt.geom.Point2D.Double> |
otherPoints |
java.lang.String |
path |
double |
width |
centerLocation, copyChars, DEFAULT_ROOT_ELEMENT, dialog, doc, guinea, hiddenCheck, id, isLoadOk, objName, obstacleCheck, paramsPanel, selected, takenNames, transp, transparency, userCancel
Constructor and Description |
---|
QRouteElement() |
QRouteElement(MapGroup mg,
MapType map) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(LocationType point,
StateRenderer2D renderer) |
void |
finish() |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer,
double rotation) |
void |
propertiesChanged() |
void |
setCenterLocation(LocationType centralLocation) |
java.lang.String |
validatePath(java.lang.String path) |
asDocument, asDocument, asElement, asElement, asXML, asXML, getElementType, getLayerPriority, getParametersPanel, getType, initialize, load
actionPerformed, compareTo, getCenterLocation, getClone, getId, getIDComparator, getMapGroup, getMissionType, getNEDPosition, getParentMap, getPhi, getPitch, getPitchDeg, getPitchRad, getPsi, getRoll, getRollDeg, getRollRad, getShapePoints, getTheta, getTopHeight, getTransparency, getYaw, getYawDeg, getYawRad, invertColor, isLoadOk, isObstacle, isSelected, isUserCancel, load, setId, setMapGroup, setMissionType, setObstacle, setParentMap, setPhi, setPitch, setPitchDeg, setPsi, setRoll, setRollDeg, setSelected, setTakenNames, setTheta, setTransparency, setYaw, setYawDeg, showParametersDialog, toString
public double width
public java.awt.Color color
public java.lang.String path
public java.util.Vector<java.awt.geom.Point2D.Double> otherPoints
public java.lang.String validatePath(java.lang.String path)
public void finish()
public void propertiesChanged()
propertiesChanged
in interface ConfigurationListener
public boolean containsPoint(LocationType point, StateRenderer2D renderer)
containsPoint
in class SimpleMapElement
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer, double rotation)
paint
in class SimpleMapElement
public void setCenterLocation(LocationType centralLocation)
setCenterLocation
in class AbstractElement
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.