public class SubPlan extends Maneuver implements IMCSerialization
Modifier and Type | Field and Description |
---|---|
protected boolean |
drawSubPlan |
protected java.lang.String |
planId |
protected java.lang.String |
startNodeId |
protected PlanElement |
subplan |
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions, T, vehicles, X, Y, Z
Constructor and Description |
---|
SubPlan() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
Clone this maneuver
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName)
Get each maneuver specific data.
|
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 |
loadManeuverFromXML(java.lang.String xml)
Expects only maneuver specific data.
|
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, loadXMLWithSettings, loadXMLWithSettings, loadXMLWithSettings, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setVehicle, setVehicles, setXPosition, setYPosition, toString
protected java.lang.String planId
protected java.lang.String startNodeId
protected boolean drawSubPlan
protected PlanElement subplan
public void loadManeuverFromXML(java.lang.String xml)
Maneuver
loadManeuverFromXML
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 org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
Maneuver
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-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.