Class TLcdDefaultMS2525bStyle
- All Implemented Interfaces:
com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle,com.luciad.internal.symbology.common.view.canvas.ILinSymbologyStyle,ILcdMS2525bStyle,ILcdCloneable,Serializable,Cloneable
- See Also:
-
Field Summary
Fields inherited from interface com.luciad.symbology.milstd2525b.view.gxy.ILcdMS2525bStyle
AFFILIATION_ASSUMED_FRIEND, AFFILIATION_ASSUMED_NEUTRAL, AFFILIATION_EXERCISE_ASSUMED_FRIEND, AFFILIATION_EXERCISE_ASSUMED_NEUTRAL, AFFILIATION_EXERCISE_FRIEND, AFFILIATION_EXERCISE_NEUTRAL, AFFILIATION_EXERCISE_PENDING, AFFILIATION_EXERCISE_UNKNOWN, AFFILIATION_FAKER, AFFILIATION_FRIEND, AFFILIATION_HOSTILE, AFFILIATION_JOKER, AFFILIATION_NEUTRAL, AFFILIATION_PENDING, AFFILIATION_SUSPECT, AFFILIATION_UNKNOWN, ALTERNATE_DASH, BLACK_AND_WHITE_DASHES, BLACK_AND_WHITE_DOTTED, CENTER, EAST, LARGE_DASH, NORTH, NORTHEAST, NORTHWEST, PLAIN, sLabelPositions, SMALL_DASH, SOUTH, SOUTHEAST, SOUTHWEST, WEST -
Constructor Summary
ConstructorsConstructorDescriptionTLcdDefaultMS2525bStyle(Color aColor, Color aSelectionColor, int aLineWidth, int aLineStyle, boolean aIsSymbolFrameEnabled, boolean aIsSymbolFillEnabled, boolean aIsSymbolIconEnabled, String[] aLabel, Color aLabelColor, Font aLabelFont, Color aLabelFilledColor, boolean aIsLabelFramed, boolean aIsLabelFilled, boolean aIsLabelPinned, boolean aIsLabelAnchored, int aLabelPosition, int aSize) Deprecated.Constructs a newTLcdDefaultMS2525bStyleobject with the given settings.TLcdDefaultMS2525bStyle(Color aColor, Color aSelectionColor, Color aFilledColor, int aLineWidth, int aLineStyle, boolean aIsFilled, boolean aIsOutlined, String[] aLabel, Color aLabelColor, Font aLabelFont, Color aLabelFilledColor, boolean aIsLabelFramed, boolean aIsLabelFilled, boolean aIsLabelPinned, boolean aIsLabelAnchored, int aLabelPosition, int aSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPropertyChangeListener(PropertyChangeListener aPropertyChangeListener) Deprecated.Adds the given listener that is notified when a property of this style is changed.voidanchorPointSFCT(Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) Deprecated.Correction of the anchor point of the label.clone()Deprecated.MakesObject.clone()public.booleanDeprecated.getAffiliationColor(int aAffiliation) Deprecated.Returns the color that is currently used for the given affiliation.getAffiliationColor(ELcdMS2525Standard aStandard, String aAffiliationValue) Deprecated.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 theFormatto format altitudes in labels.Deprecated.Returns the icon used as an anchor icon for the icon symbol.Deprecated.Returns theFormatto format angles in labels.doubleDeprecated.getColor()Deprecated.Returns the line color for unframed icon symbols, line symbols and off-set lines of icon symbols.doubleDeprecated.Returns the smoothness (or rounding) factor that is used to render corners of polygons.Deprecated.Returns theFormatto format distances in labels.Deprecated.Deprecated.doubleDeprecated.Returns the fill percentage used to fill the frame of icon symbols.Deprecated.Returns the color that currently overrides the normal colors of the icon symbol.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., ifILcdMS2525bStyle.isHaloEnabled()returns true).intDeprecated.Returns the thickness that is used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).static TLcdDefaultMS2525bStyleDeprecated.Returns a sharedTLcdDefaultMS2525bStyleinstance.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 to use for the label frame.intDeprecated.Returns the padding between the label text and the label frame.Deprecated.Returns the color that is used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).intDeprecated.Returns the thickness that is used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).intDeprecated.Returns the relative position of the label with respect to the object.intDeprecated.Returns the style to use for the offset-line of an icon symbol.intDeprecated.Returns the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.static TLcdDefaultMS2525bStyleDeprecated.Returns a newTLcdDefaultMS2525bStyleinstance.intDeprecated.Returns the X offset of the icon with respect to the location of the icon symbol.intDeprecated.Returns the Y offset of the icon with respect to the location of the icon symbol.booleanDeprecated.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.intDeprecated.intDeprecated.Returns the line width of the rectangle in pixels which is displayed when the icon symbol is selectedintDeprecated.Return the shift to apply to the label position.intDeprecated.Returns the size of the icon symbol that uses this style.doubleDeprecated.Returns the length ratio of the speed leader to the symbol size against the speed value of 1m/s.Deprecated.Returns the frame color used for framed icon symbols.intDeprecated.Returns the frame line width of the icon symbols.Deprecated.doubleDeprecated.Do not use this method.doublegetWidth()Deprecated.This method is replaced bygetWidth()inILcdMS2525bShape.inthashCode()Deprecated.booleanDeprecated.Returns whether the affiliation color mode is enabled.booleanDeprecated.booleanisFilled()Deprecated.booleanDeprecated.Returns whether a halo is enabled for symbols (both icon and line symbols).booleanisLabelEnabled(String aLabel) Deprecated.Returns whether the given label should be displayed.booleanDeprecated.Returns whether the label should be displayed in a filled rectangle.booleanDeprecated.Returns whether the label font size of the label is automatically scaled.booleanDeprecated.Returns whether a halo is enabled for labels of icon and line symbols.booleanDeprecated.Returns whether the label should be displayed with a point on the object.booleanDeprecated.Returns whether the label should be displayed in a frame.booleanDeprecated.Returns whether the label should be displayed with a pin to the object.booleanDeprecated.Returns true if the offset of the icon symbol is editable via CTRL+Drag operation.booleanDeprecated.This property indicates whether or not strict segmentation is enabled.booleanDeprecated.Returns whether an icon symbol should be painted filled.booleanDeprecated.Returns whether the frame of an icon symbol should be painted.booleanDeprecated.Returns whether the internal icon in the frame of an icon symbol should be painted.booleanDeprecated.Returns whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.voidremovePropertyChangeListener(PropertyChangeListener aPropertyChangeListener) 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.voidsetAffiliationColor(int aAffiliation, Color aColor) Deprecated.Sets the color for the given affiliation.voidsetAffiliationColorEnabled(boolean aAffiliationColorEnabled) Deprecated.Sets the affiliation color mode.voidsetAlternateAffiliationColor(int aAffiliation, Color aColor) Deprecated.Sets the alternate color for the given affiliation.voidsetAlternateFillColor(Color aAlternateFillColor) Deprecated.Sets the color to fill the part of the frame that is not covered by the fill percentage.voidsetAltitudeFormat(Format aFormat) Deprecated.Sets a newFormatto format altitudes in labels.voidsetAnchorSymbol(ILcdIcon aSymbol) Deprecated.Sets the icon which is displayed as an anchor icon for the icon symbol.voidsetAngleFormat(Format aAngleFormat) Deprecated.Sets a newFormatto format angles in labels.voidsetArrowCurvedness(double aBulgeFactor) Deprecated.voidDeprecated.Sets the color for unframed icon symbols, line symbols and off-set lines of icon symbols.voidsetCornerSmoothness(double aSmoothnessFactor) Deprecated.Sets the smoothness (or rounding) factor that should be used to render corners of polygons.voidsetDistanceFormat(Format aDistanceFormat) Deprecated.Sets a newFormatto format distances in labels.voidsetEngagementBarEnabled(boolean aEngagementBarEnabled) Deprecated.Sets whether or not the engagement bar graphic amplifier is enabled.voidsetEngagementBarStyle(TLcdEngagementBarStyle aEngagementBarStyle) Deprecated.Sets the engagement bar graphic amplifier's styling options.voidsetFilled(boolean aFilled) Deprecated.voidsetFilledColor(Color aColor) Deprecated.voidsetFillPercentage(double aFillPercentage) Deprecated.Sets the fill percentage to fill the frame of icon symbols.voidsetForcedColor(Color aColor) Deprecated.Sets the color to be used for the icon symbol: this will override the normal colors for the different elements of the symbol.voidsetForcedFrameLineStyle(Integer aForcedFrameLineStyle) 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.voidsetHaloColor(Color aColor) Deprecated.Sets the color to be used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).voidsetHaloEnabled(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for symbols (both icon and line symbols).voidsetHaloThickness(int aThickness) Deprecated.Sets the thickness to be used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).static voidsetInstance(TLcdDefaultMS2525bStyle aInstance) Deprecated.Sets the sharedTLcdDefaultMS2525bStyleinstance to be used.voidsetLabelColor(Color aColor) Deprecated.Sets the color to use for labels.voidsetLabelEnabled(String aLabel, boolean aEnabled) Deprecated.Sets whether the given label should be displayed.voidsetLabelFilled(boolean aLabelFilled) Deprecated.Sets whether the label should be displayed in a filled rectangle.voidsetLabelFilledColor(Color aColor) Deprecated.Sets the color to use for the labels background.voidsetLabelFont(Font aFont) Deprecated.Sets the font to use for labels.voidsetLabelFontScalingEnabled(boolean aLabelFontScalingMode) Deprecated.Sets whether the font size of the label should be automatically scaled for icon symbols.voidsetLabelFrameColor(Color aColor) Deprecated.Sets the color to use for the label frame.voidsetLabelFramePadding(int aPadding) Deprecated.Sets the padding between the label text and the label frame.voidsetLabelHaloColor(Color aColor) Deprecated.Sets the color to be used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).voidsetLabelHaloEnabled(boolean aEnabled) Deprecated.Sets whether a halo should be enabled for labels of icon and line symbols.voidsetLabelHaloThickness(int aThickness) Deprecated.Sets the thickness to be used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).voidsetLabelPosition(int aLabelPosition) Deprecated.Sets the relative position of the label with respect to the object.voidDeprecated.Sets the labels to use for labeling.voidsetLabelWithAnchor(boolean aLabelWithAnchor) Deprecated.Sets whether the label should be displayed with a point on the object.voidsetLabelWithFrame(boolean aLabelWithFrame) Deprecated.Sets whether the label should be displayed in a frame.voidsetLabelWithPin(boolean aLabelWithPin) Deprecated.Sets whether the label should be displayed with a pin to the object.voidsetLineStyle(int aLineStyle) Deprecated.Sets the style to use for the offset-line of an icon symbol.voidsetLineWidth(int aWidth) Deprecated.Sets the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.voidsetOffset(int aX, int aY) Deprecated.Sets the X and Y offset of the icon with respect to the location of the icon symbol.voidsetOffsetEditingEnabled(boolean aOffsetEditingEnabled) Deprecated.Sets if the offset of the icon symbol is editable via CTRL+Drag operation.voidsetOutlined(boolean aOutlined) Deprecated.voidsetSelectionColor(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.voidsetSelectionRectangleHaloColor(Color aColor) Deprecated.Sets the halo color for the selection rectangle of icon symbols.voidsetSelectionRectangleHaloWidth(int aWidth) Deprecated.Sets the line width in pixels of the halo of the selection rectangle of icon symbols.voidsetSelectionRectangleWidth(int aWidth) Deprecated.Sets the line width of the rectangle in pixels which is displayed when the icon symbol is selectedvoidsetSizeSymbol(int aSize) Deprecated.Sets the size of the icon symbol that uses this style.voidsetSpeedLeaderLength(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 timesaTimesSymbolSizeif the symbol has the given speed.voidsetSpeedLeaderLengthRatio(double aRatio) Deprecated.Sets the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
SeeILcdMS2525bStyle.setSpeedLeaderLength(double, ILcdISO19103Measure)for a convenience setter using a speed measure.voidsetStrictSegmentationEnabled(boolean aStrictSegmentationEnabled) Deprecated.Enabled or disabled strict segmentation.voidsetSymbolFillEnabled(boolean aSymbolFillEnabled) Deprecated.Sets whether an icon symbol should be painted filled.voidsetSymbolFrameColor(Color aSymbolFrameColor) Deprecated.Sets the frame color to be used for framed icon symbols.voidsetSymbolFrameEnabled(boolean aSymbolFrameEnabled) Deprecated.Sets whether the frame of an icon symbol should be painted.voidsetSymbolFrameLineWidth(int aWidth) Deprecated.Sets the frame line width of the icon symbols in pixels.voidsetSymbolIconEnabled(boolean aSymbolIconEnabled) Deprecated.Sets whether the internal icon in the frame of an icon symbol should be painted.voidsetTextureFilePath(String aFilePath) Deprecated.voidsetTransparency(double aTransparency) Deprecated.Do not use this method.voidsetVerticalLineEnabled(boolean aEnabled) Deprecated.Sets whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.voidsetWidth(double aWidth) Deprecated.This method is replaced bysetWidth()inILcdEditableMS2525bShape.
-
Constructor Details
-
TLcdDefaultMS2525bStyle
public TLcdDefaultMS2525bStyle(Color aColor, Color aSelectionColor, int aLineWidth, int aLineStyle, boolean aIsSymbolFrameEnabled, boolean aIsSymbolFillEnabled, boolean aIsSymbolIconEnabled, String[] aLabel, Color aLabelColor, Font aLabelFont, Color aLabelFilledColor, boolean aIsLabelFramed, boolean aIsLabelFilled, boolean aIsLabelPinned, boolean aIsLabelAnchored, int aLabelPosition, int aSize) Deprecated.Constructs a newTLcdDefaultMS2525bStyleobject with the given settings.- Parameters:
aColor- The line color for line symbols and off-set lines of icon symbols.aSelectionColor- The selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.aLineWidth- The line width to use for all line symbols and off-set lines of icon symbols.aLineStyle- The style to use for the offset-line of an icon symbol. The options areILcdMS2525bStyle.PLAIN,ILcdMS2525bStyle.SMALL_DASH,ILcdMS2525bStyle.LARGE_DASHandILcdMS2525bStyle.ALTERNATE_DASH.aIsSymbolFrameEnabled- Whether the frame of an icon symbol should be painted.aIsSymbolFillEnabled- Whether an icon symbol should be painted filled.aIsSymbolIconEnabled- Whether the internal icon in the frame of an icon symbol should be painted.aLabel- 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.aLabelColor- The color to use for labels.aLabelFont- The font to use for labels.aLabelFilledColor- The fill color of the labels. This has only effect when the argument aIsLabelFilled == true.aIsLabelFramed- Whether the labels should be surrounded by a border.aIsLabelFilled- Whether the labels should be displayed in a filled rectangle.aIsLabelPinned- Whether the labels 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 MIL-STD 2525b standard.aIsLabelAnchored- Whether the labels 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 MIL-STD 2525b standard.aLabelPosition- The position of this label from its anchor point. 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 MIL-STD 2525b standard.aSize- The size of the symbol.
-
TLcdDefaultMS2525bStyle
@Deprecated public TLcdDefaultMS2525bStyle(Color aColor, Color aSelectionColor, Color aFilledColor, int aLineWidth, int aLineStyle, boolean aIsFilled, boolean aIsOutlined, String[] aLabel, Color aLabelColor, Font aLabelFont, Color aLabelFilledColor, boolean aIsLabelFramed, boolean aIsLabelFilled, boolean aIsLabelPinned, boolean aIsLabelAnchored, int aLabelPosition, int aSize) Deprecated.Constructs a newTLcdDefaultMS2525bStyleobject with the given settings.- Parameters:
aColor- The line color for line symbols and off-set lines of icon symbols.aSelectionColor- The selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.aFilledColor- Not used.aLineWidth- The line width to use for all line symbols and off-set lines of icon symbols.aLineStyle- The style to use for the offset-line of an icon symbol. The options areILcdMS2525bStyle.PLAIN,ILcdMS2525bStyle.SMALL_DASH,ILcdMS2525bStyle.LARGE_DASHandILcdMS2525bStyle.ALTERNATE_DASH.aIsFilled- Not used.aIsOutlined- Whether an icon should be painted outlined. Replaced byisSymbolFillEnabled()andsetSymbolFillEnabled().aLabel- 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.aLabelColor- The color to use for labels.aLabelFont- The font to use for labels.aLabelFilledColor- The fill color of the labels. This has only effect when the argument aIsLabelFilled == true.aIsLabelFramed- Whether the labels should be surrounded by a border.aIsLabelFilled- Whether the labels should be displayed in a filled rectangle.aIsLabelPinned- Whether the labels 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 MIL-STD 2525b standard.aIsLabelAnchored- Whether the labels 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 MIL-STD 2525b standard.aLabelPosition- The position of this label from its anchor point. 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 MIL-STD 2525b standard.aSize- The size of the symbol.- See Also:
-
-
Method Details
-
getInstance
Deprecated.Returns a sharedTLcdDefaultMS2525bStyleinstance.- Returns:
- a shared
TLcdDefaultMS2525bStyleinstance.
-
getNewInstance
Deprecated.Returns a newTLcdDefaultMS2525bStyleinstance.- Returns:
- a new
TLcdDefaultMS2525bStyleinstance.
-
setInstance
Deprecated.Sets the sharedTLcdDefaultMS2525bStyleinstance to be used.- Parameters:
aInstance- the sharedTLcdDefaultMS2525bStyleinstance to be used.
-
getTextureFilePath
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the path to the texture images.- Specified by:
getTextureFilePathin interfaceILcdMS2525bStyle- Specified by:
getTextureFilePathin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the path to the texture images.
-
setTextureFilePath
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the path to the texture images.- Specified by:
setTextureFilePathin interfaceILcdMS2525bStyle- Specified by:
setTextureFilePathin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aFilePath- the path to the texture images.
-
getColor
Deprecated.Returns the line color for unframed icon symbols, line symbols and off-set lines of icon symbols. The default value isColor.blue.- Specified by:
getColorin interfaceILcdMS2525bStyle- Specified by:
getColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the line color for unframed icon symbols, line symbols and off-set lines of icon symbols.
-
isAffiliationColorEnabled
public boolean isAffiliationColorEnabled()Deprecated.Returns whether the affiliation color mode is enabled. 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. The default value isfalse.- Specified by:
isAffiliationColorEnabledin interfaceILcdMS2525bStyle- Specified by:
isAffiliationColorEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- True if the affiliation color mode is enabled.
-
getAffiliationColor
Deprecated.Returns the color that is currently used for the given affiliation. The default values are the ones defined in the MIL-STD 2525b specification. The specification defines four different colors in the RGB space, namely yellow (255,255,128), blue (128,224,255), green (171,255,171) and red (255,128,128). These colors are used for all affiliations:TLcdMilitarySymbolStyle.AFFILIATION_PENDING: yellowTLcdMilitarySymbolStyle.AFFILIATION_UNKNOWN; yellowTLcdMilitarySymbolStyle.AFFILIATION_ASSUMED_FRIEND; blueTLcdMilitarySymbolStyle.AFFILIATION_FRIEND; blueTLcdMilitarySymbolStyle.AFFILIATION_NEUTRAL; greenTLcdMilitarySymbolStyle.AFFILIATION_SUSPECT; redTLcdMilitarySymbolStyle.AFFILIATION_HOSTILE; redTLcdMilitarySymbolStyle.AFFILIATION_JOKER; redTLcdMilitarySymbolStyle.AFFILIATION_FAKER; red
- Specified by:
getAffiliationColorin interfaceILcdMS2525bStyle- Specified by:
getAffiliationColorin 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.
-
getAffiliationColor
Deprecated. -
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:
getAlternateAffiliationColorin interfaceILcdMS2525bStyle- Specified by:
getAlternateAffiliationColorin 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.
-
getFillPercentage
public 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].By default,
1.0is returned.- Specified by:
getFillPercentagein interfaceILcdMS2525bStyle- Specified by:
getFillPercentagein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the fill percentage to fill the frame of icon symbols.
- See Also:
-
getAlternateFillColor
Deprecated.Returns the color used to fill the part of the frame that is not covered by the fill percentage.By default,
nullis returned.- Specified by:
getAlternateFillColorin interfaceILcdMS2525bStyle- Specified by:
getAlternateFillColorin 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:
-
getFilledColor
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the fill color for areas in default mode.- Specified by:
getFilledColorin interfaceILcdMS2525bStyle- Specified by:
getFilledColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the fill color for areas in default mode.
-
getForcedColor
Deprecated.Returns the color that currently overrides the normal colors of the icon symbol. The value isnull, indicating that the normal colors of an icon symbol will be used.- Specified by:
getForcedColorin interfaceILcdMS2525bStyle- Specified by:
getForcedColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color that currently overrides the normal colors of the icon symbol.
-
getSelectionColor
Deprecated.Returns the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols. The default value isColor.red.- Specified by:
getSelectionColorin interfaceILcdMS2525bStyle- Specified by:
getSelectionColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color for line and icon symbols in selection mode.
-
getWidth
Deprecated.This method is replaced bygetWidth()inILcdMS2525bShape.Returns the width that is used for buffer symbols, in meters. Do not use this method.- Returns:
- the width that is used for buffer symbols, in meters.
-
getLineWidth
public int getLineWidth()Deprecated.Returns the line width to use for all line symbols, off-set lines and vertical lines of icon symbols. The default value is 1.- Specified by:
getLineWidthin interfaceILcdMS2525bStyle- Specified by:
getLineWidthin 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.
-
getSymbolFrameLineWidth
public int getSymbolFrameLineWidth()Deprecated.Returns the frame line width of the icon symbols.- Specified by:
getSymbolFrameLineWidthin interfaceILcdMS2525bStyle- Specified by:
getSymbolFrameLineWidthin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the frame line width of the icon symbols.
-
getLineStyle
public int getLineStyle()Deprecated.Returns the style to use for the offset-line of an icon symbol. The default value isILcdMS2525bStyle.PLAIN.- Specified by:
getLineStylein interfaceILcdMS2525bStyle- Specified by:
getLineStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the style to use for the offset-line of an icon symbol.
- See Also:
-
isFilled
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns whether an area should be filled.- Specified by:
isFilledin interfaceILcdMS2525bStyle- Specified by:
isFilledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if an area should be filled.
-
getOutlined
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns whether an icon symbol should be painted outlined. An outlined icon symbol has no fill and takes the color of its affiliation.- Specified by:
getOutlinedin interfaceILcdMS2525bStyle- Specified by:
getOutlinedin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- whether the outline of an area should be painted.
-
getLabelColor
Deprecated.Returns the color to use for labels. The default value isColor.blue.- Specified by:
getLabelColorin interfaceILcdMS2525bStyle- Specified by:
getLabelColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color to use for labels.
-
getLabelFont
Deprecated.Returns the font to use for labels. The default value isnull, which results in the use of an internally defined default font: the 'Dialog' font with styleFont.PLAIN. The size may vary depending on the symbol's size (seeisLabelFontScalingEnabled()).- Specified by:
getLabelFontin interfaceILcdMS2525bStyle- Specified by:
getLabelFontin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the font to use for labels.
- See Also:
-
isLabelFontScalingEnabled
public 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:
isLabelFontScalingEnabledin interfaceILcdMS2525bStyle- Specified by:
isLabelFontScalingEnabledin 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
Deprecated.Returns the color to use for the labels background. This option is only used whenisLabelFilled()returns "true". The default value isColor.blue.- Specified by:
getLabelFilledColorin interfaceILcdMS2525bStyle- Specified by:
getLabelFilledColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color to use for the labels background.
-
isLabelWithPin
public 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 MIL-STD 2525b standard. The default value isfalse.- Specified by:
isLabelWithPinin interfaceILcdMS2525bStyle- Specified by:
isLabelWithPinin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if the label should be displayed with a pin to the object.
-
isLabelWithAnchor
public 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 MIL-STD 2525b standard. The default value isfalse.- Specified by:
isLabelWithAnchorin interfaceILcdMS2525bStyle- Specified by:
isLabelWithAnchorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if the label should be displayed with a point on the object.
-
isLabelWithFrame
public 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 MIL-STD 2525b standard. The default value isfalse.- Specified by:
isLabelWithFramein interfaceILcdMS2525bStyle- Specified by:
isLabelWithFramein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if the label should be displayed in a frame.
-
isLabelFilled
public 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 MIL-STD 2525b standard. The default value isfalse.- Specified by:
isLabelFilledin interfaceILcdMS2525bStyle- Specified by:
isLabelFilledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if the label should be displayed in a filled rectangle.
-
getLabelPosition
public 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. The default value isILcdMS2525bStyle.EAST.- Specified by:
getLabelPositionin interfaceILcdMS2525bStyle- Specified by:
getLabelPositionin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the relative position of the label with respect to the object.
-
getShiftLabelPosition
public 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 MIL-STD 2525b standard. The default value is the result of (getSizeSymbol()/ 2) + 10.- Specified by:
getShiftLabelPositionin interfaceILcdMS2525bStyle- Specified by:
getShiftLabelPositionin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the shift to apply to the label position.
-
getSizeSymbol
public int getSizeSymbol()Deprecated.Returns the size of the icon symbol that uses this style. The default value is 64.- Specified by:
getSizeSymbolin interfaceILcdMS2525bStyle- Specified by:
getSizeSymbolin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- The size of the icon symbol.
-
anchorPointSFCT
public void anchorPointSFCT(Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) throws TLcdNoBoundsException Deprecated.Description copied from interface:ILcdMS2525bStyleCorrection of the anchor point of the label.- Specified by:
anchorPointSFCTin interfaceILcdMS2525bStyle- Specified by:
anchorPointSFCTin 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
-
setLineWidth
public void setLineWidth(int aWidth) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.- Specified by:
setLineWidthin interfaceILcdMS2525bStyle- Specified by:
setLineWidthin 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.
-
setSymbolFrameLineWidth
public void setSymbolFrameLineWidth(int aWidth) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the frame line width of the icon symbols in pixels. The frame line width is only used whenILcdMS2525bStyle.isSymbolFrameEnabled()returns true.- Specified by:
setSymbolFrameLineWidthin interfaceILcdMS2525bStyle- Specified by:
setSymbolFrameLineWidthin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aWidth- the new frame line width for icon symbols.
-
setSizeSymbol
public void setSizeSymbol(int aSize) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the size of the icon symbol that uses this style.- Specified by:
setSizeSymbolin interfaceILcdMS2525bStyle- Specified by:
setSizeSymbolin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aSize- - The size of the icon symbol.
-
setOffset
public void setOffset(int aX, int aY) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setOffsetin interfaceILcdMS2525bStyle- Specified by:
setOffsetin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aX- - The X offset.aY- - The Y offset.
-
getOffsetX
public 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. The default value is 0.- Specified by:
getOffsetXin interfaceILcdMS2525bStyle- Specified by:
getOffsetXin 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
public 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. The default value is 0.- Specified by:
getOffsetYin interfaceILcdMS2525bStyle- Specified by:
getOffsetYin 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.
-
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. The default anchor icon is a filled circle, colored withgetColor(). If you override the default, the color of the anchor icon will be picked from itself instead of this style.- Specified by:
setAnchorSymbolin interfaceILcdMS2525bStyle- Specified by:
setAnchorSymbolin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aSymbol- a ILcdIcon implementation to be displayed as the anchor icon
-
getAnchorSymbol
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the icon used as an anchor icon for the icon symbol.- Specified by:
getAnchorSymbolin interfaceILcdMS2525bStyle- Specified by:
getAnchorSymbolin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the icon used as an anchor icon for the icon symbol.
-
setSelectionRectangleWidth
public void setSelectionRectangleWidth(int aWidth) Deprecated.Sets the line width of the rectangle in pixels which is displayed when the icon symbol is selected The default width value is 1 pixel.- Specified by:
setSelectionRectangleWidthin interfaceILcdMS2525bStyle- Specified by:
setSelectionRectangleWidthin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aWidth- line width of the selection rectangle in pixels.
-
getSelectionRectangleWidth
public int getSelectionRectangleWidth()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the line width of the rectangle in pixels which is displayed when the icon symbol is selected- Specified by:
getSelectionRectangleWidthin interfaceILcdMS2525bStyle- Specified by:
getSelectionRectangleWidthin 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
-
setSelectionRectangleHaloColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the halo color for the selection rectangle of icon symbols.- Specified by:
setSelectionRectangleHaloColorin interfaceILcdMS2525bStyle- Specified by:
setSelectionRectangleHaloColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the selection halo color for the selection rectangle of icon symbols.
-
getSelectionRectangleHaloColor
Deprecated.Returns the selection color for the halo of the selection rectangle of icon symbols. The default value isColor.BLUE- Specified by:
getSelectionRectangleHaloColorin interfaceILcdMS2525bStyle- Specified by:
getSelectionRectangleHaloColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color for halo of the selection rectangle of icon symbols.
-
setSelectionRectangleHaloWidth
public void setSelectionRectangleHaloWidth(int aWidth) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the line width in pixels of the halo of the selection rectangle of icon symbols.- Specified by:
setSelectionRectangleHaloWidthin interfaceILcdMS2525bStyle- Specified by:
setSelectionRectangleHaloWidthin 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
public int getSelectionRectangleHaloWidth()Deprecated.The default width value is 0 pixels.- Specified by:
getSelectionRectangleHaloWidthin interfaceILcdMS2525bStyle- Specified by:
getSelectionRectangleHaloWidthin 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.
-
setAltitudeFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleSets a new
Formatto 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
Doubleobjects in its format method. AllDoubleinstances passed to this method are altitudes expressed in meters.- Specified by:
setAltitudeFormatin interfaceILcdMS2525bStyle- Specified by:
setAltitudeFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aFormat- The newFormatto format an altitude- See Also:
-
getAltitudeFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns theFormatto format altitudes in labels.- Specified by:
getAltitudeFormatin interfaceILcdMS2525bStyle- Specified by:
getAltitudeFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the
Formatto format altitudes in labels. - See Also:
-
setDistanceFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleSets a new
Formatto 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
Doubleobjects in its format method. AllDoubleinstances passed to this method are distances expressed in meters.- Specified by:
setDistanceFormatin interfaceILcdMS2525bStyle- Specified by:
setDistanceFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aDistanceFormat- The newFormatto format a distance- See Also:
-
getDistanceFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns theFormatto format distances in labels.- Specified by:
getDistanceFormatin interfaceILcdMS2525bStyle- Specified by:
getDistanceFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the
Formatto format distances in labels. - See Also:
-
setAngleFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleSets a new
Formatto 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
Doubleobjects in its format method. AllDoubleinstances passed to this method are angles expressed in degrees.- Specified by:
setAngleFormatin interfaceILcdMS2525bStyle- Specified by:
setAngleFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aAngleFormat- The newFormatto format an angle- See Also:
-
getAngleFormat
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns theFormatto format angles in labels.- Specified by:
getAngleFormatin interfaceILcdMS2525bStyle- Specified by:
getAngleFormatin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the
Formatto format angles in labels. - See Also:
-
setOffsetEditingEnabled
public void setOffsetEditingEnabled(boolean aOffsetEditingEnabled) Deprecated.Sets if the offset of the icon symbol is editable via CTRL+Drag operation. The default value istrue.- Specified by:
setOffsetEditingEnabledin interfaceILcdMS2525bStyle- Specified by:
setOffsetEditingEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aOffsetEditingEnabled- the offset is editable if this is true
-
isOffsetEditingEnabled
public boolean isOffsetEditingEnabled()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns true if the offset of the icon symbol is editable via CTRL+Drag operation.- Specified by:
isOffsetEditingEnabledin interfaceILcdMS2525bStyle- Specified by:
isOffsetEditingEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- true if the offset of the icon symbol is editable via CTRL+Drag operation.
-
setTransparency
Deprecated.Do not use this method. -
getTransparency
Deprecated.Do not use this method. -
setLineStyle
public void setLineStyle(int aLineStyle) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the style to use for the offset-line of an icon symbol. Possible values are:ILcdMS2525bStyle.PLAIN: plain.ILcdMS2525bStyle.SMALL_DASH: small dashing pattern.ILcdMS2525bStyle.LARGE_DASH: large dashing pattern.ILcdMS2525bStyle.ALTERNATE_DASH: alternate (small and large) dashing pattern.
- Specified by:
setLineStylein interfaceILcdMS2525bStyle- Specified by:
setLineStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLineStyle- the new style to use for the offset-line of an icon symbol.
-
setWidth
Deprecated.This method is replaced bysetWidth()inILcdEditableMS2525bShape.Sets the width to be used for buffer symbols, in meters. Do not use this method.- Parameters:
aWidth- a new buffer width in meters.
-
setFilled
Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether an area should be filled.- Specified by:
setFilledin interfaceILcdMS2525bStyle- Specified by:
setFilledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aFilled- true when an area should be filled.
-
setOutlined
Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether an icon symbol should be painted outlined. An outlined icon symbol has no fill and takes the color of its affiliation.- Specified by:
setOutlinedin interfaceILcdMS2525bStyle- Specified by:
setOutlinedin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aOutlined- true to paint the outline of an area.
-
setSymbolFrameEnabled
public void setSymbolFrameEnabled(boolean aSymbolFrameEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether the frame of an icon symbol should be painted.- Specified by:
setSymbolFrameEnabledin interfaceILcdMS2525bStyle- Specified by:
setSymbolFrameEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aSymbolFrameEnabled- Whether the frame of an icon symbol should be painted.
-
isSymbolFrameEnabled
public boolean isSymbolFrameEnabled()Deprecated.Returns whether the frame of an icon symbol should be painted. The default value istrue.- Specified by:
isSymbolFrameEnabledin interfaceILcdMS2525bStyle- Specified by:
isSymbolFrameEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- True if the frame of an icon symbol should be painted.
-
setSymbolFillEnabled
public void setSymbolFillEnabled(boolean aSymbolFillEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether an icon symbol should be painted filled.- Specified by:
setSymbolFillEnabledin interfaceILcdMS2525bStyle- Specified by:
setSymbolFillEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aSymbolFillEnabled- Whether an icon symbol should be painted filled.
-
isSymbolFillEnabled
public boolean isSymbolFillEnabled()Deprecated.Returns whether an icon symbol should be painted filled. The default value istrue.- Specified by:
isSymbolFillEnabledin interfaceILcdMS2525bStyle- Specified by:
isSymbolFillEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- True if an icon symbol should be painted filled.
-
setSymbolIconEnabled
public void setSymbolIconEnabled(boolean aSymbolIconEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether the internal icon in the frame of an icon symbol should be painted.- Specified by:
setSymbolIconEnabledin interfaceILcdMS2525bStyle- Specified by:
setSymbolIconEnabledin 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
public boolean isSymbolIconEnabled()Deprecated.Returns whether the internal icon in the frame of an icon symbol should be painted. The default value istrue.- Specified by:
isSymbolIconEnabledin interfaceILcdMS2525bStyle- Specified by:
isSymbolIconEnabledin 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.
-
getSymbolFrameColor
Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleReturns the frame color used for framed icon symbols. This color is also used to paint the echelon and status (Exercise, Simulation, Damaged, etc.) icons. When symbol fill is disabled, the symbol's affiliation color will be used as frame color, regardless of the configured symbol frame color. Additionally, the frame color will always be black and white dotted, for symbols of assumed affiliations (Assumed Friend, Assumed Neutral, etc.) for APP-6B/C/D and MIL-STD-2525C/D. The default value isColor.BLACK.- Specified by:
getSymbolFrameColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the frame color used for framed icon symbols, never
null. - See Also:
-
setSymbolFrameColor
Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleSets the frame color to be used for framed icon symbols. This color is also used to paint the echelon, status (Exercise, Simulation, Damaged, etc.) icons. When symbol fill is disabled, the symbol's affiliation color will be used as frame color, regardless of the configured symbol frame color. Additionally, the frame color will always be black and white dotted, for symbols of assumed affiliations (Assumed Friend, Assumed Neutral, etc.) for APP-6B/C/D and MIL-STD-2525C/D.- Specified by:
setSymbolFrameColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- See Also:
-
getForcedFrameLineStyle
Deprecated.Returns the style that currently overrides the normal symbol frame outline line style of the icon symbol. By default,nullis returned, indicating that the line style of the icon determined by the affiliation and status are used as defined in the standard.- Specified by:
getForcedFrameLineStylein interfaceILcdMS2525bStyle- Specified by:
getForcedFrameLineStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- an Integer representing the currently forced line style of the icon symbol frame,
or
nullif the default line style is used.
-
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,nullmust be supplied. Possible values are:ILcdMS2525bStyle.PLAIN: plain (solid line).ILcdMS2525bStyle.SMALL_DASH: small dashing pattern.ILcdMS2525bStyle.LARGE_DASH: large dashing pattern.ILcdMS2525bStyle.ALTERNATE_DASH: alternate (small and large) dashing pattern.ILcdMS2525bStyle.BLACK_AND_WHITE_DOTTED: alternating black and white dots pattern.ILcdMS2525bStyle.BLACK_AND_WHITE_DASHES: dashed stroke of alternating black and white dots pattern.
- Specified by:
setForcedFrameLineStylein interfaceILcdMS2525bStyle- Specified by:
setForcedFrameLineStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aForcedFrameLineStyle- an Integer representing the line style to be used.
-
retrieveLabels
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns 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:
retrieveLabelsin interfaceILcdMS2525bStyle- Specified by:
retrieveLabelsin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the labels to use for labeling.
-
setLabels
Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setLabelsin interfaceILcdMS2525bStyle- Specified by:
setLabelsin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
label- the labels to use for labeling.
-
setLabelColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the color to use for labels.- Specified by:
setLabelColorin interfaceILcdMS2525bStyle- Specified by:
setLabelColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the color to use for labels.
-
setLabelFont
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the font to use for labels.- Specified by:
setLabelFontin interfaceILcdMS2525bStyle- Specified by:
setLabelFontin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aFont- the font to use for labels.
-
setLabelFontScalingEnabled
public void setLabelFontScalingEnabled(boolean aLabelFontScalingMode) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setLabelFontScalingEnabledin interfaceILcdMS2525bStyle- Specified by:
setLabelFontScalingEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelFontScalingMode- The font size scaling mode.
-
setColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the color for unframed icon symbols, line symbols and off-set lines of icon symbols.- Specified by:
setColorin interfaceILcdMS2525bStyle- Specified by:
setColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
color- the line color for unframed icon symbols, line symbols and off-set lines of icon symbols.
-
setAffiliationColorEnabled
public void setAffiliationColorEnabled(boolean aAffiliationColorEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setAffiliationColorEnabledin interfaceILcdMS2525bStyle- Specified by:
setAffiliationColorEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aAffiliationColorEnabled- The affiliation color mode.
-
setAffiliationColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setAffiliationColorin interfaceILcdMS2525bStyle- Specified by:
setAffiliationColorin 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.
-
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 MIL-STD-2525c symbol 2.X.2.1.2.3 'Line of contact', for which each side of the line of contact can have a different color.- Specified by:
setAlternateAffiliationColorin interfaceILcdMS2525bStyle- Specified by:
setAlternateAffiliationColorin 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.
-
setFillPercentage
public void setFillPercentage(double aFillPercentage) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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
ILcdMS2525bStyle.isSymbolFrameEnabled()returnstrue.- Specified by:
setFillPercentagein interfaceILcdMS2525bStyle- Specified by:
setFillPercentagein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aFillPercentage- the fill percentage to fill the frame of icon symbols.- See Also:
-
setAlternateFillColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the color to fill the part of the frame that is not covered by the fill percentage. Ifnullis 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
ILcdMS2525bStyle.isSymbolFrameEnabled()returnstrue.- Specified by:
setAlternateFillColorin interfaceILcdMS2525bStyle- Specified by:
setAlternateFillColorin 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:
-
setFilledColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the fill color for areas in default mode.- Specified by:
setFilledColorin interfaceILcdMS2525bStyle- Specified by:
setFilledColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the new fill color for areas in default mode.
-
setForcedColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the color to be used for the icon symbol: this will override the normal colors for the different elements of the symbol. To revert to the normal colors of the military symbol,nullmust be supplied. Note that a selected symbol will always be displayed using the selection colors, even if a forced color is configured.- Specified by:
setForcedColorin interfaceILcdMS2525bStyle- Specified by:
setForcedColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the color to be used for the military symbol.
-
setSelectionColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the selection color for the construction line of line symbols and for the offset-line and bounding box of icon symbols.- Specified by:
setSelectionColorin interfaceILcdMS2525bStyle- Specified by:
setSelectionColorin 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.
-
setLabelFilledColor
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the color to use for the labels background. This option is only used whenisLabelFilled()returns "true".- Specified by:
setLabelFilledColorin interfaceILcdMS2525bStyle- Specified by:
setLabelFilledColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the color to use for the labels background.
-
setLabelWithPin
public void setLabelWithPin(boolean aLabelWithPin) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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 MIL-STD 2525b standard.- Specified by:
setLabelWithPinin interfaceILcdMS2525bStyle- Specified by:
setLabelWithPinin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelWithPin- whether the label should be displayed with a pin to the object.
-
setLabelWithAnchor
public void setLabelWithAnchor(boolean aLabelWithAnchor) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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 MIL-STD 2525b standard.- Specified by:
setLabelWithAnchorin interfaceILcdMS2525bStyle- Specified by:
setLabelWithAnchorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelWithAnchor- whether the label should be displayed with a point on the object.
-
setLabelWithFrame
public void setLabelWithFrame(boolean aLabelWithFrame) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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 MIL-STD 2525b standard.- Specified by:
setLabelWithFramein interfaceILcdMS2525bStyle- Specified by:
setLabelWithFramein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelWithFrame- whether the label should be displayed in a frame.
-
getLabelFrameColor
Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleReturns the color to use for the label frame. This option is only used whenILinMilitarySymbolStyle.isLabelWithFrame()returnstrue. Anullvalue indicates that theILinMilitarySymbolStyle.getLabelColor()should be used instead. This is also the default.- Specified by:
getLabelFrameColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the color to use for the label frame or
null
-
setLabelFrameColor
Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleSets the color to use for the label frame.- Specified by:
setLabelFrameColorin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aColor- the color to use for the label frame ornull- See Also:
-
getLabelFramePadding
public int getLabelFramePadding()Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleReturns the padding between the label text and the label frame. This option is only used whenILinMilitarySymbolStyle.isLabelWithFrame()returnstrue. The default value is1.- Specified by:
getLabelFramePaddingin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the number of pixels between the label text and label frame
-
setLabelFramePadding
public void setLabelFramePadding(int aPadding) Deprecated.Description copied from interface:com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyleSets the padding between the label text and the label frame.- Specified by:
setLabelFramePaddingin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aPadding- the number of pixels between the label text and label frame- See Also:
-
setLabelFilled
public void setLabelFilled(boolean aLabelFilled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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 MIL-STD 2525b standard.- Specified by:
setLabelFilledin interfaceILcdMS2525bStyle- Specified by:
setLabelFilledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelFilled- whether the label should be displayed in a filled rectangle.
-
setLabelPosition
public void setLabelPosition(int aLabelPosition) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setLabelPositionin interfaceILcdMS2525bStyle- Specified by:
setLabelPositionin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabelPosition- the relative position of the label with respect to the object.
-
setLabelEnabled
Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether the given label should be displayed.- Specified by:
setLabelEnabledin interfaceILcdMS2525bStyle- Specified by:
setLabelEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabel- A label as defined by the static members ofILcdMS2525bCoded.aEnabled- whether the label should be displayed.
-
isLabelEnabled
Deprecated.Returns whether the given label should be displayed. The possible labels are the MIL-STD 2525 b/c/d modifiers, defined by the static members ofILcdMS2525bCoded. All valid labels are enabled by default.- Specified by:
isLabelEnabledin interfaceILcdMS2525bStyle- Specified by:
isLabelEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aLabel- A label as defined by the static members ofILcdMS2525bCoded.- Returns:
- True if the given label should be displayed. False otherwise or for unknown labels
-
getCornerSmoothness
public double getCornerSmoothness()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns 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:
getCornerSmoothnessin interfaceILcdMS2525bStyle- Specified by:
getCornerSmoothnessin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the smoothness (or rounding) factor for polygon corners.
- See Also:
-
setCornerSmoothness
public void setCornerSmoothness(double aSmoothnessFactor) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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 (MIL-STD 2525b: 2.X.2.5.3.5)
- Strong point (MIL-STD 2525b: 2.X.3.3.5)
- Battle positions (MIL-STD 2525b: 2.X.2.4.3.1 and 2.X.2.4.3.1.1)
- Specified by:
setCornerSmoothnessin interfaceILcdMS2525bStyle- Specified by:
setCornerSmoothnessin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aSmoothnessFactor- the smoothness (or rounding) factor for polygon corners.
-
getArrowCurvedness
Deprecated.Returns 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 MIL-STD 2525b (situated in 2.X.2.5.2.1).- Specified by:
getArrowCurvednessin interfaceILcdMS2525bStyle- Specified by:
getArrowCurvednessin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the curvedness factor for aviation-related arrow symbols.
- See Also:
-
setArrowCurvedness
Deprecated.Sets 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 MIL-STD 2525b (situated in 2.X.2.5.2.1).- Specified by:
setArrowCurvednessin interfaceILcdMS2525bStyle- Specified by:
setArrowCurvednessin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aBulgeFactor- the curvedness factor for aviation-related arrow symbols.
-
isHaloEnabled
public boolean isHaloEnabled()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns whether a halo is enabled for symbols (both icon and line symbols).By default,
falseis returned.- Specified by:
isHaloEnabledin interfaceILcdMS2525bStyle- Specified by:
isHaloEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- if a halo is enabled for icon and line symbols.
-
setHaloEnabled
public void setHaloEnabled(boolean aEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether a halo should be enabled for symbols (both icon and line symbols).The halo color and thickness can be configured respectively through
ILcdMS2525bStyle.setHaloColor(java.awt.Color)andILcdMS2525bStyle.setHaloThickness(int).- Specified by:
setHaloEnabledin interfaceILcdMS2525bStyle- Specified by:
setHaloEnabledin 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
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the color that is used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).By default,
Color.WHITEis returned.- Specified by:
getHaloColorin interfaceILcdMS2525bStyle- Specified by:
getHaloColorin 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.Description copied from interface:ILcdMS2525bStyleSets the color to be used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).- Specified by:
setHaloColorin interfaceILcdMS2525bStyle- Specified by:
setHaloColorin 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
public int getHaloThickness()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the thickness that is used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).By default, 1 is returned.
- Specified by:
getHaloThicknessin interfaceILcdMS2525bStyle- Specified by:
getHaloThicknessin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- the thickness that is used for icon and line symbol halos, if enabled.
-
setHaloThickness
public void setHaloThickness(int aThickness) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the thickness to be used for icon and line symbol halos, if enabled (i.e., ifILcdMS2525bStyle.isHaloEnabled()returns true).- Specified by:
setHaloThicknessin interfaceILcdMS2525bStyle- Specified by:
setHaloThicknessin 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
public boolean isLabelHaloEnabled()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns whether a halo is enabled for labels of icon and line symbols.By default,
falseis returned.- Specified by:
isLabelHaloEnabledin interfaceILcdMS2525bStyle- Specified by:
isLabelHaloEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- if a halo is enabled for labels of icon and line symbols.
-
setLabelHaloEnabled
public void setLabelHaloEnabled(boolean aEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether a halo should be enabled for labels of icon and line symbols.The label halo color and thickness can be configured respectively through
ILcdMS2525bStyle.setLabelHaloColor(java.awt.Color)andILcdMS2525bStyle.setLabelHaloThickness(int).- Specified by:
setLabelHaloEnabledin interfaceILcdMS2525bStyle- Specified by:
setLabelHaloEnabledin 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
Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the color that is used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).By default,
Color.GRAYis returned.- Specified by:
getLabelHaloColorin interfaceILcdMS2525bStyle- Specified by:
getLabelHaloColorin 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.Description copied from interface:ILcdMS2525bStyleSets the color to be used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).- Specified by:
setLabelHaloColorin interfaceILcdMS2525bStyle- Specified by:
setLabelHaloColorin 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
public int getLabelHaloThickness()Deprecated.Description copied from interface:ILcdMS2525bStyleReturns the thickness that is used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).By default, 1 is returned.
- Specified by:
getLabelHaloThicknessin interfaceILcdMS2525bStyle- Specified by:
getLabelHaloThicknessin 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
public void setLabelHaloThickness(int aThickness) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the thickness to be used for the label halo of icon and line symbols, if enabled (i.e., ifILcdMS2525bStyle.isLabelHaloEnabled()returns true).- Specified by:
setLabelHaloThicknessin interfaceILcdMS2525bStyle- Specified by:
setLabelHaloThicknessin 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
public 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
ILcdMS2525bStyle.setLineWidth(int). - The color of the vertical line depends on
ILcdMS2525bStyle.isAffiliationColorEnabled(). if affiliation color is enabled, it's determined by affiliation of the symbol otherwise it's determined byILcdMS2525bStyle.getColor().
true.- Specified by:
isVerticalLineEnabledin interfaceILcdMS2525bStyle- Specified by:
isVerticalLineEnabledin 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
public void setVerticalLineEnabled(boolean aEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets 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:
setVerticalLineEnabledin interfaceILcdMS2525bStyle- Specified by:
setVerticalLineEnabledin 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
public void setSpeedLeaderLengthRatio(double aRatio) Deprecated.Description copied from interface:ILcdMS2525bStyleSets the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
SeeILcdMS2525bStyle.setSpeedLeaderLength(double, ILcdISO19103Measure)for a convenience setter using a speed measure.- Specified by:
setSpeedLeaderLengthRatioin interfaceILcdMS2525bStyle- Specified by:
setSpeedLeaderLengthRatioin 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
public 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
ILcdMS2525bStyle.getSizeSymbol() - If aRatio is 10, 1m/s of speed value will be visualized with the speed leader having the length of 10 x
ILcdMS2525bStyle.getSizeSymbol()
Speed leaders are only applicable to MIL-STD 2525C.
The default value for the length ratio is 0.05- Specified by:
getSpeedLeaderLengthRatioin interfaceILcdMS2525bStyle- Specified by:
getSpeedLeaderLengthRatioin 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.Description copied from interface:ILcdMS2525bStyleA convenience method that changes the speed leader length ratio so that the speed leader length is equal to the symbol size timesaTimesSymbolSizeif the symbol has the given speed. For example, if the symbol size is 64 pixels and the method is called withaTimesSymbolSize == 3and a speed of Mach 1, the symbol's speed leader will be3*64=192pixels long travelling at Mach 1, and3*64*2=384pixels at Mach 2.- Specified by:
setSpeedLeaderLengthin interfaceILcdMS2525bStyle- Specified by:
setSpeedLeaderLengthin 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.- See Also:
-
isEngagementBarEnabled
public boolean isEngagementBarEnabled()Deprecated.- Specified by:
isEngagementBarEnabledin interfaceILcdMS2525bStyle- Specified by:
isEngagementBarEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- boolean indicating whether or not the engagement bar graphic amplifier is enabled
- See Also:
-
setEngagementBarEnabled
public void setEngagementBarEnabled(boolean aEngagementBarEnabled) Deprecated.Description copied from interface:ILcdMS2525bStyleSets whether or not the engagement bar graphic amplifier is enabled.- Specified by:
setEngagementBarEnabledin interfaceILcdMS2525bStyle- Specified by:
setEngagementBarEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- See Also:
-
getEngagementBarStyle
Deprecated.- Specified by:
getEngagementBarStylein interfaceILcdMS2525bStyle- Specified by:
getEngagementBarStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Returns:
- The engagement bar graphic amplifier's styling options.
- See Also:
-
setEngagementBarStyle
Deprecated.Description copied from interface:ILcdMS2525bStyleSets the engagement bar graphic amplifier's styling options.- Specified by:
setEngagementBarStylein interfaceILcdMS2525bStyle- Specified by:
setEngagementBarStylein interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- See Also:
-
isStrictSegmentationEnabled
public 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.Strict segmentation is disabled by default.
- Specified by:
isStrictSegmentationEnabledin interfaceILcdMS2525bStyle- Specified by:
isStrictSegmentationEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Specified by:
isStrictSegmentationEnabledin interfacecom.luciad.internal.symbology.common.view.canvas.ILinSymbologyStyle- Returns:
- a boolean indicating whether or not strict segmentation is enabled
- See Also:
-
setStrictSegmentationEnabled
public 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.Strict segmentation is disabled by default.
- Specified by:
setStrictSegmentationEnabledin interfaceILcdMS2525bStyle- Specified by:
setStrictSegmentationEnabledin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aStrictSegmentationEnabled- a boolean indicating whether or not strict segmentation is enabled
-
addPropertyChangeListener
Deprecated.Description copied from interface:ILcdMS2525bStyleAdds the given listener that is notified when a property of this style is changed.- Specified by:
addPropertyChangeListenerin interfaceILcdMS2525bStyle- Specified by:
addPropertyChangeListenerin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aPropertyChangeListener- the object to notify when a property of this style is changed.
-
removePropertyChangeListener
Deprecated.Description copied from interface:ILcdMS2525bStyleRemoves the given listener from the list so that it is no longer notified when a property of this style is changed.- Specified by:
removePropertyChangeListenerin interfaceILcdMS2525bStyle- Specified by:
removePropertyChangeListenerin interfacecom.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbolStyle- Parameters:
aPropertyChangeListener- the listener that should no longer be notified when a property of this style is changed.
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
clone
Deprecated.Description copied from interface:ILcdCloneableMakes
When for example extending fromObject.clone()public.java.lang.Object, it can be implemented like this:public Object clone() { try { return super.clone(); } catch ( CloneNotSupportedException e ) { // Cannot happen: extends from Object and implements Cloneable (see also Object.clone) throw new RuntimeException( e ); } }- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classObject- See Also:
-
TLcdMilitarySymbolStyle, which can be used to style both APP-6 and MIL-STD-2525 objects.