public class TLcdEditableMS2525bUnit extends TLcdLonLatHeightPoint implements ILcdEditableMS2525bCoded,ILcdFeatured, ILcdOrientationSettable, ILcdMS2525bShape
sAdditionalInformation, sAffiliation, sAltitudeDepth, sAttitude, sCombatEffectiveness, sCommonIdentifier, sCountry, sDateTimeGroup, sEchelon, sEffectiveTime, sEngagementBar, sEvaluationRating, sFrameShapeModifier, sGuardedUnit, sHigherFormation, sHostile, sHqTaskForceDummy, sIFFSIF, sLength, sLocationLabel, sMobilityIndicator, sMovementDirection, sOrderOfBattle, sPlatformType, sQuantity, sReinforcedOrReduced, sSector1, sSector2, sSignatureEquipment, sSpecialDesignator, sSpecialHeadquarters, sSpeedLabel, sStaffComments, sStandardIdentity1, sStandardIdentity2, sStatus, sTargetDesignator, sTeardownTime, sTypeLabel, sUniqueDesignation, sWidth
Constructor and Description |
---|
TLcdEditableMS2525bUnit()
Deprecated.
|
TLcdEditableMS2525bUnit(double aLon,
double aLat)
Deprecated.
|
TLcdEditableMS2525bUnit(double aLon,
double aLat,
double aHeight)
Deprecated.
|
TLcdEditableMS2525bUnit(ILcdPoint aPoint)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canSetFeature(int aIndex)
Deprecated.
Checks whether the specified feature is editable.
|
java.lang.Object |
clone()
Deprecated.
Creates and returns a copy of this object, by delegating to
Object.clone() . |
boolean |
equals(java.lang.Object aObject)
Deprecated.
Checks whether the object has the same class as this object and whether the coordinates are
equal or differ by 360 for longitudes.
|
java.lang.Object |
getFeature(int aIndex)
Deprecated.
Returns the feature
Object at the given index. |
int |
getFeatureCount()
Deprecated.
Returns the number of features.
|
java.lang.String |
getMS2525Code()
Deprecated.
Returns the symbol code of the object (SIDC).
|
ELcdMS2525Standard |
getMS2525Standard()
Deprecated.
Returns the symbology standard used by this object.
|
double |
getOrientation()
Deprecated.
Returns the orientation of this object in degrees.
|
ILcdPointList |
getPointList()
Deprecated.
Returns the point list that defines the geometry of this symbol.
|
int |
getTextModifierCount()
Deprecated.
Returns the number of text modifiers for this object in the MIL-STD-2525B standard.
|
java.lang.String |
getTextModifierKey(int aIndex)
Deprecated.
Returns the text modifier key at the given index.
|
java.lang.String |
getTextModifierKeyDisplayName(java.lang.String aTextModifierKey)
Deprecated.
Returns the display name of the text modifier with the given key.
|
java.lang.String |
getTextModifierValue(int aIndex)
Deprecated.
Returns the value of the text modifier at the given index.
|
java.lang.String |
getTextModifierValue(java.lang.String aTextModifierKey)
Deprecated.
Returns the value of the text modifier with the given key.
|
boolean |
isLine()
Deprecated.
Returns whether this object is represented as a line or not.
|
void |
putTextModifier(java.lang.String aModifierKey,
java.lang.String aModifierValue)
Deprecated.
Adds the given value of the text modifier with the given key.
|
void |
setFeature(int aIndex,
java.lang.Object aFeature)
Deprecated.
Sets the feature
Object at the given index. |
void |
setMS2525Code(java.lang.String aSymbolID)
Deprecated.
Sets the Milstd2525b code for this unit.
|
void |
setOrientation(double aOrientation)
Deprecated.
Sets the orientation on this object.
|
cloneAs2DEditableBounds, cloneAs2DEditablePoint, cloneAs3DEditableBounds, cloneAs3DEditablePoint, contains2D, contains2D, getCosX, getCosY, getHeight, getLat, getLon, getSinX, getSinY, getTanX, getTanY, getX, getY, getZ, interacts2D, move3D
move2D, move3D, toString, translate3D
move2D, translate2D
contains2D, contains3D, contains3D, contains3D, getBounds, getDepth, getFocusPoint, getLocation, getMaxX, getMaxY, getMaxZ, getMinX, getMinY, getMinZ, getPoint, getPointCount, getWidth, hashCode, interacts2D, interacts3D, interacts3D, isDefined
contains2D, contains3D, fromDomainObject
finalize, getClass, notify, notifyAll, wait, wait, wait
getWidth
move3D, translate3D
move2D, move2D, translate2D
contains2D, contains3D, contains3D, getFocusPoint
getBounds
getPointSFCT, getX, getY, getZ
getCenter
public TLcdEditableMS2525bUnit()
public TLcdEditableMS2525bUnit(double aLon, double aLat)
aLon
- longitude in decimal degrees,
positive for Eastern hemisphere,
negative for Western hemisphere.aLat
- latitude in decimal degrees,
positive for Northern hemisphere,
negative for Southern hemisphere.public TLcdEditableMS2525bUnit(double aLon, double aLat, double aHeight)
aLon
- longitude in decimal degrees,
positive for Eastern hemisphere,
negative for Western hemisphere.aLat
- latitude in decimal degrees,
positive for Northern hemisphere,
negative for Southern hemisphere.aHeight
- z coordinate in meters.public TLcdEditableMS2525bUnit(ILcdPoint aPoint)
aPoint
- the ILcdPoint
that represents the position.public boolean canSetFeature(int aIndex)
ILcdFeatured
canSetFeature
in interface ILcdFeatured
aIndex
- a valid feature index.public java.lang.Object getFeature(int aIndex) throws java.lang.IndexOutOfBoundsException
ILcdFeatured
Object
at the given index.getFeature
in interface ILcdFeatured
aIndex
- a valid feature index.Object
at the given index.java.lang.IndexOutOfBoundsException
- when an index is chosen greater than the result of getFeatureCount.ILcdFeatured.setFeature(int, java.lang.Object)
public int getFeatureCount()
ILcdFeatured
getFeatureCount
in interface ILcdFeatured
public void setFeature(int aIndex, java.lang.Object aFeature) throws java.lang.IllegalArgumentException
ILcdFeatured
Object
at the given index.setFeature
in interface ILcdFeatured
aIndex
- a valid feature index.aFeature
- the new feature Object
.java.lang.IllegalArgumentException
- if the feature can't be set.ILcdFeatured.getFeature(int)
,
ILcdFeatured.canSetFeature(int)
public double getOrientation()
ILcdOriented
If there is no rotation known for this object, return Double.NaN
.
getOrientation
in interface ILcdOriented
NaN
if undefined.public void setOrientation(double aOrientation)
ILcdOrientationSettable
setOrientation
in interface ILcdOrientationSettable
aOrientation
- the orientation specified in degrees with 0 located at 12 o'clock and increasing clockwise.ILcdOriented.getOrientation()
public void setMS2525Code(java.lang.String aSymbolID)
setMS2525Code
in interface ILcdEditableMS2525bCoded
aSymbolID
- the symbol code.public java.lang.String getMS2525Code()
ILcdMS2525bCoded
The symbol code has to be interpreted according to the symbology standard used by this object,
which can be retrieved through ILcdMS2525bCoded.getMS2525Standard()
.
getMS2525Code
in interface ILcdMS2525bCoded
ILcdMS2525bCoded.getMS2525Standard()
public ELcdMS2525Standard getMS2525Standard()
ILcdMS2525bCoded
getMS2525Standard
in interface ILcdMS2525bCoded
ELcdMS2525Standard
public java.lang.Object clone()
ALcdShape
Object.clone()
. Extensions should delegate to this implementation
with super.clone()
, in order to create an object instance of
the right type, with all fields copied. They then should explicitly
clone any non-primitive fields for which a deeper clone is required.clone
in interface ILcdEditableMS2525bCoded
clone
in interface ILcdCloneable
clone
in class ALcdShape
Object.clone()
public void putTextModifier(java.lang.String aModifierKey, java.lang.String aModifierValue)
ILcdEditableMS2525bCoded
putTextModifier
in interface ILcdEditableMS2525bCoded
aModifierKey
- the key of the text modifier to add.aModifierValue
- the value of the text modifier to add.public int getTextModifierCount()
ILcdMS2525bCoded
getTextModifierCount
in interface ILcdMS2525bCoded
public java.lang.String getTextModifierKey(int aIndex)
ILcdMS2525bCoded
getTextModifierKey
in interface ILcdMS2525bCoded
aIndex
- the index of key of the text modifier to retrieve.ILcdMS2525bCoded.getTextModifierCount()
public java.lang.String getTextModifierKeyDisplayName(java.lang.String aTextModifierKey)
ILcdMS2525bCoded
getTextModifierKeyDisplayName
in interface ILcdMS2525bCoded
aTextModifierKey
- the key of the text modifier to retrieve the display name of.public java.lang.String getTextModifierValue(java.lang.String aTextModifierKey)
ILcdMS2525bCoded
getTextModifierValue
in interface ILcdMS2525bCoded
aTextModifierKey
- the key of the text modifier to retrieve the value of.public java.lang.String getTextModifierValue(int aIndex)
ILcdMS2525bCoded
getTextModifierValue
in interface ILcdMS2525bCoded
aIndex
- the index of the value of the text modifier to retrieve.ILcdMS2525bCoded.getTextModifierCount()
public boolean equals(java.lang.Object aObject)
TLcdLonLatHeightPoint
equals
in interface ILcdPoint
equals
in class TLcdLonLatHeightPoint
aObject
- the object to check for equalitypublic boolean isLine()
ILcdMS2525bShape
false
, the symbol is represented by one point.
When returning true
, the symbol is represented by two or more points,
e.g. a polyline, polygon (area symbol) or buffer (arrow symbol).isLine
in interface ILcdMS2525bShape
public ILcdPointList getPointList()
ILcdMS2525bShape
getPointList
in interface ILcdMS2525bShape