public abstract class AbstractImcManeuver<T extends pt.lsts.imc.IMCMessage> extends DefaultManeuver implements LocatedManeuver, PropertiesProvider, IMCSerialization
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
protected T |
message |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions| Constructor and Description |
|---|
AbstractImcManeuver() |
AbstractImcManeuver(T message) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
A maneuver must have a way to clone itself.
|
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
ManeuverLocation |
getManeuverLocation()
Retrieve the position of the maneuver (position that can be dragged by the user)
|
com.l2fprod.common.propertysheet.DefaultProperty[] |
getProperties() |
ManeuverLocation |
getStartLocation()
Retrieve the position where the vehicle will start this maneuver
|
java.lang.String |
getType()
The extending classes should provide a type name that will be shown to the user related to that maneuver.
|
void |
loadFromXML(java.lang.String XML) |
static void |
main(java.lang.String[] args) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setManeuverLocation(ManeuverLocation location)
Set the maneuver's position
|
void |
setMessage(pt.lsts.imc.IMCMessage message) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
ManeuverFunctionadditionalProperties, addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, calcFinalState, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getId, getManeuverXml, getMaxTime, getMinTime, getMissionType, getPropertiesDialogTitle, getPropertiesErrors, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTooltipText, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, paintOnMap, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPropertiesDialogTitle, getPropertiesErrorsprotected T extends pt.lsts.imc.IMCMessage message
public AbstractImcManeuver()
public AbstractImcManeuver(T message)
public void setMessage(pt.lsts.imc.IMCMessage message)
public void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationpublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationpublic java.lang.String getType()
ManeuvergetType in class DefaultManeuverpublic java.lang.Object clone()
Maneuverclone in class DefaultManeuverpublic void loadFromXML(java.lang.String XML)
loadFromXML in class DefaultManeuverpublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument in class DefaultManeuverpublic com.l2fprod.common.propertysheet.DefaultProperty[] getProperties()
getProperties in interface PropertiesProvidergetProperties in class Maneuverpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class Maneuverpublic ManeuverLocation getStartLocation()
LocatedManeuvergetStartLocation in interface LocatedManeuverpublic ManeuverLocation getEndLocation()
LocatedManeuvergetEndLocation in interface LocatedManeuverpublic ManeuverLocation getManeuverLocation()
LocatedManeuvergetManeuverLocation in interface LocatedManeuverpublic void setManeuverLocation(ManeuverLocation location)
LocatedManeuversetManeuverLocation in interface LocatedManeuverlocation - The new location for this maneuverpublic void translate(double offsetNorth,
double offsetEast,
double offsetDown)
LocatedManeuvertranslate in interface LocatedManeuveroffsetNorth - north offset amount, in metersoffsetEast - east offset amount, in metersoffsetDown - down offset amount, in meterspublic static void main(java.lang.String[] args)
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.