public class FollowSystem extends DefaultManeuver implements ManeuverWithSpeed, IMCSerialization
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ROOT_ELEMENT |
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, endActions, id, startActions, T, vehicles, X, Y, Z
Constructor and Description |
---|
FollowSystem() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
java.lang.Object |
clone()
Clone this maneuver
|
int |
getDuration() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName)
Get each maneuver specific data.
|
java.lang.String |
getPropertiesDialogTitle() |
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties) |
SpeedType |
getSpeed() |
java.lang.String |
getSystem() |
java.lang.String |
getTooltipText() |
java.lang.String |
getType()
The extending classes should provide a type name that will be shown to the user related to that maneuver.
|
double |
getXOffset() |
double |
getYOffset() |
double |
getZOffset() |
void |
loadManeuverFromXML(java.lang.String xml)
Expects only maneuver specific data.
|
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setDuration(int duration) |
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setSpeed(SpeedType speed)
Sets the speed
|
void |
setSystem(java.lang.String system) |
void |
setXOffset(double xOffset) |
void |
setYOffset(double yOffset) |
void |
setZOffset(double zOffset) |
addTransition, asDocument, asDocument, asElement, asElement, asXML, asXML, clone, cloneActions, compareTo, createFromXML, endManeuver, getCustomSettings, getCustomSettingsTypeHint, getEndActions, getIcon, getId, getManeuverXml, getMaxTime, getMinTime, getMissionType, getProperties, getReacheableManeuvers, getSamePositionManeuvers, getStartActions, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, loadXMLWithSettings, loadXMLWithSettings, loadXMLWithSettings, paintOnMap, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setVehicle, setVehicles, setXPosition, setYPosition, toString
protected static final java.lang.String DEFAULT_ROOT_ELEMENT
public java.lang.String getType()
Maneuver
getType
in class DefaultManeuver
public org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
Maneuver
getManeuverAsDocument
in class DefaultManeuver
public void loadManeuverFromXML(java.lang.String xml)
Maneuver
loadManeuverFromXML
in class DefaultManeuver
public java.lang.String getSystem()
public void setSystem(java.lang.String system)
public int getDuration()
public void setDuration(int duration)
public double getXOffset()
public void setXOffset(double xOffset)
xOffset
- the xOffset to setpublic double getYOffset()
public void setYOffset(double yOffset)
yOffset
- the yOffset to setpublic double getZOffset()
public void setZOffset(double zOffset)
zOffset
- the zOffset to setpublic java.lang.Object clone()
Maneuver
clone
in class DefaultManeuver
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties
in class Maneuver
public java.lang.String getPropertiesDialogTitle()
getPropertiesDialogTitle
in interface PropertiesProvider
getPropertiesDialogTitle
in class Maneuver
public void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties
in interface PropertiesProvider
setProperties
in class Maneuver
public java.lang.String[] getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
getPropertiesErrors
in interface PropertiesProvider
getPropertiesErrors
in class Maneuver
public java.lang.String getTooltipText()
getTooltipText
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 SpeedType getSpeed()
getSpeed
in interface ManeuverWithSpeed
public void setSpeed(SpeedType speed)
ManeuverWithSpeed
setSpeed
in interface ManeuverWithSpeed
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.