public class TLcdRefuelingAirspace extends TLcdAirspace implements ILcdEditableRefuelingAirspace
ILcdEditableAirspace
interface.ILcdGeoPath
interface just to make sure that the airspaces
can be painted by a TLcdGeoPathPainter
object.ILcdShape
to be able to use the default painter of LuciadLightspeed.Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
REFUELING_TRACK_PROPERTY
The RefuelingTrack property of the refueling airspace type.
|
SEGMENTS_PROPERTY
CLOCKWISE, COUNTERCLOCKWISE, INVALID_ORIENTATION
INTERPOLATION_CIRCLE_BY_3POINTS, INTERPOLATION_CIRCLE_BY_CENTERPOINT, INTERPOLATION_CIRCULARARC_BY_3POINTS, INTERPOLATION_CIRCULARARC_BY_BULGE, INTERPOLATION_CIRCULARARC_BY_CENTERPOINT, INTERPOLATION_ELLIPTICAL, INTERPOLATION_GEODESIC, INTERPOLATION_LINEAR, INTERPOLATION_MIXED, INTERPOLATION_RHUMB
Constructor and Description |
---|
TLcdRefuelingAirspace()
Deprecated.
|
TLcdRefuelingAirspace(TLcdDataType aDataType)
Creates a new instance for the given type.
|
Modifier and Type | Method and Description |
---|---|
ILcdRefuelingTrack |
getRefuelingTrack()
Returns the refueling track whose route is situated
within this refueling airspace.
|
Object |
getValue(TLcdDataProperty aProperty)
Returns the value of the given property.
|
void |
setRefuelingTrack(ILcdRefuelingTrack aRefuelingTrack)
Specifies a value for the refueling track that is
situated within this airspace.
|
void |
setValue(TLcdDataProperty aProperty,
Object aValue)
Sets the value of the given property for this data object.
|
addSegment, clone, computePointSFCT, contains2D, contains2D, contains3D, contains3D, equals, getBounds, getDataType, getEndPoint, getEndTangent2D, getFocusPoint, getGeopathDiscretization, getInterpolation, getLeg, getLegCount, getLength2D, getLineSegmentIntersectionCount, getOrientation, getPoint, getPointCount, getSegment, getSegmentBySegmentNumber, getSegmentCount, getSegmentIndexForPoint, getStartPoint, getStartTangent2D, getTangent2D, getValue, hashCode, hasValue, hasValue, insertSegmentAt, invalidate, removeSegment, removeSegmentAt, setGeoPathDiscretization, setValue
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addSegment, insertSegmentAt, removeSegment, removeSegmentAt
getSegment, getSegmentBySegmentNumber, getSegmentCount
getOrientation
getPoint, getPointCount, getPointSFCT, getX, getY, getZ
getLeg, getLegCount
getDataType, getValue, hasValue, hasValue, setValue
computePointSFCT, getEndPoint, getEndTangent2D, getInterpolation, getLength2D, getLineSegmentIntersectionCount, getStartPoint, getStartTangent2D, getTangent2D
public static final TLcdDataProperty REFUELING_TRACK_PROPERTY
ILcdRefuelingTrack
.@Deprecated public TLcdRefuelingAirspace()
TLcdRefuelingAirspace(TLcdDataType)
public TLcdRefuelingAirspace(TLcdDataType aDataType)
aDataType
- the data type of the returned instanceIllegalArgumentException
- if TLcdAISDataTypes.RefuelingAirspace
is not
assignable from the given data typeTLcdAISDataTypes.RefuelingAirspace
public Object getValue(TLcdDataProperty aProperty)
ILcdDataObject
Returns the value of the given property.
If the property is a collection, the returned value will never be null. If the property has not been set, an empty collection of the appropriate type will be returned (Set, List or Map).
The property must not be null, and must be declared in the data object's type
or in one of its super types.
Otherwise an IllegalArgumentException
is thrown.
getValue
in interface ILcdDataObject
getValue
in class TLcdAirspace
aProperty
- the property for which the value is to be returnedpublic void setValue(TLcdDataProperty aProperty, Object aValue)
ILcdDataObject
Sets the value of the given property for this data object. The implementation is allowed to throw an exception if the given value can't be set.
The given property must be declared in thedata object's type
or in one of its super types. In
other words, getDataType().getProperties().contains( aProperty ) should always be true.
Otherwise, the implementation should throw an IllegalArgumentException
.setValue
in interface ILcdDataObject
setValue
in class TLcdAirspace
aProperty
- the property for which the value is to be setaValue
- the value to setTLcdDataType.getProperty(String)
public ILcdRefuelingTrack getRefuelingTrack()
ILcdRefuelingAirspace
getRefuelingTrack
in interface ILcdRefuelingAirspace
public void setRefuelingTrack(ILcdRefuelingTrack aRefuelingTrack)
ILcdEditableRefuelingAirspace
setRefuelingTrack
in interface ILcdEditableRefuelingAirspace
aRefuelingTrack
- a value for the refueling track that is
situated within this airspace.