Interface ILcdAPP6AStyle
- All Superinterfaces:
Cloneable
,ILcdCloneable
,com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
,com.luciad.internal.symbology.common.view.canvas.ILinSymbologyStyle
- All Known Implementing Classes:
TLcdDefaultAPP6AStyle
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.AffiliationASSUMED FRIEND
.static final int
Deprecated.AffiliationASSUMED NEUTRAL
.static final int
Deprecated.AffiliationEXERCISE ASSUMED FRIEND
.static final int
Deprecated.AffiliationEXERCISE ASSUMED NEUTRAL
.static final int
Deprecated.AffiliationEXERCISE FRIEND
.static final int
Deprecated.This value has been deprecated.static final int
Deprecated.AffiliationEXERCISE NEUTRAL
.static final int
Deprecated.AffiliationEXERCISE PENDING
.static final int
Deprecated.This value has been deprecated.static final int
Deprecated.AffiliationEXERCISE UNKNOWN
.static final int
Deprecated.AffiliationFAKER
.static final int
Deprecated.AffiliationFRIEND
.static final int
Deprecated.AffiliationHOSTILE
.static final int
Deprecated.AffiliationJOKER
.static final int
Deprecated.AffiliationNEUTRAL
.static final int
Deprecated.AffiliationPENDING
.static final int
Deprecated.AffiliationSUSPECT
.static final int
Deprecated.AffiliationUNKNOWN
.static final int
Deprecated.Line style: alternate (small and large) dashing pattern.static final int
Deprecated.Line style: alternating black and white dashes.static final int
Deprecated.Line style: alternating black and white dots.static final int
Deprecated.Index for centered label position.static final int
Deprecated.Index for label position east.static final int
Deprecated.Line style: large dashing pattern.static final int
Deprecated.Index for label position north.static final int
Deprecated.Index for label position north-east.static final int
Deprecated.Index for label position north-west.static final int
Deprecated.Line style: plain.static final String[]
Deprecated.Label positions.static final int
Deprecated.Line style: small dashing pattern.static final int
Deprecated.Index for label position south.static final int
Deprecated.Index for label position south-east.static final int
Deprecated.Index for label position south-west.static final int
Deprecated.Index for label position west. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPropertyChangeListener
(PropertyChangeListener aListener) Deprecated.Adds the given listener that is notified when a property of this style is changed.void
anchorPointSFCT
(Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) Deprecated.Correction of the anchor point of the label.getAffiliationColor
(int aAffiliation) Deprecated.Returns the color that is currently used for the given affiliation.getAlternateAffiliationColor
(int aAffiliation) Deprecated.Returns the alternate color that is currently used for the given affiliation.Deprecated.Returns the color used to fill the part of the frame that is not covered by the fill percentage.Deprecated.Returns theFormat
to format altitudes in labels.Deprecated.Returns the icon used as an anchor icon for the icon symbol.Deprecated.Returns theFormat
to format angles in labels.double
Deprecated.This property is no longer used by the aviation-related arrow paintersgetColor()
Deprecated.Returns the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.double
Deprecated.Returns the smoothness (or rounding) factor that is used to render corners of polygons.Deprecated.Returns theFormat
to format distances in labels.Deprecated.Deprecated.Not used.double
Deprecated.Returns the fill percentage used to fill the frame of icon symbols.Deprecated.Returns the color that currently overrides the normal colors of the military symbol.default Integer
Deprecated.Returns the style that currently overrides the normal symbol frame outline line style of the icon symbol.Deprecated.Returns the color that is used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).int
Deprecated.Returns the thickness that is used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).Deprecated.Returns the color to use for labels.Deprecated.Returns the color to use for the labels background.Deprecated.Returns the font to use for labels.Deprecated.Returns the color that is used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).int
Deprecated.Returns the thickness that is used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).int
Deprecated.Returns the relative position of the label with respect to the object.int
Deprecated.Returns the style to use for the offset-line of an icon symbol.int
Deprecated.Returns the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.int
Deprecated.Returns the X offset of the icon with respect to the location of the icon symbol.int
Deprecated.Returns the Y offset of the icon with respect to the location of the icon symbol.boolean
Deprecated.The display options are now queryable using the methodsisSymbolFrameEnabled()
,isSymbolFillEnabled()
andisSymbolIconEnabled
.Deprecated.Returns the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.Deprecated.Returns the selection color for the halo of the selection rectangle of icon symbols.int
Deprecated.int
Deprecated.Returns the line width of the rectangle in pixels which is displayed when the icon symbol is selectedint
Deprecated.Return the shift to apply to the label position.int
Deprecated.Returns the size of the icon symbol that uses this style.double
Deprecated.Returns the length ratio of the speed leader to the symbol size against the speed value of 1m/s.int
Deprecated.Returns the frame line width of the icon symbols.Deprecated.Not used.boolean
Deprecated.Returns whether the affiliation color mode is enabled.boolean
Deprecated.boolean
isFilled()
Deprecated.Not used.boolean
Deprecated.Returns whether a halo is enabled for symbols (both icon and line symbols).boolean
isLabelEnabled
(String aLabel) Deprecated.Returns whether the given label should be displayed.boolean
Deprecated.Returns whether the label should be displayed in a filled rectangle.boolean
Deprecated.Returns whether the label font size of the label is automatically scaled.boolean
Deprecated.Returns whether a halo is enabled for labels of icon and line symbols.boolean
Deprecated.Returns whether the label should be displayed with a point on the object.boolean
Deprecated.Returns whether the label should be displayed in a frame.boolean
Deprecated.Returns whether the label should be displayed with a pin to the object.boolean
Deprecated.Returns true if the offset of the icon symbol is editable via CTRL+Drag operation.boolean
Deprecated.This property indicates whether or not strict segmentation is enabled.boolean
Deprecated.Returns whether an icon symbol should be painted filled.boolean
Deprecated.Returns whether the frame of an icon symbol should be painted.boolean
Deprecated.Returns whether the internal icon in the frame of an icon symbol should be painted.boolean
Deprecated.Returns whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.void
Deprecated.Removes the given listener from the list so that it is no longer notified when a property of this style is changed.String[]
Deprecated.Returns the labels to use for labeling.void
setAffiliationColor
(int aAffiliation, Color aColor) Deprecated.Sets the color for the given affiliation.void
setAffiliationColorEnabled
(boolean aAffiliationColorEnabled) Deprecated.Sets the affiliation color mode.void
setAlternateAffiliationColor
(int aAffiliation, Color aColor) Deprecated.Sets the alternate color for the given affiliation.void
setAlternateFillColor
(Color aAlternateFillColor) Deprecated.Sets the color to fill the part of the frame that is not covered by the fill percentage.void
setAltitudeFormat
(Format aFormat) Deprecated.Sets a newFormat
to format altitudes in labels.void
setAnchorSymbol
(ILcdIcon aSymbol) Deprecated.Sets the icon which is displayed as an anchor icon for the icon symbol.The anchor icon is only displayed in 3D projection and it is placed above terrain.void
setAngleFormat
(Format aFormat) Deprecated.Sets a newFormat
to format angles in labels.void
setArrowCurvedness
(double aArrowCurvedness) Deprecated.This property is no longer used by the aviation-related arrow paintersvoid
Deprecated.Sets the color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.void
setCornerSmoothness
(double aSmoothness) Deprecated.Sets the smoothness (or rounding) factor that should be used to render corners of polygons.void
setDistanceFormat
(Format aFormat) Deprecated.Sets a newFormat
to format distances in labels.void
setEngagementBarEnabled
(boolean aEngagementBarEnabled) Deprecated.Sets wether or not the engagement bar graphic amplifier is enabled.void
setEngagementBarStyle
(TLcdEngagementBarStyle aEngagementBarStyle) Deprecated.Sets the engagement bar graphic amplifier's styling options.void
setFilled
(boolean aIsFilled) Deprecated.Not used.void
setFilledColor
(Color aColor) Deprecated.Not used.void
setFillPercentage
(double aFillPercentage) Deprecated.Sets the fill percentage to fill the frame of icon symbols.void
setForcedColor
(Color aColor) Deprecated.Sets the color to be used for the military symbol: this will override the normal colors for the different elements of the symbol.default void
setForcedFrameLineStyle
(Integer aLineStyle) Deprecated.Sets the line style to be used for the frame of an icon symbol: this will override the default line style for the outline of the symbol frame as defined by the standard.void
setHaloColor
(Color aColor) Deprecated.Sets the color to be used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).void
setHaloEnabled
(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for symbols (both icon and line symbols).void
setHaloThickness
(int aThickness) Deprecated.Sets the thickness to be used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).void
setLabelColor
(Color aColor) Deprecated.Sets the color to use for labels.void
setLabelEnabled
(String aLabel, boolean aEnabled) Deprecated.Sets whether the given label should be displayed.void
setLabelFilled
(boolean aSelect) Deprecated.Sets whether the label should be displayed in a filled rectangle.void
setLabelFilledColor
(Color aColor) Deprecated.Sets the color to use for the labels background.void
setLabelFont
(Font aFont) Deprecated.Sets the font to use for labels.void
setLabelFontScalingEnabled
(boolean aLabelFontScalingMode) Deprecated.Sets whether the font size of the label should be automatically scaled for icon symbols.void
setLabelHaloColor
(Color aColor) Deprecated.Sets the color to be used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).void
setLabelHaloEnabled
(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for labels of icon and line symbols.void
setLabelHaloThickness
(int aThickness) Deprecated.Sets the thickness to be used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).void
setLabelPosition
(int aPosition) Deprecated.Sets the relative position of the label with respect to the object.void
Deprecated.Sets the labels to use for labeling.void
setLabelWithAnchor
(boolean aSelect) Deprecated.Sets whether the label should be displayed with a point on the object.void
setLabelWithFrame
(boolean aSelect) Deprecated.Sets whether the label should be displayed in a frame.void
setLabelWithPin
(boolean aSelect) Deprecated.Sets whether the label should be displayed with a pin to the object.void
setLineStyle
(int aLineStyle) Deprecated.Sets the style to use for the offset-line of an icon symbol.void
setLineWidth
(int aWidth) Deprecated.Sets the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.void
setOffset
(int aX, int aY) Deprecated.Sets the X and Y offset of the icon with respect to the location of the icon symbol.void
setOffsetEditingEnabled
(boolean aOffsetEditingEnabled) Deprecated.Sets if the offset of the icon symbol is editable via CTRL+Drag operation.void
setOutlined
(boolean aOutlined) Deprecated.The display options are now customizable using the methodssetSymbolFrameEnabled()
,setSymbolFillEnabled()
andsetSymbolIconEnabled
.void
setSelectionColor
(Color aColor) Deprecated.Sets the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.void
setSelectionRectangleHaloColor
(Color aColor) Deprecated.Sets the halo color for the selection rectangle of icon symbols.void
setSelectionRectangleHaloWidth
(int aWidth) Deprecated.Sets the line width in pixels of the halo of the selection rectangle of icon symbols.void
setSelectionRectangleWidth
(int aWidth) Deprecated.Sets the line width of the rectangle in pixels which is displayed when the icon symbol is selectedvoid
setSizeSymbol
(int aSize) Deprecated.Sets the size of the icon symbol that uses this style.void
setSpeedLeaderLength
(double aTimesSymbolSize, ILcdISO19103Measure aSpeed) Deprecated.A convenience method that changes the speed leader length ratio so that the speed leader length is equal to the symbol size timesaTimesSymbolSize
if the symbol has the given speed.void
setSpeedLeaderLengthRatio
(double aRatio) Deprecated.Sets the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
SeesetSpeedLeaderLength(double, ILcdISO19103Measure)
for a convenience setter using a speed measure.void
setStrictSegmentationEnabled
(boolean aStrictSegmentationEnabled) Deprecated.Enabled or disabled strict segmentation.void
setSymbolFillEnabled
(boolean aSymbolFillEnabled) Deprecated.Sets whether an icon symbol should be painted filled.void
setSymbolFrameEnabled
(boolean aSymbolFrameEnabled) Deprecated.Sets whether the frame of an icon symbol should be painted.void
setSymbolFrameLineWidth
(int aWidth) Deprecated.Sets the frame line width of the icon symbols in pixels.void
setSymbolIconEnabled
(boolean aSymbolIconEnabled) Deprecated.Sets whether the internal icon in the frame of an icon symbol should be painted.void
setTextureFilePath
(String aTextureFilepath) Deprecated.Not used.void
setVerticalLineEnabled
(boolean aEnabled) Deprecated.Sets whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.Methods inherited from interface com.luciad.util.ILcdCloneable
clone
Methods inherited from interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
getLabelFrameColor, getLabelFramePadding, setLabelFrameColor, setLabelFramePadding
-
Field Details
-
sLabelPositions
Deprecated.Label positions. -
EAST
static final int EASTDeprecated.Index for label position east.- See Also:
-
WEST
static final int WESTDeprecated.Index for label position west.- See Also:
-
NORTH
static final int NORTHDeprecated.Index for label position north.- See Also:
-
SOUTH
static final int SOUTHDeprecated.Index for label position south.- See Also:
-
SOUTHEAST
static final int SOUTHEASTDeprecated.Index for label position south-east.- See Also:
-
NORTHEAST
static final int NORTHEASTDeprecated.Index for label position north-east.- See Also:
-
SOUTHWEST
static final int SOUTHWESTDeprecated.Index for label position south-west.- See Also:
-
NORTHWEST
static final int NORTHWESTDeprecated.Index for label position north-west.- See Also:
-
CENTER
static final int CENTERDeprecated.Index for centered label position.- See Also:
-
PLAIN
static final int PLAINDeprecated.Line style: plain.- See Also:
-
SMALL_DASH
static final int SMALL_DASHDeprecated.Line style: small dashing pattern.- See Also:
-
LARGE_DASH
static final int LARGE_DASHDeprecated.Line style: large dashing pattern.- See Also:
-
ALTERNATE_DASH
static final int ALTERNATE_DASHDeprecated.Line style: alternate (small and large) dashing pattern.- See Also:
-
BLACK_AND_WHITE_DOTTED
static final int BLACK_AND_WHITE_DOTTEDDeprecated.Line style: alternating black and white dots.- Since:
- 2022.0
- See Also:
-
BLACK_AND_WHITE_DASHES
static final int BLACK_AND_WHITE_DASHESDeprecated.Line style: alternating black and white dashes.- Since:
- 2022.0
- See Also:
-
AFFILIATION_PENDING
static final int AFFILIATION_PENDINGDeprecated.AffiliationPENDING
.- See Also:
-
AFFILIATION_UNKNOWN
static final int AFFILIATION_UNKNOWNDeprecated.AffiliationUNKNOWN
.- See Also:
-
AFFILIATION_ASSUMED_FRIEND
static final int AFFILIATION_ASSUMED_FRIENDDeprecated.AffiliationASSUMED FRIEND
.- See Also:
-
AFFILIATION_FRIEND
static final int AFFILIATION_FRIENDDeprecated.AffiliationFRIEND
.- See Also:
-
AFFILIATION_ASSUMED_NEUTRAL
static final int AFFILIATION_ASSUMED_NEUTRALDeprecated.AffiliationASSUMED NEUTRAL
.- See Also:
-
AFFILIATION_NEUTRAL
static final int AFFILIATION_NEUTRALDeprecated.AffiliationNEUTRAL
.- See Also:
-
AFFILIATION_SUSPECT
static final int AFFILIATION_SUSPECTDeprecated.AffiliationSUSPECT
. Note that this constant is also used for simulation suspect in APP-6C.- See Also:
-
AFFILIATION_HOSTILE
static final int AFFILIATION_HOSTILEDeprecated.AffiliationHOSTILE
. Note that this constant is also used for simulation hostile in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_PENDING
static final int AFFILIATION_EXERCISE_PENDINGDeprecated.AffiliationEXERCISE PENDING
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_UNKNOWN
static final int AFFILIATION_EXERCISE_UNKNOWNDeprecated.AffiliationEXERCISE UNKNOWN
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_ASSUMED_FRIEND
static final int AFFILIATION_EXERCISE_ASSUMED_FRIENDDeprecated.AffiliationEXERCISE ASSUMED FRIEND
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_FRIEND
static final int AFFILIATION_EXERCISE_FRIENDDeprecated.AffiliationEXERCISE FRIEND
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_ASSUMED_NEUTRAL
static final int AFFILIATION_EXERCISE_ASSUMED_NEUTRALDeprecated.AffiliationEXERCISE ASSUMED NEUTRAL
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_NEUTRAL
static final int AFFILIATION_EXERCISE_NEUTRALDeprecated.AffiliationEXERCISE NEUTRAL
. Note that this constant is also used for simulations in APP-6C.- See Also:
-
AFFILIATION_JOKER
static final int AFFILIATION_JOKERDeprecated.AffiliationJOKER
. Note that this constant is also used for exercise suspect in APP-6C.- See Also:
-
AFFILIATION_FAKER
static final int AFFILIATION_FAKERDeprecated.AffiliationFAKER
. Note that this constant is also used for exercise hostile in APP-6C.- See Also:
-
AFFILIATION_EXERCISE_SUSPECT
Deprecated.This value has been deprecated. It is recommended to use the affiliation joker constant for this purpose.AffiliationEXERCISE SUSPECT
.- See Also:
-
AFFILIATION_EXERCISE_HOSTILE
Deprecated.This value has been deprecated. It is recommended to use the affiliation faker constant for this purpose.AffiliationEXERCISE HOSTILE
.- See Also:
-
-
Method Details
-
getColor
Color getColor()Deprecated.Returns the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.- Specified by:
getColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.
-
setColor
Deprecated.Sets the color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.- Specified by:
setColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.
-
setAffiliationColorEnabled
void setAffiliationColorEnabled(boolean aAffiliationColorEnabled) Deprecated.Sets the affiliation color mode. When this mode is enabled, the color for unframed icon symbols, line symbols and off-set lines of icon symbols will automatically be adapted to the affiliation of a symbol. If the affiliation is not determined, the color returned bygetColor()
will be used; otherwise, the affiliation color has precedence.- Specified by:
setAffiliationColorEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAffiliationColorEnabled
- The affiliation color mode.
-
isAffiliationColorEnabled
boolean isAffiliationColorEnabled()Deprecated.Returns whether the affiliation color mode is enabled. When this mode is enabled, the color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols will automatically be adapted to the affiliation of a symbol. If the affiliation is not determined, the color returned bygetColor()
will be used; otherwise, the affiliation color has precedence.- Specified by:
isAffiliationColorEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- True if the affiliation color mode is enabled.
-
setAffiliationColor
Deprecated.Sets the color for the given affiliation. These colors will be used for all framed icon symbols; for unframed icon symbols and line symbols, affiliation colors are only used when the affiliation color mode has been enabled - seeisAffiliationColorEnabled()
.- Specified by:
setAffiliationColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAffiliation
- The affiliation for which a color is set.aColor
- The color to be used for the given affiliation.
-
getAffiliationColor
Deprecated.Returns the color that is currently used for the given affiliation.- Specified by:
getAffiliationColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAffiliation
- The affiliation for which the current color must be returned.- Returns:
- The color that is currently used for the given affiliation.
-
setAlternateAffiliationColor
Deprecated.Sets the alternate color for the given affiliation. This alternate color is in used by some tactical graphics that can be painted in multiple colors. An example of such a symbol is the APP-6(c) symbol 25140200 'Line of contact', for which each side of the line of contact can have a different color.- Specified by:
setAlternateAffiliationColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAffiliation
- The affiliation for which an alternate color is set.aColor
- The alternate color to be used for the given affiliation.- Since:
- 2017.1.12
-
getAlternateAffiliationColor
Deprecated.Returns the alternate color that is currently used for the given affiliation. If no alternate color was configured, this call will be equivalent as the callgetAffiliationColor(aAffiliation)
- Specified by:
getAlternateAffiliationColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAffiliation
- The affiliation for which the alternate color must be returned.- Returns:
- The alternate color that is currently used for the given affiliation or the affiliation color if no alternate color was configured.
- Since:
- 2017.1.12
-
setFillPercentage
void setFillPercentage(double aFillPercentage) Deprecated.Sets the fill percentage to fill the frame of icon symbols. This factor must be a value in the interval [0.0, 1.0], with 0.0 indicating no fill and 1.0 indicating a complete fill, starting from the bottom of the frame.This property is only taken into account when the symbol frame is enabled, i.e. when
isSymbolFrameEnabled()
returnstrue
.- Specified by:
setFillPercentage
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aFillPercentage
- the fill percentage to fill the frame of icon symbols.- See Also:
-
getFillPercentage
double getFillPercentage()Deprecated.Returns the fill percentage used to fill the frame of icon symbols. This factor is a value in the interval [0.0, 1.0].- Specified by:
getFillPercentage
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the fill percentage to fill the frame of icon symbols.
- See Also:
-
setAlternateFillColor
Deprecated.Sets the color to fill the part of the frame that is not covered by the fill percentage. Ifnull
is supplied, the uncovered part of the frame is not filled.This property is only taken into account when the symbol frame is enabled, i.e. when
isSymbolFrameEnabled()
returnstrue
.- Specified by:
setAlternateFillColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aAlternateFillColor
- the color to fill the part of the frame that is not covered by the fill percentage.- See Also:
-
getAlternateFillColor
Color getAlternateFillColor()Deprecated.Returns the color used to fill the part of the frame that is not covered by the fill percentage.- Specified by:
getAlternateFillColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color used to fill the part of the frame that is not covered by the fill percentage.
- See Also:
-
getSelectionColor
Color getSelectionColor()Deprecated.Returns the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.- Specified by:
getSelectionColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color for line and icon symbols in selection mode.
-
setSelectionColor
Deprecated.Sets the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.- Specified by:
setSelectionColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.
-
getLineWidth
int getLineWidth()Deprecated.Returns the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.- Specified by:
getLineWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.
-
setLineWidth
void setLineWidth(int aWidth) Deprecated.Sets the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.- Specified by:
setLineWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aWidth
- the new line width to use for all line symbols, off-set lines and vertical lines of icon symbols.
-
getSymbolFrameLineWidth
int getSymbolFrameLineWidth()Deprecated.Returns the frame line width of the icon symbols.- Specified by:
getSymbolFrameLineWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the frame line width of the icon symbols.
-
setSymbolFrameLineWidth
void setSymbolFrameLineWidth(int aWidth) Deprecated.Sets the frame line width of the icon symbols in pixels. The frame line width is only used whenisSymbolFrameEnabled()
returns true.- Specified by:
setSymbolFrameLineWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aWidth
- the new frame line width for icon symbols.
-
getLineStyle
int getLineStyle()Deprecated.Returns the style to use for the offset-line of an icon symbol.- Specified by:
getLineStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the style to use for the offset-line of an icon symbol.
- See Also:
-
setLineStyle
void setLineStyle(int aLineStyle) Deprecated.Sets the style to use for the offset-line of an icon symbol. Possible values are:ILcdAPP6AStyle.PLAIN
: plain.ILcdAPP6AStyle.SMALL_DASH
: small dashing pattern.ILcdAPP6AStyle.LARGE_DASH
: large dashing pattern.ILcdAPP6AStyle.ALTERNATE_DASH
: alternate (small and large) dashing pattern.
- Specified by:
setLineStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLineStyle
- the new style to use for the offset-line of an icon symbol.
-
getFilledColor
Deprecated.Not used.Returns the fill color for areas in default mode.- Specified by:
getFilledColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the fill color for areas in default mode.
-
setFilledColor
Deprecated.Not used.Sets the fill color for areas in default mode.- Specified by:
setFilledColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the new fill color for areas in default mode.
-
isFilled
Deprecated.Not used.Returns whether an area should be filled.- Specified by:
isFilled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if an area should be filled.
-
setFilled
Deprecated.Not used.Sets whether an area should be filled.- Specified by:
setFilled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aIsFilled
- true when an area should be filled.
-
getOutlined
Deprecated.The display options are now queryable using the methodsisSymbolFrameEnabled()
,isSymbolFillEnabled()
andisSymbolIconEnabled
. More specifically, the outline option controlled whether a symbol must be filled or not; useisSymbolFillEnabled()
instead.Returns whether an icon symbol should be painted outlined. An outlined icon symbol has no fill and takes the color of its affiliation.- Specified by:
getOutlined
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- whether the outline of an area should be painted.
-
setOutlined
Deprecated.The display options are now customizable using the methodssetSymbolFrameEnabled()
,setSymbolFillEnabled()
andsetSymbolIconEnabled
. More specifically, the outline option controlled whether a symbol must be filled or not; usesetSymbolFillEnabled()
instead.Sets whether an icon symbol should be painted outlined. An outlined icon symbol has no fill and takes the color of its affiliation.- Specified by:
setOutlined
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aOutlined
- true to paint the outline of an area.
-
setSymbolFrameEnabled
void setSymbolFrameEnabled(boolean aSymbolFrameEnabled) Deprecated.Sets whether the frame of an icon symbol should be painted.- Specified by:
setSymbolFrameEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSymbolFrameEnabled
- Whether the frame of an icon symbol should be painted.
-
isSymbolFrameEnabled
boolean isSymbolFrameEnabled()Deprecated.Returns whether the frame of an icon symbol should be painted.- Specified by:
isSymbolFrameEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- True if the frame of an icon symbol should be painted.
-
setSymbolFillEnabled
void setSymbolFillEnabled(boolean aSymbolFillEnabled) Deprecated.Sets whether an icon symbol should be painted filled.- Specified by:
setSymbolFillEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSymbolFillEnabled
- Whether an icon symbol should be painted filled.
-
isSymbolFillEnabled
boolean isSymbolFillEnabled()Deprecated.Returns whether an icon symbol should be painted filled.- Specified by:
isSymbolFillEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- True if an icon symbol should be painted filled.
-
setSymbolIconEnabled
void setSymbolIconEnabled(boolean aSymbolIconEnabled) Deprecated.Sets whether the internal icon in the frame of an icon symbol should be painted.- Specified by:
setSymbolIconEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSymbolIconEnabled
- Whether the internal icon in the frame of an icon symbol should be painted.
-
isSymbolIconEnabled
boolean isSymbolIconEnabled()Deprecated.Returns whether the internal icon in the frame of an icon symbol should be painted.- Specified by:
isSymbolIconEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- True if the internal icon in the frame of an icon symbol should be painted.
-
getForcedFrameLineStyle
Deprecated.Returns the style that currently overrides the normal symbol frame outline line style of the icon symbol. By default,null
is returned, indicating that the line style of the icon determined by the affiliation and status are used as defined in the standard.- Specified by:
getForcedFrameLineStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- an Integer representing the currently forced line style of the icon symbol frame,
or
null
if the default line style is used. - Since:
- 2022.0
-
setForcedFrameLineStyle
Deprecated.Sets the line style to be used for the frame of an icon symbol: this will override the default line style for the outline of the symbol frame as defined by the standard. To revert to the default behavior,null
must be supplied. Possible values are:PLAIN
: plain (solid line).SMALL_DASH
: small dashing pattern.LARGE_DASH
: large dashing pattern.ALTERNATE_DASH
: alternate (small and large) dashing pattern.BLACK_AND_WHITE_DOTTED
: alternating black and white dots pattern.BLACK_AND_WHITE_DASHES
: alternating black and white dashes.
- Specified by:
setForcedFrameLineStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLineStyle
- an Integer representing the line style to be used.- Since:
- 2022.0
-
retrieveLabels
String[] retrieveLabels()Deprecated.Returns the labels to use for labeling. These labels are only used when the particular symbols that use this style don't make use of the text modifiers as labels. This is the case for most of the line symbols.- Specified by:
retrieveLabels
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the labels to use for labeling.
-
setLabels
Deprecated.Sets the labels to use for labeling. These labels are only used when the particular symbols that use this style don't make use of the text modifiers as labels. This is the case for most of the line symbols.- Specified by:
setLabels
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLabels
- the labels to use for labeling.
-
getLabelColor
Color getLabelColor()Deprecated.Returns the color to use for labels.- Specified by:
getLabelColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color to use for labels.
-
setLabelColor
Deprecated.Sets the color to use for labels.- Specified by:
setLabelColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the color to use for labels.
-
getLabelFont
Font getLabelFont()Deprecated.Returns the font to use for labels.- Specified by:
getLabelFont
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the font to use for labels.
-
setLabelFont
Deprecated.Sets the font to use for labels.- Specified by:
setLabelFont
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aFont
- the font to use for labels.
-
setLabelFontScalingEnabled
void setLabelFontScalingEnabled(boolean aLabelFontScalingMode) Deprecated.Sets whether the font size of the label should be automatically scaled for icon symbols. If enabled, the font size for labels around icon symbols will be scaled according to the size of the symbol. If disabled, the original font size of the font returned bygetLabelFont()
will be used.- Specified by:
setLabelFontScalingEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLabelFontScalingMode
- The font size scaling mode.
-
isLabelFontScalingEnabled
boolean isLabelFontScalingEnabled()Deprecated.Returns whether the label font size of the label is automatically scaled. If enabled, the font size for labels will be scaled according to the size of the symbol. If disabled, the original label font size of the font configured withsetLabelFont(Font)
will be used. The default value istrue
.- Specified by:
isLabelFontScalingEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- True if the label font size of the label is automatically scaled.
- See Also:
-
getLabelFilledColor
Color getLabelFilledColor()Deprecated.Returns the color to use for the labels background. This option is only used whenisLabelFilled()
returns "true".- Specified by:
getLabelFilledColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color to use for the labels background.
-
setLabelFilledColor
Deprecated.Sets the color to use for the labels background. This option is only used whenisLabelFilled()
returns "true".- Specified by:
setLabelFilledColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the color to use for the labels background.
-
isLabelWithPin
boolean isLabelWithPin()Deprecated.Returns whether the label should be displayed with a pin to the object. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
isLabelWithPin
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if the label should be displayed with a pin to the object.
-
setLabelWithPin
void setLabelWithPin(boolean aSelect) Deprecated.Sets whether the label should be displayed with a pin to the object. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
setLabelWithPin
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSelect
- whether the label should be displayed with a pin to the object.
-
isLabelWithAnchor
boolean isLabelWithAnchor()Deprecated.Returns whether the label should be displayed with a point on the object. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
isLabelWithAnchor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if the label should be displayed with a point on the object.
-
setLabelWithAnchor
void setLabelWithAnchor(boolean aSelect) Deprecated.Sets whether the label should be displayed with a point on the object. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
setLabelWithAnchor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSelect
- whether the label should be displayed with a point on the object.
-
isLabelWithFrame
boolean isLabelWithFrame()Deprecated.Returns whether the label should be displayed in a frame. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
isLabelWithFrame
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if the label should be displayed in a frame.
-
setLabelWithFrame
void setLabelWithFrame(boolean aSelect) Deprecated.Sets whether the label should be displayed in a frame. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
setLabelWithFrame
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSelect
- whether the label should be displayed in a frame.
-
isLabelFilled
boolean isLabelFilled()Deprecated.Returns whether the label should be displayed in a filled rectangle. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
isLabelFilled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if the label should be displayed in a filled rectangle.
-
setLabelFilled
void setLabelFilled(boolean aSelect) Deprecated.Sets whether the label should be displayed in a filled rectangle. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
setLabelFilled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSelect
- whether the label should be displayed in a filled rectangle.
-
getLabelPosition
int getLabelPosition()Deprecated.Returns the relative position of the label with respect to the object. This option is used for symbols that use the labelsretrieveLabels()
and for line symbols that are represented by a point list.- Specified by:
getLabelPosition
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the relative position of the label with respect to the object.
-
setLabelPosition
void setLabelPosition(int aPosition) Deprecated.Sets the relative position of the label with respect to the object. This option is used for symbols that use the labelsretrieveLabels()
and for line symbols that are represented by a point list.- Specified by:
setLabelPosition
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aPosition
- the relative position of the label with respect to the object.
-
getShiftLabelPosition
int getShiftLabelPosition()Deprecated.Return the shift to apply to the label position. This option is only used for symbols that use the labelsretrieveLabels()
. Symbols which use the text modifiers as labels don't make use of this option, because the label layout is predefined by the APP-6A standard.- Specified by:
getShiftLabelPosition
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the shift to apply to the label position.
-
anchorPointSFCT
void anchorPointSFCT(Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) throws TLcdNoBoundsException Deprecated.Correction of the anchor point of the label.- Specified by:
anchorPointSFCT
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aPointSFCT
- the corrected anchor point of the label.aBounds
- the bounds of the object.- Throws:
TLcdNoBoundsException
-
setLabelEnabled
Deprecated.Sets whether the given label should be displayed.- Specified by:
setLabelEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLabel
- A label as defined by the static members ofILcdAPP6ACoded
.aEnabled
- whether the label should be displayed.
-
isLabelEnabled
Deprecated.Returns whether the given label should be displayed. The possible labels are the APP6-A/B/C/D modifiers, defined by the static members ofILcdAPP6ACoded
.- Specified by:
isLabelEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aLabel
- A label as defined by the static members ofILcdAPP6ACoded
.- Returns:
- True if the given label should be displayed.
-
addPropertyChangeListener
Deprecated.Adds the given listener that is notified when a property of this style is changed.- Specified by:
addPropertyChangeListener
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aListener
- the object to notify when a property of this style is changed.
-
removePropertyChangeListener
Deprecated.Removes the given listener from the list so that it is no longer notified when a property of this style is changed.- Specified by:
removePropertyChangeListener
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aListener
- the listener that should no longer be notified when a property of this style is changed.
-
getTextureFilePath
Deprecated.Not used.Returns the path to the texture images.- Specified by:
getTextureFilePath
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the path to the texture images.
-
setTextureFilePath
Deprecated.Not used.Sets the path to the texture images.- Specified by:
setTextureFilePath
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aTextureFilepath
- the path to the texture images.
-
getSizeSymbol
int getSizeSymbol()Deprecated.Returns the size of the icon symbol that uses this style.- Specified by:
getSizeSymbol
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- The size of the icon symbol.
-
setSizeSymbol
void setSizeSymbol(int aSize) Deprecated.Sets the size of the icon symbol that uses this style.- Specified by:
setSizeSymbol
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSize
- - The size of the icon symbol.
-
getOffsetX
int getOffsetX()Deprecated.Returns the X offset of the icon with respect to the location of the icon symbol. The offset is given in pixels.- Specified by:
getOffsetX
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the X offset of the icon with respect to the location of the icon symbol.
-
getOffsetY
int getOffsetY()Deprecated.Returns the Y offset of the icon with respect to the location of the icon symbol. The offset is given in pixels.- Specified by:
getOffsetY
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the Y offset of the icon with respect to the location of the icon symbol.
-
setOffset
void setOffset(int aX, int aY) Deprecated.Sets the X and Y offset of the icon with respect to the location of the icon symbol. These values must be given in pixels.- Specified by:
setOffset
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aX
- - The X offset.aY
- - The Y offset.
-
setAnchorSymbol
Deprecated.Sets the icon which is displayed as an anchor icon for the icon symbol.The anchor icon is only displayed in 3D projection and it is placed above terrain. If set to null, no anchor icon will be displayed.- Specified by:
setAnchorSymbol
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSymbol
- a ILcdIcon implementation to be displayed as the anchor icon
-
getAnchorSymbol
ILcdIcon getAnchorSymbol()Deprecated.Returns the icon used as an anchor icon for the icon symbol.- Specified by:
getAnchorSymbol
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the icon used as an anchor icon for the icon symbol.
-
setSelectionRectangleWidth
void setSelectionRectangleWidth(int aWidth) Deprecated.Sets the line width of the rectangle in pixels which is displayed when the icon symbol is selected- Specified by:
setSelectionRectangleWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aWidth
- line width of the selection rectangle in pixels.
-
getSelectionRectangleWidth
int getSelectionRectangleWidth()Deprecated.Returns the line width of the rectangle in pixels which is displayed when the icon symbol is selected- Specified by:
getSelectionRectangleWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the line width of the rectangle in pixels which is displayed when the icon symbol is selected
-
setOffsetEditingEnabled
void setOffsetEditingEnabled(boolean aOffsetEditingEnabled) Deprecated.Sets if the offset of the icon symbol is editable via CTRL+Drag operation.- Specified by:
setOffsetEditingEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aOffsetEditingEnabled
- the offset is editable if this is true
-
isOffsetEditingEnabled
boolean isOffsetEditingEnabled()Deprecated.Returns true if the offset of the icon symbol is editable via CTRL+Drag operation.- Specified by:
isOffsetEditingEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- true if the offset of the icon symbol is editable via CTRL+Drag operation.
-
getForcedColor
Color getForcedColor()Deprecated.Returns the color that currently overrides the normal colors of the military symbol. By default,null
is returned, indicating that the normal colors of the military symbol are used. Note that a selected symbol will always be displayed using the selection colors, even if a forced color is configured.- Specified by:
getForcedColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color that currently overrides the normal colors of the military symbol,
or
null
otherwise.
-
setForcedColor
Deprecated.Sets the color to be used for the military symbol: this will override the normal colors for the different elements of the symbol. To revert to the normal colors of the military symbol,null
must be supplied. Note that a selected symbol will always be displayed using the selection colors, even if a forced color is configured.- Specified by:
setForcedColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the color to be used for the military symbol.
-
getCornerSmoothness
double getCornerSmoothness()Deprecated.Returns the smoothness (or rounding) factor that is used to render corners of polygons. This factor is a value in the interval [0.0, 1.0].- Specified by:
getCornerSmoothness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the smoothness (or rounding) factor for polygon corners.
- See Also:
-
setCornerSmoothness
void setCornerSmoothness(double aSmoothness) Deprecated.Sets the smoothness (or rounding) factor that should be used to render corners of polygons. This factor must be a value in the interval [0.0, 1.0], with 0.0 indicating no rounding and 1.0 indicating a maximum rounding, which results in a very smooth corner. Note that this feature is currently only available for a limited set of symbols:- Objective area (APP-6A: 2.X.2.1.5.3.5
- Strong point (APP-6A: 2.X.2.2.3.5)
- Battle positions (APP-6A: 2.X.2.1.4.1.2.*)
- Specified by:
setCornerSmoothness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aSmoothness
- the smoothness (or rounding) factor for polygon corners.
-
getArrowCurvedness
Deprecated.This property is no longer used by the aviation-related arrow paintersReturns the curvedness factor that is used to render aviation-related arrow symbols that consist of exactly 2 points. This factor expresses the amount of curvedness, and is a value in the interval [-1.0, 1.0]. The value 0.0 indicates a straight arrow, while the values -1.0 and 1.0 indicate maximum curvedness, each in an opposite direction perpendicular to the axis of the arrow. A positive value results in an arrow that is curved upwards, while a negative value results in an arrow that is curved downwards. If the symbol consists of more than 2 points, no extra curvedness between the points is added; only the corners at the axis points can be rendered curved, according to the corner smoothness factor (seegetCornerSmoothness()
). Note that this feature is only available for a limited set of symbols, namely for the aviation-related arrows in APP-6A (situated in 2.X.2.1.5.2.1).- Specified by:
getArrowCurvedness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the curvedness factor for aviation-related arrow symbols.
- See Also:
-
setArrowCurvedness
Deprecated.This property is no longer used by the aviation-related arrow paintersSets the curvedness factor for aviation-related arrow symbols that consist of exactly 2 points. This factor must be a value in the interval [-1.0, 1.0]. The value 0.0 indicates a straight arrow, while the values -1.0 and 1.0 indicate maximum curvedness, each in an opposite direction perpendicular to the axis of the arrow. A positive value results in an arrow that is curved upwards, while a negative value results in an arrow that is curved downwards. If the symbol consists of more than 2 points, no extra curvedness between the points is added and this factor will not be used; only the corners at the axis points can be rendered curved, according to the corner smoothness factor (seegetCornerSmoothness()
). Note that this feature is only available for a limited set of symbols, namely for the aviation-related arrows in APP-6A (situated in 2.X.2.1.5.2.1).- Specified by:
setArrowCurvedness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aArrowCurvedness
- the curvedness factor for aviation-related arrow symbols.
-
isHaloEnabled
boolean isHaloEnabled()Deprecated.Returns whether a halo is enabled for symbols (both icon and line symbols).By default,
false
is returned.- Specified by:
isHaloEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- if a halo is enabled for icon and line symbols.
-
setHaloEnabled
void setHaloEnabled(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for symbols (both icon and line symbols).The halo color and thickness can be configured respectively through
setHaloColor(java.awt.Color)
andsetHaloThickness(int)
.- Specified by:
setHaloEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aEnabled
- whether a halo should be enabled for symbols (both icon and line symbols).- See Also:
-
getHaloColor
Color getHaloColor()Deprecated.Returns the color that is used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).By default,
Color.WHITE
is returned.- Specified by:
getHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color that is used for icon and line symbol halos, if enabled.
-
setHaloColor
Deprecated.Sets the color to be used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).- Specified by:
setHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the color to be used for icon and line symbol halos, if enabled.
-
getHaloThickness
int getHaloThickness()Deprecated.Returns the thickness that is used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).By default, 1 is returned.
- Specified by:
getHaloThickness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the thickness that is used for icon and line symbol halos, if enabled.
-
setHaloThickness
void setHaloThickness(int aThickness) Deprecated.Sets the thickness to be used for icon and line symbol halos, if enabled (i.e., ifisHaloEnabled()
returns true).- Specified by:
setHaloThickness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aThickness
- the thickness to be used for icon and line symbol halos, if enabled.
-
isLabelHaloEnabled
boolean isLabelHaloEnabled()Deprecated.Returns whether a halo is enabled for labels of icon and line symbols.By default,
false
is returned.- Specified by:
isLabelHaloEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- if a halo is enabled for labels of icon and line symbols.
-
setLabelHaloEnabled
void setLabelHaloEnabled(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for labels of icon and line symbols.The label halo color and thickness can be configured respectively through
setLabelHaloColor(java.awt.Color)
andsetLabelHaloThickness(int)
.- Specified by:
setLabelHaloEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aEnabled
- whether a halo should be enabled for labels of icon and line symbols.- See Also:
-
getLabelHaloColor
Color getLabelHaloColor()Deprecated.Returns the color that is used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).By default,
Color.GRAY
is returned.- Specified by:
getLabelHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color that is used for the label halo of icon and line symbols, if enabled.
-
setLabelHaloColor
Deprecated.Sets the color to be used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).- Specified by:
setLabelHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the color to be used for the label halo of icon and line symbols, if enabled.
-
getLabelHaloThickness
int getLabelHaloThickness()Deprecated.Returns the thickness that is used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).By default, 1 is returned.
- Specified by:
getLabelHaloThickness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the thickness that is used for the label halo of icon and line symbols, if enabled.
-
setLabelHaloThickness
void setLabelHaloThickness(int aThickness) Deprecated.Sets the thickness to be used for the label halo of icon and line symbols, if enabled (i.e., ifisLabelHaloEnabled()
returns true).- Specified by:
setLabelHaloThickness
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aThickness
- the thickness to be used for the label halo of icon and line symbols, if enabled.
-
isVerticalLineEnabled
boolean isVerticalLineEnabled()Deprecated.Returns whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled. This visualizes the projection of the icon symbols onto a terrain.Vertical lines are only applicable for icon symbols with an altitude value bigger than 0 in a 3D view.
- The vertical line width can be set by calling
setLineWidth(int)
. - The color of the vertical line depends on
isAffiliationColorEnabled()
. if affiliation color is enabled, it's determined by affiliation of the symbol otherwise it's determined bygetColor()
.
- Specified by:
isVerticalLineEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- if a perpendicular line from the center point of the icon symbols to the earth surface is enabled.
- See Also:
- The vertical line width can be set by calling
-
setVerticalLineEnabled
void setVerticalLineEnabled(boolean aEnabled) Deprecated.Sets whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled. If enabled, it visualizes the projection of the icon symbols onto a terrain.Vertical lines are only applicable for the icon symbols with an altitude value bigger than 0 in a 3D view.
- Specified by:
setVerticalLineEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aEnabled
- whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.- See Also:
-
setSpeedLeaderLengthRatio
void setSpeedLeaderLengthRatio(double aRatio) Deprecated.Sets the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
SeesetSpeedLeaderLength(double, ILcdISO19103Measure)
for a convenience setter using a speed measure.- Specified by:
setSpeedLeaderLengthRatio
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aRatio
- the length ratio of speed leader to the symbol size against the speed value of 1m/s.- See Also:
-
getSpeedLeaderLengthRatio
double getSpeedLeaderLengthRatio()Deprecated.Returns the length ratio of the speed leader to the symbol size against the speed value of 1m/s.- If aRatio is 1, 1m/s of speed value will be visualized with the speed leader having the length of 1 x
getSizeSymbol()
- If aRatio is 10, 1m/s of speed value will be visualized with the speed leader having the length of 10 x
getSizeSymbol()
Speed leaders are only applicable to APP-6C.
- Specified by:
getSpeedLeaderLengthRatio
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
- See Also:
- If aRatio is 1, 1m/s of speed value will be visualized with the speed leader having the length of 1 x
-
setSpeedLeaderLength
Deprecated.A convenience method that changes the speed leader length ratio so that the speed leader length is equal to the symbol size timesaTimesSymbolSize
if the symbol has the given speed. For example, if the symbol size is 64 pixels and the method is called withaTimesSymbolSize == 3
and a speed of Mach 1, the symbol's speed leader will be3*64=192
pixels long travelling at Mach 1, and3*64*2=384
pixels at Mach 2.- Specified by:
setSpeedLeaderLength
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aTimesSymbolSize
- the length ratio of speed leader to the symbol size against the speed value of 1m/s.aSpeed
- A speed measure which will be the reference for calculating length ratio of the speed leader.- Throws:
IllegalArgumentException
- if the unit measure type code of aSpeed is not equals toTLcdISO19103MeasureTypeCode.VELOCITY
- See Also:
-
setSelectionRectangleHaloColor
Deprecated.Sets the halo color for the selection rectangle of icon symbols.- Specified by:
setSelectionRectangleHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aColor
- the selection halo color for the selection rectangle of icon symbols.
-
getSelectionRectangleHaloColor
Color getSelectionRectangleHaloColor()Deprecated.Returns the selection color for the halo of the selection rectangle of icon symbols.- Specified by:
getSelectionRectangleHaloColor
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the color for halo of the selection rectangle of icon symbols.
-
setSelectionRectangleHaloWidth
void setSelectionRectangleHaloWidth(int aWidth) Deprecated.Sets the line width in pixels of the halo of the selection rectangle of icon symbols.- Specified by:
setSelectionRectangleHaloWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aWidth
- line width in pixels of the halo of the selection rectangle of icon symbols.
-
getSelectionRectangleHaloWidth
int getSelectionRectangleHaloWidth()Deprecated.- Specified by:
getSelectionRectangleHaloWidth
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the line width in pixels of the halo of the selection rectangle of icon symbols.
-
getAltitudeFormat
Format getAltitudeFormat()Deprecated.Returns theFormat
to format altitudes in labels.- Specified by:
getAltitudeFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the
Format
to format altitudes in labels. - See Also:
-
setAltitudeFormat
Deprecated.Sets a new
Format
to format altitudes in labels.This property is currently used to format altitude labels in the following symbols:
- Weapon/Sensor Range Fan Circular
- Weapon/Sensor Range Fan Sector
The format needs to accept
Double
objects in its format method. AllDouble
instances passed to this method are altitudes expressed in meters.- Specified by:
setAltitudeFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aFormat
- The newFormat
to format an altitude- See Also:
-
getDistanceFormat
Format getDistanceFormat()Deprecated.Returns theFormat
to format distances in labels.- Specified by:
getDistanceFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the
Format
to format distances in labels. - See Also:
-
setDistanceFormat
Deprecated.Sets a new
Format
to format distances in labels.This property is currently used to format distance labels in the following symbols:
- Weapon/Sensor Range Fan Circular
- Weapon/Sensor Range Fan Sector
The format needs to accept
Double
objects in its format method. AllDouble
instances passed to this method are distances expressed in meters.- Specified by:
setDistanceFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aFormat
- The newFormat
to format a distance- See Also:
-
getAngleFormat
Format getAngleFormat()Deprecated.Returns theFormat
to format angles in labels.- Specified by:
getAngleFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- the
Format
to format angles in labels. - See Also:
-
setAngleFormat
Deprecated.Sets a new
Format
to format angles in labels.This property is currently used to format angle labels in the following symbols:
- Weapon/Sensor Range Fan Circular
- Weapon/Sensor Range Fan Sector
The format needs to accept
Double
objects in its format method. AllDouble
instances passed to this method are angles expressed in degrees.- Specified by:
setAngleFormat
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aFormat
- The newFormat
to format an angle- See Also:
-
isEngagementBarEnabled
boolean isEngagementBarEnabled()Deprecated.- Specified by:
isEngagementBarEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- boolean indicating wether or not the engagement bar graphic amplifier is enabled.
- Since:
- 2018.2
- See Also:
-
setEngagementBarEnabled
void setEngagementBarEnabled(boolean aEngagementBarEnabled) Deprecated.Sets wether or not the engagement bar graphic amplifier is enabled.- Specified by:
setEngagementBarEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Since:
- 2018.2
- See Also:
-
getEngagementBarStyle
TLcdEngagementBarStyle getEngagementBarStyle()Deprecated.- Specified by:
getEngagementBarStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Returns:
- The engagement bar graphic amplifier's styling options.
- See Also:
-
setEngagementBarStyle
Deprecated.Sets the engagement bar graphic amplifier's styling options.- Specified by:
setEngagementBarStyle
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- See Also:
-
isStrictSegmentationEnabled
boolean isStrictSegmentationEnabled()Deprecated.This property indicates whether or not strict segmentation is enabled. Strictly speaking, the standard defines that some symbols need to repeat all information for each segment of 2 consecutive anchor points. This can cause issues in realistic situations.
For example, if you create a "Main Supply Route" that matches an actual route, in the real world. It would be constructed out of many thousands of anchor points, forming very small segments. Having to repeat the information thousands of times is not desired as labels will overlap each other and can cause performance issues when zooming out far enough where you are able to see the whole symbol.
If this property returns
false
, the information of the symbol will be repeated across the symbols in segments that are larger than 2 anchor points, if the information is repeated often enough.- Specified by:
isStrictSegmentationEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Specified by:
isStrictSegmentationEnabled
in interfacecom.luciad.internal.symbology.common.view.canvas.ILinSymbologyStyle
- Returns:
- a boolean indicating whether or not strict segmentation is enabled
- Since:
- 2022.1
- See Also:
-
setStrictSegmentationEnabled
void setStrictSegmentationEnabled(boolean aStrictSegmentationEnabled) Deprecated.Enabled or disabled strict segmentation. This property can be used to limit the amount of times information is repeated across a symbol. Strictly speaking, the standard defines that some symbols need to repeat all information for each segment of 2 consecutive anchor points. This can cause issues in realistic situations.
For example, if you create a "Main Supply Route" that matches an actual route, in the real world. It would be constructed out of many thousands of anchor points, forming very small segments. Having to repeat the information thousands of times is not desired as labels will overlap each other and can cause performance issues when zooming out far enough where you are able to see the whole symbol.
If this property is set to
false
the information of the symbol will be repeated across the symbols in segments that are larger than 2 anchor points, if the information is repeated often enough.- Specified by:
setStrictSegmentationEnabled
in interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle
- Parameters:
aStrictSegmentationEnabled
- a boolean indicating whether or not strict segmentation is enabled- Since:
- 2022.1
-
TLcdMilitarySymbolStyle
.