public class SubPlan extends Maneuver implements IMCSerialization
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS
Modifier and Type | Field and Description |
---|---|
protected boolean |
drawSubPlan |
protected java.lang.String |
planId |
protected java.lang.String |
startNodeId |
protected PlanElement |
subplan |
circleDiam, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions
Constructor and Description |
---|
SubPlan() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
A maneuver must have a way to clone itself.
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName) |
java.lang.String |
getPlanId() |
java.lang.String |
getStartNodeId() |
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) |
SystemPositionAndAttitude |
ManeuverFunction(SystemPositionAndAttitude lastVehicleState) |
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setPlanId(java.lang.String planId) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setStartNodeId(java.lang.String startNodeId) |
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getId, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getPropertiesDialogTitle, getPropertiesErrors, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTooltipText, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toString
protected java.lang.String planId
protected java.lang.String startNodeId
protected boolean drawSubPlan
protected PlanElement subplan
public void loadFromXML(java.lang.String xml)
loadFromXML
in class Maneuver
public void paintOnMap(java.awt.Graphics2D g2d, PlanElement planElement, StateRenderer2D renderer)
paintOnMap
in class Maneuver
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties
in class Maneuver
public void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties
in interface PropertiesProvider
setProperties
in class Maneuver
public java.lang.String getType()
Maneuver
public java.lang.Object clone()
Maneuver
public SystemPositionAndAttitude ManeuverFunction(SystemPositionAndAttitude lastVehicleState)
public org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
getManeuverAsDocument
in class Maneuver
public void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage
in interface IMCSerialization
public pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC
in interface IMCSerialization
public java.lang.String getPlanId()
public void setPlanId(java.lang.String planId)
planId
- the planId to setpublic java.lang.String getStartNodeId()
public void setStartNodeId(java.lang.String startNodeId)
startNodeId
- the startNodeId to setCopyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.