Class TLcdRefuelingAirspace

java.lang.Object
com.luciad.ais.model.airspace.TLcdAirspace
com.luciad.ais.model.refuelingtrack.TLcdRefuelingAirspace
All Implemented Interfaces:
ILcdAirspace, ILcdEditableAirspace, ILcdGenericAirspace, ILcdEditableRefuelingAirspace, ILcdRefuelingAirspace, ILcdGeoPath, ILcdDataObject, ILcdBounded, ILcdCurve, ILcdPointList, ILcdPolygon, ILcdRing, ILcdShape, ILcdCloneable, Serializable, Cloneable
Direct Known Subclasses:
TLcdFeaturedRefuelingAirspace

public class TLcdRefuelingAirspace extends TLcdAirspace implements ILcdEditableRefuelingAirspace
An implementation of the ILcdEditableAirspace interface.
This class also implements the ILcdGeoPath interface just to make sure that the airspaces can be painted by a TLcdGeoPathPainter object.
It's an implementation of ILcdShape to be able to use the default painter of LuciadLightspeed.
See Also:
  • Field Details

    • REFUELING_TRACK_PROPERTY

      public static final TLcdDataProperty REFUELING_TRACK_PROPERTY
      The RefuelingTrack property of the refueling airspace type. Values of this property are of type ILcdRefuelingTrack.
  • Constructor Details

  • Method Details

    • getValue

      public Object getValue(TLcdDataProperty aProperty)
      Description copied from interface: 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.

      Specified by:
      getValue in interface ILcdDataObject
      Overrides:
      getValue in class TLcdAirspace
      Parameters:
      aProperty - the property for which the value is to be returned
      Returns:
      the value of the given property for this data object
    • setValue

      public void setValue(TLcdDataProperty aProperty, Object aValue)
      Description copied from interface: 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 the data 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.

      Specified by:
      setValue in interface ILcdDataObject
      Overrides:
      setValue in class TLcdAirspace
      Parameters:
      aProperty - the property for which the value is to be set
      aValue - the value to set
      See Also:
    • getRefuelingTrack

      public ILcdRefuelingTrack getRefuelingTrack()
      Description copied from interface: ILcdRefuelingAirspace
      Returns the refueling track whose route is situated within this refueling airspace.
      Specified by:
      getRefuelingTrack in interface ILcdRefuelingAirspace
    • setRefuelingTrack

      public void setRefuelingTrack(ILcdRefuelingTrack aRefuelingTrack)
      Description copied from interface: ILcdEditableRefuelingAirspace
      Specifies a value for the refueling track that is situated within this airspace.
      Specified by:
      setRefuelingTrack in interface ILcdEditableRefuelingAirspace
      Parameters:
      aRefuelingTrack - a value for the refueling track that is situated within this airspace.