public class RowsCoverage extends Maneuver implements LocatedManeuver, ManeuverWithSpeed, StateRendererInteraction, IMCSerialization, StatisticsProvider, PathProvider
Maneuver.SPEED_UNITS, Maneuver.Z_UNITS| Modifier and Type | Field and Description |
|---|---|
protected InteractionAdapter |
adapter |
protected double |
angleApertureDegs |
protected double |
bearingDegs |
protected double |
crossAngleDegs |
protected double |
curvOff |
protected boolean |
editing |
protected boolean |
firstCurveRight |
protected java.awt.geom.Point2D |
lastDragPoint |
protected double |
latDegs |
protected double |
length |
protected double |
lonDegs |
protected short |
overlapPercentage |
protected java.util.Vector<double[]> |
points |
protected int |
range |
protected double |
speed |
protected Maneuver.SPEED_UNITS |
speedUnits |
protected boolean |
squareCurve |
protected double |
width |
protected double |
z |
protected ManeuverLocation.Z_UNITS |
zunits |
circleDiam, COLOR_HELP, CT_BOOLEAN, CT_NUMBER, CT_STRING, customSettings, customSettingsTypeHint, DEFAULT_ROOT_ELEMENT, endActions, id, startActions, T, X, Y, Z| Constructor and Description |
|---|
RowsCoverage() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> |
additionalProperties() |
protected ManeuverLocation |
calculatePosition() |
java.lang.Object |
clone()
Clone this maneuver
|
void |
focusGained(java.awt.event.FocusEvent event,
StateRenderer2D source) |
void |
focusLost(java.awt.event.FocusEvent event,
StateRenderer2D source) |
double |
getAngleApertureDegs() |
double |
getBearingDegs() |
double |
getCompletionTime(LocationType initialPosition) |
double |
getCrossAngleDegs() |
double |
getCurvOff() |
double |
getDistanceTravelled(LocationType initialPosition) |
ManeuverLocation |
getEndLocation()
Retrieve the position where the vehicle will end this maneuver
|
java.awt.Image |
getIconImage() |
org.dom4j.Document |
getManeuverAsDocument(java.lang.String rootElementName)
Get each maneuver specific data.
|
ManeuverLocation |
getManeuverLocation()
Retrieve the position of the maneuver (position that can be dragged by the user)
|
double |
getMaxDepth() |
double |
getMinDepth() |
java.awt.Cursor |
getMouseCursor() |
java.lang.String |
getName() |
short |
getOverlapPercent() |
java.util.List<LocationType> |
getPathLocations() |
java.util.List<double[]> |
getPathPoints() |
int |
getRange() |
double |
getSpeed() |
Maneuver.SPEED_UNITS |
getSpeedUnits() |
ManeuverLocation |
getStartLocation()
Retrieve the position where the vehicle will start this maneuver
|
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.
|
java.util.Collection<ManeuverLocation> |
getWaypoints() |
double |
getWidth() |
boolean |
isExclusive() |
boolean |
isSquareCurve() |
void |
keyPressed(java.awt.event.KeyEvent event,
StateRenderer2D source) |
void |
keyReleased(java.awt.event.KeyEvent event,
StateRenderer2D source) |
void |
keyTyped(java.awt.event.KeyEvent event,
StateRenderer2D source) |
void |
loadManeuverFromXML(java.lang.String xml)
Expects only maneuver specific data.
|
static void |
main(java.lang.String[] args) |
void |
mouseClicked(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mouseDragged(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mouseExited(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mouseMoved(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mousePressed(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
mouseReleased(java.awt.event.MouseEvent event,
StateRenderer2D source) |
void |
paintInteraction(java.awt.Graphics2D g,
StateRenderer2D source) |
void |
paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer) |
void |
parseIMCMessage(pt.lsts.imc.IMCMessage message) |
pt.lsts.imc.IMCMessage |
serializeToIMC() |
void |
setActive(boolean mode,
StateRenderer2D source) |
void |
setAssociatedSwitch(ToolbarSwitch tswitch) |
void |
setBearingDegs(double bearingDegs) |
void |
setManeuverLocation(ManeuverLocation location)
Set the maneuver's position
|
void |
setProperties(com.l2fprod.common.propertysheet.Property[] properties) |
void |
setSpeed(double speed)
Sets the speed value
|
void |
setSpeedUnits(Maneuver.SPEED_UNITS speedUnits)
Sets the speed units
|
void |
translate(double offsetNorth,
double offsetEast,
double offsetDown)
Translate the position of this maneuver
|
void |
wheelMoved(java.awt.event.MouseWheelEvent event,
StateRenderer2D source) |
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, getTransitionCondition, getXPosition, getYPosition, hasEnded, interpolate, isInitialManeuver, loadFromXMLExtraParameters, loadFromXMLExtraParameters, loadManeuverXml, loadXMLWithSettings, loadXMLWithSettings, loadXMLWithSettings, removeTransition, setCustomSettings, setCustomSettingsTypeHint, setId, setInitialManeuver, setMaxTime, setMinTime, setMissionType, setXPosition, setYPosition, toStringprotected double latDegs
protected double lonDegs
protected double z
protected ManeuverLocation.Z_UNITS zunits
protected double speed
protected Maneuver.SPEED_UNITS speedUnits
protected double bearingDegs
protected double width
protected double length
protected double crossAngleDegs
protected double curvOff
protected double angleApertureDegs
protected int range
protected short overlapPercentage
protected boolean squareCurve
protected boolean firstCurveRight
protected InteractionAdapter adapter
protected java.awt.geom.Point2D lastDragPoint
protected boolean editing
protected java.util.Vector<double[]> points
public java.lang.String getType()
Maneuverprotected ManeuverLocation calculatePosition()
public void loadManeuverFromXML(java.lang.String xml)
ManeuverloadManeuverFromXML in class Maneuverpublic java.lang.Object clone()
Maneuverpublic org.dom4j.Document getManeuverAsDocument(java.lang.String rootElementName)
ManeuvergetManeuverAsDocument in class Maneuverpublic java.lang.String getName()
getName in interface StateRendererInteractionpublic java.awt.Image getIconImage()
getIconImage in interface StateRendererInteractionpublic java.awt.Cursor getMouseCursor()
getMouseCursor in interface StateRendererInteractionpublic boolean isExclusive()
isExclusive in interface StateRendererInteractionpublic void mouseClicked(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseClicked in interface StateRendererInteractionpublic void mousePressed(java.awt.event.MouseEvent event,
StateRenderer2D source)
mousePressed in interface StateRendererInteractionpublic void mouseDragged(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseDragged in interface StateRendererInteractionpublic void mouseMoved(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseMoved in interface StateRendererInteractionpublic void mouseReleased(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseReleased in interface StateRendererInteractionpublic void wheelMoved(java.awt.event.MouseWheelEvent event,
StateRenderer2D source)
wheelMoved in interface StateRendererInteractionpublic void keyPressed(java.awt.event.KeyEvent event,
StateRenderer2D source)
keyPressed in interface StateRendererInteractionpublic void keyReleased(java.awt.event.KeyEvent event,
StateRenderer2D source)
keyReleased in interface StateRendererInteractionpublic void keyTyped(java.awt.event.KeyEvent event,
StateRenderer2D source)
keyTyped in interface StateRendererInteractionpublic void mouseExited(java.awt.event.MouseEvent event,
StateRenderer2D source)
mouseExited in interface StateRendererInteractionpublic void focusGained(java.awt.event.FocusEvent event,
StateRenderer2D source)
focusGained in interface StateRendererInteractionpublic void focusLost(java.awt.event.FocusEvent event,
StateRenderer2D source)
focusLost in interface StateRendererInteractionpublic void setActive(boolean mode,
StateRenderer2D source)
setActive in interface StateRendererInteractionpublic ManeuverLocation getManeuverLocation()
LocatedManeuvergetManeuverLocation in interface LocatedManeuverpublic ManeuverLocation getStartLocation()
LocatedManeuvergetStartLocation in interface LocatedManeuverpublic ManeuverLocation getEndLocation()
LocatedManeuvergetEndLocation 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 java.util.List<double[]> getPathPoints()
getPathPoints in interface PathProviderpublic java.util.List<LocationType> getPathLocations()
getPathLocations in interface PathProviderpublic double getBearingDegs()
public void setBearingDegs(double bearingDegs)
bearingDegs - the bearingDegs to setpublic double getWidth()
public short getOverlapPercent()
public double getCurvOff()
public boolean isSquareCurve()
public double getCrossAngleDegs()
public double getAngleApertureDegs()
public int getRange()
public void paintOnMap(java.awt.Graphics2D g2d,
PlanElement planElement,
StateRenderer2D renderer)
paintOnMap in class Maneuverpublic pt.lsts.imc.IMCMessage serializeToIMC()
serializeToIMC in interface IMCSerializationpublic void parseIMCMessage(pt.lsts.imc.IMCMessage message)
parseIMCMessage in interface IMCSerializationprotected java.util.Vector<com.l2fprod.common.propertysheet.DefaultProperty> additionalProperties()
additionalProperties in class Maneuverpublic void setProperties(com.l2fprod.common.propertysheet.Property[] properties)
setProperties in interface PropertiesProvidersetProperties in class Maneuverpublic double getSpeed()
getSpeed in interface ManeuverWithSpeedpublic void setSpeed(double speed)
ManeuverWithSpeedsetSpeed in interface ManeuverWithSpeedpublic Maneuver.SPEED_UNITS getSpeedUnits()
getSpeedUnits in interface ManeuverWithSpeedpublic void setSpeedUnits(Maneuver.SPEED_UNITS speedUnits)
ManeuverWithSpeedsetSpeedUnits in interface ManeuverWithSpeedpublic double getCompletionTime(LocationType initialPosition)
getCompletionTime in interface StatisticsProviderpublic double getDistanceTravelled(LocationType initialPosition)
getDistanceTravelled in interface StatisticsProviderpublic double getMaxDepth()
getMaxDepth in interface StatisticsProviderpublic double getMinDepth()
getMinDepth in interface StatisticsProviderpublic java.lang.String getTooltipText()
getTooltipText in class Maneuverpublic void setAssociatedSwitch(ToolbarSwitch tswitch)
setAssociatedSwitch in interface StateRendererInteractionpublic void paintInteraction(java.awt.Graphics2D g,
StateRenderer2D source)
paintInteraction in interface StateRendererInteractionpublic java.util.Collection<ManeuverLocation> getWaypoints()
getWaypoints in interface LocatedManeuverpublic static void main(java.lang.String[] args)
Copyright © 2004-2018 FEUP-LSTS and Neptus developers. All Rights Reserved.