public class MarkElement extends AbstractElement
AbstractElement.ELEMENT_TYPE
centerLocation, copyChars, DEFAULT_ROOT_ELEMENT, dialog, doc, guinea, hiddenCheck, id, isLoadOk, objName, obstacleCheck, paramsPanel, selected, takenNames, transp, transparency, userCancel
Constructor and Description |
---|
MarkElement() |
MarkElement(MapGroup mg,
MapType map) |
MarkElement(java.lang.String xml) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsPoint(LocationType lt,
StateRenderer2D renderer) |
AbstractElement.ELEMENT_TYPE |
getElementType() |
int |
getLayerPriority()
Returns the showing priority for this object (0 normal, <0 background, >0 on top)
|
ParametersPanel |
getParametersPanel(boolean editable,
MapType map) |
LocationType |
getPosition() |
java.lang.String |
getType() |
void |
initialize(ParametersPanel paramsPanel) |
void |
paint(java.awt.Graphics2D g,
StateRenderer2D renderer,
double rotation) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown) |
actionPerformed, asDocument, asDocument, asElement, asElement, asXML, asXML, 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, load, setCenterLocation, setId, setMapGroup, setMissionType, setObstacle, setParentMap, setPhi, setPitch, setPitchDeg, setPsi, setRoll, setRollDeg, setSelected, setTakenNames, setTheta, setTransparency, setYaw, setYawDeg, showParametersDialog, toString
public MarkElement()
public MarkElement(java.lang.String xml)
xml
- public java.lang.String getType()
getType
in class AbstractElement
public int getLayerPriority()
AbstractElement
getLayerPriority
in class AbstractElement
public LocationType getPosition()
public void translate(double offsetNorth, double offsetEast, double offsetDown)
public boolean containsPoint(LocationType lt, StateRenderer2D renderer)
containsPoint
in class AbstractElement
public ParametersPanel getParametersPanel(boolean editable, MapType map)
getParametersPanel
in class AbstractElement
public void initialize(ParametersPanel paramsPanel)
initialize
in class AbstractElement
public AbstractElement.ELEMENT_TYPE getElementType()
getElementType
in class AbstractElement
public void paint(java.awt.Graphics2D g, StateRenderer2D renderer, double rotation)
paint
in class AbstractElement
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.