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, obstacle, 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() |
java.lang.String |
getTypeAbbrev() |
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, loadactionPerformed, 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, isFilled, isLoadOk, isObstacle, isSelected, isUserCancel, load, setFilled, setId, setMapGroup, setMissionType, setObstacle, setParentMap, setPhi, setPitch, setPitchDeg, setPsi, setRoll, setRollDeg, setSelected, setTakenNames, setTheta, setTransparency, setYaw, setYawDeg, showParametersDialog, showParametersDialog, toStringpublic 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 ConfigurationListenerpublic boolean containsPoint(LocationType point, StateRenderer2D renderer)
containsPoint in class SimpleMapElementpublic void paint(java.awt.Graphics2D g,
StateRenderer2D renderer,
double rotation)
paint in class SimpleMapElementpublic java.lang.String getTypeAbbrev()
getTypeAbbrev in class AbstractElementpublic void setCenterLocation(LocationType centralLocation)
setCenterLocation in class AbstractElementCopyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.