@Deprecated public class HeadingSpeedDepth extends DefaultManeuver implements ManeuverWithSpeed, IMCSerialization
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_ROOT_ELEMENT
Deprecated.
|
protected double |
depth
Deprecated.
|
protected int |
duration
Deprecated.
|
protected double |
heading
Deprecated.
|
protected SpeedType |
speed
Deprecated.
|
protected boolean |
useDepth
Deprecated.
|
protected boolean |
useHeading
Deprecated.
|
protected boolean |
useSpeed
Deprecated.
|
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, endActions, id, startActions, T, vehicles, X, Y, Z
Constructor and Description |
---|
HeadingSpeedDepth()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties()
Deprecated.
|
java.lang.Object |
clone()
Deprecated.
Clone this maneuver
|
double |
getDepth()
Deprecated.
|
int |
getDuration()
Deprecated.
|
double |
getHeading()
Deprecated.
|
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName)
Deprecated.
Get each maneuver specific data.
|
java.lang.String |
getPropertiesDialogTitle()
Deprecated.
|
java.lang.String[] |
getPropertiesErrors(com.l2fprod.common.propertysheet.Property[] properties)
Deprecated.
|
SpeedType |
getSpeed()
Deprecated.
|
java.lang.String |
getTooltipText()
Deprecated.
|
java.lang.String |
getType()
Deprecated.
The extending classes should provide a type name that will be shown to the user related to that maneuver.
|
boolean |
isUseDepth()
Deprecated.
|
boolean |
isUseHeading()
Deprecated.
|
boolean |
isUseSpeed()
Deprecated.
|
void |
loadManeuverFromXML(java.lang.String xml)
Deprecated.
Expects only maneuver specific data.
|
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message)
Deprecated.
|
pt.lsts.imc.IMCMessage |
serializeToIMC()
Deprecated.
|
void |
setDepth(double depth)
Deprecated.
|
void |
setDuration(int duration)
Deprecated.
|
void |
setHeading(double heading)
Deprecated.
|
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties)
Deprecated.
|
void |
setSpeed(SpeedType speed)
Deprecated.
Sets the speed
|
void |
setUseDepth(boolean useDepth)
Deprecated.
|
void |
setUseHeading(boolean useHeading)
Deprecated.
|
void |
setUseSpeed(boolean useSpeed)
Deprecated.
|
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 double depth
protected double heading
protected int duration
protected SpeedType speed
protected boolean useHeading
protected boolean useSpeed
protected boolean useDepth
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 boolean isUseHeading()
public void setUseHeading(boolean useHeading)
useHeading
- the useHeading to setpublic boolean isUseSpeed()
public void setUseSpeed(boolean useSpeed)
useSpeed
- the useSpeed to setpublic boolean isUseDepth()
public void setUseDepth(boolean useDepth)
useDepth
- the useDepth to setpublic double getDepth()
public void setDepth(double depth)
public double getHeading()
public void setHeading(double heading)
public int getDuration()
public void setDuration(int duration)
duration
- the duration 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 SpeedType getSpeed()
getSpeed
in interface ManeuverWithSpeed
public void setSpeed(SpeedType speed)
ManeuverWithSpeed
setSpeed
in interface ManeuverWithSpeed
public pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC
in interface IMCSerialization
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.