public interface ILcdAPP6AStyle
extends com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
TLcdDefaultAPP6AStyle
.Modifier and Type | Field and Description |
---|---|
static int |
AFFILIATION_ASSUMED_FRIEND
Affiliation
ASSUMED FRIEND . |
static int |
AFFILIATION_ASSUMED_NEUTRAL
Affiliation
ASSUMED NEUTRAL . |
static int |
AFFILIATION_EXERCISE_ASSUMED_FRIEND
Affiliation
EXERCISE ASSUMED FRIEND . |
static int |
AFFILIATION_EXERCISE_ASSUMED_NEUTRAL
Affiliation
EXERCISE ASSUMED NEUTRAL . |
static int |
AFFILIATION_EXERCISE_FRIEND
Affiliation
EXERCISE FRIEND . |
static int |
AFFILIATION_EXERCISE_HOSTILE
Deprecated.
This value has been deprecated. It is recommended to use the
affiliation faker constant for this purpose.
|
static int |
AFFILIATION_EXERCISE_NEUTRAL
Affiliation
EXERCISE NEUTRAL . |
static int |
AFFILIATION_EXERCISE_PENDING
Affiliation
EXERCISE PENDING . |
static int |
AFFILIATION_EXERCISE_SUSPECT
Deprecated.
This value has been deprecated. It is recommended to use the
affiliation joker constant for this purpose.
|
static int |
AFFILIATION_EXERCISE_UNKNOWN
Affiliation
EXERCISE UNKNOWN . |
static int |
AFFILIATION_FAKER
Affiliation
FAKER . |
static int |
AFFILIATION_FRIEND
Affiliation
FRIEND . |
static int |
AFFILIATION_HOSTILE
Affiliation
HOSTILE . |
static int |
AFFILIATION_JOKER
Affiliation
JOKER . |
static int |
AFFILIATION_NEUTRAL
Affiliation
NEUTRAL . |
static int |
AFFILIATION_PENDING
Affiliation
PENDING . |
static int |
AFFILIATION_SUSPECT
Affiliation
SUSPECT . |
static int |
AFFILIATION_UNKNOWN
Affiliation
UNKNOWN . |
static int |
ALTERNATE_DASH
Line style: alternate (small and large) dashing pattern.
|
static int |
BLACK_AND_WHITE_DASHES
Line style: alternating black and white dashes.
|
static int |
BLACK_AND_WHITE_DOTTED
Line style: alternating black and white dots.
|
static int |
CENTER
Index for centered label position.
|
static int |
EAST
Index for label position east.
|
static int |
LARGE_DASH
Line style: large dashing pattern.
|
static int |
NORTH
Index for label position north.
|
static int |
NORTHEAST
Index for label position north-east.
|
static int |
NORTHWEST
Index for label position north-west.
|
static int |
PLAIN
Line style: plain.
|
static String[] |
sLabelPositions
Label positions.
|
static int |
SMALL_DASH
Line style: small dashing pattern.
|
static int |
SOUTH
Index for label position south.
|
static int |
SOUTHEAST
Index for label position south-east.
|
static int |
SOUTHWEST
Index for label position south-west.
|
static int |
WEST
Index for label position west.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener aListener)
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)
Correction of the anchor point of the label.
|
Color |
getAffiliationColor(int aAffiliation)
Returns the color that is currently used for the given affiliation.
|
Color |
getAlternateAffiliationColor(int aAffiliation)
Returns the alternate color that is currently used for the given affiliation.
|
Color |
getAlternateFillColor()
Returns the color used to fill the part of the frame that is not covered
by the fill percentage.
|
Format |
getAltitudeFormat()
Returns the
Format to format altitudes in labels. |
ILcdIcon |
getAnchorSymbol()
Returns the icon used as an anchor icon for the icon symbol.
|
Format |
getAngleFormat()
Returns the
Format to format angles in labels. |
double |
getArrowCurvedness()
Deprecated.
This property is no longer used by the aviation-related arrow painters
|
Color |
getColor()
Returns the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.
|
double |
getCornerSmoothness()
Returns the smoothness (or rounding) factor that is used to render corners of polygons.
|
Format |
getDistanceFormat()
Returns the
Format to format distances in labels. |
TLcdEngagementBarStyle |
getEngagementBarStyle() |
Color |
getFilledColor()
Deprecated.
Not used.
|
double |
getFillPercentage()
Returns the fill percentage used to fill the frame of icon symbols.
|
Color |
getForcedColor()
Returns the color that currently overrides the normal colors of the military symbol.
|
default Integer |
getForcedFrameLineStyle()
Returns the style that currently overrides the normal symbol frame outline line style of the icon symbol.
|
Color |
getHaloColor()
Returns the color that is used for icon and line symbol halos, if enabled
(i.e., if
isHaloEnabled() returns true). |
int |
getHaloThickness()
Returns the thickness that is used for icon and line symbol halos, if enabled
(i.e., if
isHaloEnabled() returns true). |
Color |
getLabelColor()
Returns the color to use for labels.
|
Color |
getLabelFilledColor()
Returns the color to use for the labels background.
|
Font |
getLabelFont()
Returns the font to use for labels.
|
Color |
getLabelHaloColor()
Returns the color that is used for the label halo of icon and line symbols, if enabled
(i.e., if
isLabelHaloEnabled() returns true). |
int |
getLabelHaloThickness()
Returns the thickness that is used for the label halo of icon and line symbols, if enabled
(i.e., if
isLabelHaloEnabled() returns true). |
int |
getLabelPosition()
Returns the relative position of the label with respect to the object.
|
int |
getLineStyle()
Returns the style to use for the offset-line of an icon symbol.
|
int |
getLineWidth()
Returns the line width to use for all line symbols, off-set lines and vertical lines of icon symbols.
|
int |
getOffsetX()
Returns the X offset of the icon with respect to the location of the icon symbol.
|
int |
getOffsetY()
Returns the Y offset of the icon with respect to the location of the icon symbol.
|
boolean |
getOutlined()
Deprecated.
The display options are now queryable using the
methods
isSymbolFrameEnabled() , isSymbolFillEnabled()
and isSymbolIconEnabled . More specifically, the outline option controlled
whether a symbol must be filled or not; use isSymbolFillEnabled() instead. |
Color |
getSelectionColor()
Returns the selection color for the construction line of line symbols and for the
offset-line and bounding box of icon symbols.
|
Color |
getSelectionRectangleHaloColor()
Returns the selection color for the halo of the selection rectangle of icon symbols.
|
int |
getSelectionRectangleHaloWidth() |
int |
getSelectionRectangleWidth()
Returns the line width of the rectangle in pixels which is displayed when the icon symbol is selected
|
int |
getShiftLabelPosition()
Return the shift to apply to the label position.
|
int |
getSizeSymbol()
Returns the size of the icon symbol that uses this style.
|
double |
getSpeedLeaderLengthRatio()
Returns the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
|
int |
getSymbolFrameLineWidth()
Returns the frame line width of the icon symbols.
|
String |
getTextureFilePath()
Deprecated.
Not used.
|
boolean |
isAffiliationColorEnabled()
Returns whether the affiliation color mode is enabled.
|
boolean |
isEngagementBarEnabled() |
boolean |
isFilled()
Deprecated.
Not used.
|
boolean |
isHaloEnabled()
Returns whether a halo is enabled for symbols (both icon and line symbols).
|
boolean |
isLabelEnabled(String aLabel)
Returns whether the given label should be displayed.
|
boolean |
isLabelFilled()
Returns whether the label should be displayed in a filled rectangle.
|
boolean |
isLabelFontScalingEnabled()
Returns whether the label font size of the label is automatically scaled.
|
boolean |
isLabelHaloEnabled()
Returns whether a halo is enabled for labels of icon and line symbols.
|
boolean |
isLabelWithAnchor()
Returns whether the label should be displayed with a point on the object.
|
boolean |
isLabelWithFrame()
Returns whether the label should be displayed in a frame.
|
boolean |
isLabelWithPin()
Returns whether the label should be displayed with a pin to the object.
|
boolean |
isOffsetEditingEnabled()
Returns true if the offset of the icon symbol is editable via CTRL+Drag operation.
|
boolean |
isStrictSegmentationEnabled()
This property indicates whether or not strict segmentation is enabled.
|
boolean |
isSymbolFillEnabled()
Returns whether an icon symbol should be painted filled.
|
boolean |
isSymbolFrameEnabled()
Returns whether the frame of an icon symbol should be painted.
|
boolean |
isSymbolIconEnabled()
Returns whether the internal icon in the frame of an icon symbol should be painted.
|
boolean |
isVerticalLineEnabled()
Returns whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.
|
void |
removePropertyChangeListener(PropertyChangeListener aListener)
Removes the given listener from the list so that it is no longer notified when a property of this style is changed.
|
String[] |
retrieveLabels()
Returns the labels to use for labeling.
|
void |
setAffiliationColor(int aAffiliation,
Color aColor)
Sets the color for the given affiliation.
|
void |
setAffiliationColorEnabled(boolean aAffiliationColorEnabled)
Sets the affiliation color mode.
|
void |
setAlternateAffiliationColor(int aAffiliation,
Color aColor)
Sets the alternate color for the given affiliation.
|
void |
setAlternateFillColor(Color aAlternateFillColor)
Sets the color to fill the part of the frame that is not covered
by the fill percentage.
|
void |
setAltitudeFormat(Format aFormat)
Sets a new
Format to format altitudes in labels. |
void |
setAnchorSymbol(ILcdIcon aSymbol)
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)
Sets a new
Format to format angles in labels. |
void |
setArrowCurvedness(double aArrowCurvedness)
Deprecated.
This property is no longer used by the aviation-related arrow painters
|
void |
setColor(Color aColor)
Sets the color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.
|
void |
setCornerSmoothness(double aSmoothness)
Sets the smoothness (or rounding) factor that should be used to render corners of polygons.
|
void |
setDistanceFormat(Format aFormat)
Sets a new
Format to format distances in labels. |
void |
setEngagementBarEnabled(boolean aEngagementBarEnabled)
Sets wether or not the engagement bar graphic amplifier is enabled.
|
void |
setEngagementBarStyle(TLcdEngagementBarStyle aEngagementBarStyle)
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)
Sets the fill percentage to fill the frame of icon symbols.
|
void |
setForcedColor(Color aColor)
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)
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)
Sets the color to be used for icon and line symbol halos, if enabled
(i.e., if
isHaloEnabled() returns true). |
void |
setHaloEnabled(boolean aEnabled)
Sets whether a halo should be enabled for symbols (both icon and line symbols).
|
void |
setHaloThickness(int aThickness)
Sets the thickness to be used for icon and line symbol halos, if enabled
(i.e., if
isHaloEnabled() returns true). |
void |
setLabelColor(Color aColor)
Sets the color to use for labels.
|
void |
setLabelEnabled(String aLabel,
boolean aEnabled)
Sets whether the given label should be displayed.
|
void |
setLabelFilled(boolean aSelect)
Sets whether the label should be displayed in a filled rectangle.
|
void |
setLabelFilledColor(Color aColor)
Sets the color to use for the labels background.
|
void |
setLabelFont(Font aFont)
Sets the font to use for labels.
|
void |
setLabelFontScalingEnabled(boolean aLabelFontScalingMode)
Sets whether the font size of the label should be automatically scaled
for icon symbols.
|
void |
setLabelHaloColor(Color aColor)
Sets the color to be used for the label halo of icon and line symbols, if enabled
(i.e., if
isLabelHaloEnabled() returns true). |
void |
setLabelHaloEnabled(boolean aEnabled)
Sets whether a halo should be enabled for labels of icon and line symbols.
|
void |
setLabelHaloThickness(int aThickness)
Sets the thickness to be used for the label halo of icon and line symbols, if enabled
(i.e., if
isLabelHaloEnabled() returns true). |
void |
setLabelPosition(int aPosition)
Sets the relative position of the label with respect to the object.
|
void |
setLabels(String[] aLabels)
Sets the labels to use for labeling.
|
void |
setLabelWithAnchor(boolean aSelect)
Sets whether the label should be displayed with a point on the object.
|
void |
setLabelWithFrame(boolean aSelect)
Sets whether the label should be displayed in a frame.
|
void |
setLabelWithPin(boolean aSelect)
Sets whether the label should be displayed with a pin to the object.
|
void |
setLineStyle(int aLineStyle)
Sets the style to use for the offset-line of an icon symbol.
|
void |
setLineWidth(int aWidth)
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)
Sets the X and Y offset of the icon with respect to the location of the icon symbol.
|
void |
setOffsetEditingEnabled(boolean aOffsetEditingEnabled)
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
methods
setSymbolFrameEnabled() , setSymbolFillEnabled()
and setSymbolIconEnabled . More specifically, the outline option controlled
whether a symbol must be filled or not; use setSymbolFillEnabled() instead. |
void |
setSelectionColor(Color aColor)
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)
Sets the halo color for the selection rectangle of icon symbols.
|
void |
setSelectionRectangleHaloWidth(int aWidth)
Sets the line width in pixels of the halo of the selection rectangle of icon symbols.
|
void |
setSelectionRectangleWidth(int aWidth)
Sets the line width of the rectangle in pixels which is displayed when the icon symbol is selected
|
void |
setSizeSymbol(int aSize)
Sets the size of the icon symbol that uses this style.
|
void |
setSpeedLeaderLength(double aTimesSymbolSize,
ILcdISO19103Measure aSpeed)
A convenience method that changes the speed leader length ratio so that the speed leader length is equal to
the symbol size times
aTimesSymbolSize if the symbol has the given speed. |
void |
setSpeedLeaderLengthRatio(double aRatio)
Sets the length ratio of the speed leader to the symbol size against the speed value of 1m/s.
See setSpeedLeaderLength(double, ILcdISO19103Measure) for a convenience setter using a speed measure. |
void |
setStrictSegmentationEnabled(boolean aStrictSegmentationEnabled)
Enabled or disabled strict segmentation.
|
void |
setSymbolFillEnabled(boolean aSymbolFillEnabled)
Sets whether an icon symbol should be painted filled.
|
void |
setSymbolFrameEnabled(boolean aSymbolFrameEnabled)
Sets whether the frame of an icon symbol should be painted.
|
void |
setSymbolFrameLineWidth(int aWidth)
Sets the frame line width of the icon symbols in pixels.
|
void |
setSymbolIconEnabled(boolean aSymbolIconEnabled)
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)
Sets whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.
|
getLabelFrameColor, getLabelFramePadding, setLabelFrameColor, setLabelFramePadding
clone
static final String[] sLabelPositions
static final int EAST
static final int WEST
static final int NORTH
static final int SOUTH
static final int SOUTHEAST
static final int NORTHEAST
static final int SOUTHWEST
static final int NORTHWEST
static final int CENTER
static final int PLAIN
static final int SMALL_DASH
static final int LARGE_DASH
static final int ALTERNATE_DASH
static final int BLACK_AND_WHITE_DOTTED
static final int BLACK_AND_WHITE_DASHES
static final int AFFILIATION_PENDING
PENDING
.static final int AFFILIATION_UNKNOWN
UNKNOWN
.static final int AFFILIATION_ASSUMED_FRIEND
ASSUMED FRIEND
.static final int AFFILIATION_FRIEND
FRIEND
.static final int AFFILIATION_ASSUMED_NEUTRAL
ASSUMED NEUTRAL
.static final int AFFILIATION_NEUTRAL
NEUTRAL
.static final int AFFILIATION_SUSPECT
SUSPECT
.
Note that this constant is also used for simulation suspect in APP-6C.static final int AFFILIATION_HOSTILE
HOSTILE
.
Note that this constant is also used for simulation hostile in APP-6C.static final int AFFILIATION_EXERCISE_PENDING
EXERCISE PENDING
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_EXERCISE_UNKNOWN
EXERCISE UNKNOWN
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_EXERCISE_ASSUMED_FRIEND
EXERCISE ASSUMED FRIEND
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_EXERCISE_FRIEND
EXERCISE FRIEND
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_EXERCISE_ASSUMED_NEUTRAL
EXERCISE ASSUMED NEUTRAL
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_EXERCISE_NEUTRAL
EXERCISE NEUTRAL
.
Note that this constant is also used for simulations in APP-6C.static final int AFFILIATION_JOKER
JOKER
.
Note that this constant is also used for exercise suspect in APP-6C.static final int AFFILIATION_FAKER
FAKER
.
Note that this constant is also used for exercise hostile in APP-6C.static final int AFFILIATION_EXERCISE_SUSPECT
EXERCISE SUSPECT
.static final int AFFILIATION_EXERCISE_HOSTILE
EXERCISE HOSTILE
.Color getColor()
getColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setColor(Color aColor)
setColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the line color for unframed icon symbols, line symbols, off-set lines and vertical lines of icon symbols.void setAffiliationColorEnabled(boolean aAffiliationColorEnabled)
getColor()
will be used; otherwise, the affiliation color
has precedence.setAffiliationColorEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAffiliationColorEnabled
- The affiliation color mode.boolean isAffiliationColorEnabled()
getColor()
will be used; otherwise, the affiliation color
has precedence.isAffiliationColorEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setAffiliationColor(int aAffiliation, Color aColor)
isAffiliationColorEnabled()
.setAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAffiliation
- The affiliation for which a color is set.aColor
- The color to be used for the given affiliation.Color getAffiliationColor(int aAffiliation)
getAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAffiliation
- The affiliation for which the current color must be returned.void setAlternateAffiliationColor(int aAffiliation, Color aColor)
setAlternateAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAffiliation
- The affiliation for which an alternate color is set.aColor
- The alternate color to be used for the given affiliation.Color getAlternateAffiliationColor(int aAffiliation)
getAffiliationColor(aAffiliation)
getAlternateAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAffiliation
- The affiliation for which the alternate color must be returned.void setFillPercentage(double aFillPercentage)
This property is only taken into account when the symbol frame is enabled,
i.e. when isSymbolFrameEnabled()
returns true
.
setFillPercentage
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aFillPercentage
- the fill percentage to fill the frame of icon symbols.getFillPercentage()
double getFillPercentage()
getFillPercentage
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setFillPercentage(double)
void setAlternateFillColor(Color aAlternateFillColor)
null
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()
returns true
.
setAlternateFillColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aAlternateFillColor
- the color to fill the part of the frame that is not covered
by the fill percentage.getAlternateFillColor()
,
getFillPercentage()
Color getAlternateFillColor()
getAlternateFillColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setAlternateFillColor(java.awt.Color)
,
setFillPercentage(double)
Color getSelectionColor()
getSelectionColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSelectionColor(Color aColor)
setSelectionColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the selection color for the construction line of line symbols and for the
offset-line and bounding box of icon symbols.int getLineWidth()
getLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLineWidth(int aWidth)
setLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aWidth
- the new line width to use for all line symbols, off-set lines and vertical lines of icon symbols.int getSymbolFrameLineWidth()
getSymbolFrameLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSymbolFrameLineWidth(int aWidth)
isSymbolFrameEnabled()
returns true.setSymbolFrameLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aWidth
- the new frame line width for icon symbols.int getLineStyle()
getLineStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setLineStyle(int)
void setLineStyle(int aLineStyle)
ILcdAPP6AStyle.PLAIN
: plain.ILcdAPP6AStyle.SMALL_DASH
: small dashing pattern.ILcdAPP6AStyle.LARGE_DASH
: large dashing pattern.ILcdAPP6AStyle.ALTERNATE_DASH
: alternate (small and large) dashing pattern.setLineStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLineStyle
- the new style to use for the offset-line of an icon symbol.Color getFilledColor()
getFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setFilledColor(Color aColor)
setFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the new fill color for areas in default mode.boolean isFilled()
isFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setFilled(boolean aIsFilled)
setFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aIsFilled
- true when an area should be filled.boolean getOutlined()
isSymbolFrameEnabled()
, isSymbolFillEnabled()
and isSymbolIconEnabled
. More specifically, the outline option controlled
whether a symbol must be filled or not; use isSymbolFillEnabled()
instead.getOutlined
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setOutlined(boolean aOutlined)
setSymbolFrameEnabled()
, setSymbolFillEnabled()
and setSymbolIconEnabled
. More specifically, the outline option controlled
whether a symbol must be filled or not; use setSymbolFillEnabled()
instead.setOutlined
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aOutlined
- true to paint the outline of an area.void setSymbolFrameEnabled(boolean aSymbolFrameEnabled)
setSymbolFrameEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSymbolFrameEnabled
- Whether the frame of an icon symbol should be painted.boolean isSymbolFrameEnabled()
isSymbolFrameEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSymbolFillEnabled(boolean aSymbolFillEnabled)
setSymbolFillEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSymbolFillEnabled
- Whether an icon symbol should be painted filled.boolean isSymbolFillEnabled()
isSymbolFillEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSymbolIconEnabled(boolean aSymbolIconEnabled)
setSymbolIconEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSymbolIconEnabled
- Whether the internal icon in the frame of an icon symbol should be painted.boolean isSymbolIconEnabled()
isSymbolIconEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
default Integer getForcedFrameLineStyle()
null
is returned, indicating that the line style of the icon determined by the affiliation and status are used as defined in the standard.
getForcedFrameLineStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
null
if the default line style is used.default void setForcedFrameLineStyle(Integer aLineStyle)
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.setForcedFrameLineStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLineStyle
- an Integer representing the line style to be used.String[] retrieveLabels()
retrieveLabels
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabels(String[] aLabels)
setLabels
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLabels
- the labels to use for labeling.Color getLabelColor()
getLabelColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelColor(Color aColor)
setLabelColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the color to use for labels.Font getLabelFont()
getLabelFont
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelFont(Font aFont)
setLabelFont
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aFont
- the font to use for labels.void setLabelFontScalingEnabled(boolean aLabelFontScalingMode)
getLabelFont()
will be used.setLabelFontScalingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLabelFontScalingMode
- The font size scaling mode.boolean isLabelFontScalingEnabled()
setLabelFont(Font)
will be used.
The default value is true
.isLabelFontScalingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
getSizeSymbol()
,
setLabelFont(Font)
Color getLabelFilledColor()
isLabelFilled()
returns "true".getLabelFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelFilledColor(Color aColor)
isLabelFilled()
returns "true".setLabelFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the color to use for the labels background.boolean isLabelWithPin()
retrieveLabels()
.
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.isLabelWithPin
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelWithPin(boolean aSelect)
retrieveLabels()
.
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.setLabelWithPin
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSelect
- whether the label should be displayed with a pin to the object.boolean isLabelWithAnchor()
retrieveLabels()
.
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.isLabelWithAnchor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelWithAnchor(boolean aSelect)
retrieveLabels()
.
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.setLabelWithAnchor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSelect
- whether the label should be displayed with a point on the object.boolean isLabelWithFrame()
retrieveLabels()
.
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.isLabelWithFrame
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelWithFrame(boolean aSelect)
retrieveLabels()
.
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.setLabelWithFrame
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSelect
- whether the label should be displayed in a frame.boolean isLabelFilled()
retrieveLabels()
.
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.isLabelFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelFilled(boolean aSelect)
retrieveLabels()
.
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.setLabelFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSelect
- whether the label should be displayed in a filled rectangle.int getLabelPosition()
retrieveLabels()
and
for line symbols that are represented by a point list.getLabelPosition
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelPosition(int aPosition)
retrieveLabels()
and
for line symbols that are represented by a point list.setLabelPosition
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aPosition
- the relative position of the label with respect to the object.int getShiftLabelPosition()
retrieveLabels()
.
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.getShiftLabelPosition
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void anchorPointSFCT(Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) throws TLcdNoBoundsException
anchorPointSFCT
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aBounds
- the bounds of the object.aPointSFCT
- the corrected anchor point of the label.TLcdNoBoundsException
void setLabelEnabled(String aLabel, boolean aEnabled)
setLabelEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLabel
- A label as defined by the static members of ILcdAPP6ACoded
.aEnabled
- whether the label should be displayed.boolean isLabelEnabled(String aLabel)
ILcdAPP6ACoded
.isLabelEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aLabel
- A label as defined by the static members of ILcdAPP6ACoded
.void addPropertyChangeListener(PropertyChangeListener aListener)
addPropertyChangeListener
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aListener
- the object to notify when a property of this style is changed.void removePropertyChangeListener(PropertyChangeListener aListener)
removePropertyChangeListener
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aListener
- the listener that should no longer be notified when a property of this style is changed.String getTextureFilePath()
getTextureFilePath
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setTextureFilePath(String aTextureFilepath)
setTextureFilePath
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aTextureFilepath
- the path to the texture images.int getSizeSymbol()
getSizeSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSizeSymbol(int aSize)
setSizeSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSize
- - The size of the icon symbol.int getOffsetX()
getOffsetX
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
int getOffsetY()
getOffsetY
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setOffset(int aX, int aY)
setOffset
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aX
- - The X offset.aY
- - The Y offset.void setAnchorSymbol(ILcdIcon aSymbol)
setAnchorSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSymbol
- a ILcdIcon implementation to be displayed as the anchor iconILcdIcon getAnchorSymbol()
getAnchorSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSelectionRectangleWidth(int aWidth)
setSelectionRectangleWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aWidth
- line width of the selection rectangle in pixels.int getSelectionRectangleWidth()
getSelectionRectangleWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setOffsetEditingEnabled(boolean aOffsetEditingEnabled)
setOffsetEditingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aOffsetEditingEnabled
- the offset is editable if this is trueboolean isOffsetEditingEnabled()
isOffsetEditingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
Color getForcedColor()
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.getForcedColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
null
otherwise.void setForcedColor(Color aColor)
null
must be supplied.
Note that a selected symbol will always be displayed using the selection colors, even if a forced color is configured.setForcedColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the color to be used for the military symbol.double getCornerSmoothness()
getCornerSmoothness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setCornerSmoothness(double)
void setCornerSmoothness(double aSmoothness)
setCornerSmoothness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aSmoothness
- the smoothness (or rounding) factor for polygon corners.double getArrowCurvedness()
getCornerSmoothness()
).
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).getArrowCurvedness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setArrowCurvedness(double)
void setArrowCurvedness(double aArrowCurvedness)
getCornerSmoothness()
).
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).setArrowCurvedness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aArrowCurvedness
- the curvedness factor for aviation-related arrow symbols.boolean isHaloEnabled()
By default, false
is returned.
isHaloEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setHaloEnabled(boolean aEnabled)
The halo color and thickness can be configured respectively through
setHaloColor(java.awt.Color)
and setHaloThickness(int)
.
setHaloEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aEnabled
- whether a halo should be enabled for symbols (both icon and line symbols).isHaloEnabled()
,
setHaloColor(java.awt.Color)
,
setHaloThickness(int)
Color getHaloColor()
isHaloEnabled()
returns true).
By default, Color.WHITE
is returned.
getHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setHaloColor(Color aColor)
isHaloEnabled()
returns true).setHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the color to be used for icon and line symbol halos, if enabled.int getHaloThickness()
isHaloEnabled()
returns true).
By default, 1 is returned.
getHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setHaloThickness(int aThickness)
isHaloEnabled()
returns true).setHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aThickness
- the thickness to be used for icon and line symbol halos, if enabled.boolean isLabelHaloEnabled()
By default, false
is returned.
isLabelHaloEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelHaloEnabled(boolean aEnabled)
The label halo color and thickness can be configured respectively through
setLabelHaloColor(java.awt.Color)
and setLabelHaloThickness(int)
.
setLabelHaloEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aEnabled
- whether a halo should be enabled for labels of icon and line symbols.isLabelHaloEnabled()
,
setLabelHaloColor(java.awt.Color)
,
setLabelHaloThickness(int)
Color getLabelHaloColor()
isLabelHaloEnabled()
returns true).
By default, Color.GRAY
is returned.
getLabelHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelHaloColor(Color aColor)
isLabelHaloEnabled()
returns true).setLabelHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the color to be used for the label halo of icon and line symbols, if enabled.int getLabelHaloThickness()
isLabelHaloEnabled()
returns true).
By default, 1 is returned.
getLabelHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setLabelHaloThickness(int aThickness)
isLabelHaloEnabled()
returns true).setLabelHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aThickness
- the thickness to be used for the label halo of icon and line symbols, if enabled.boolean isVerticalLineEnabled()
Vertical lines are only applicable for icon symbols with an altitude value bigger than 0 in a 3D view.
setLineWidth(int)
.isAffiliationColorEnabled()
. if affiliation color is enabled, it's determined by affiliation of the symbol otherwise it's determined by getColor()
.isVerticalLineEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setVerticalLineEnabled(boolean)
void setVerticalLineEnabled(boolean aEnabled)
Vertical lines are only applicable for the icon symbols with an altitude value bigger than 0 in a 3D view.
setVerticalLineEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aEnabled
- whether a perpendicular line from the center point of the icon symbols to the earth surface is enabled.isVerticalLineEnabled()
void setSpeedLeaderLengthRatio(double aRatio)
setSpeedLeaderLength(double, ILcdISO19103Measure)
for a convenience setter using a speed measure.setSpeedLeaderLengthRatio
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aRatio
- the length ratio of speed leader to the symbol size against the speed value of 1m/s.getSpeedLeaderLengthRatio()
double getSpeedLeaderLengthRatio()
getSizeSymbol()
getSizeSymbol()
Speed leaders are only applicable to APP-6C.
getSpeedLeaderLengthRatio
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
setSpeedLeaderLengthRatio(double)
void setSpeedLeaderLength(double aTimesSymbolSize, ILcdISO19103Measure aSpeed)
aTimesSymbolSize
if the symbol has the given speed.
For example, if the symbol size is 64 pixels and the method is called with aTimesSymbolSize == 3
and a speed
of Mach 1, the symbol's speed leader will be 3*64=192
pixels long travelling at Mach 1,
and 3*64*2=384
pixels at Mach 2.setSpeedLeaderLength
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
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.IllegalArgumentException
- if the unit measure type code of aSpeed is not equals to TLcdISO19103MeasureTypeCode.VELOCITY
getSpeedLeaderLengthRatio()
,
setSpeedLeaderLengthRatio(double)
void setSelectionRectangleHaloColor(Color aColor)
setSelectionRectangleHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aColor
- the selection halo color for the selection rectangle of icon symbols.Color getSelectionRectangleHaloColor()
getSelectionRectangleHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
void setSelectionRectangleHaloWidth(int aWidth)
setSelectionRectangleHaloWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aWidth
- line width in pixels of the halo of the selection rectangle of icon symbols.int getSelectionRectangleHaloWidth()
getSelectionRectangleHaloWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
Format getAltitudeFormat()
Format
to format altitudes in labels.getAltitudeFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
Format
to format altitudes in labels.setAltitudeFormat(java.text.Format)
void setAltitudeFormat(Format aFormat)
Sets a new Format
to format altitudes in labels.
This property is currently used to format altitude labels in the following symbols:
The format needs to accept Double
objects in its format method. All Double
instances passed to this method are altitudes expressed in meters.
setAltitudeFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aFormat
- The new Format
to format an altitudegetAltitudeFormat()
Format getDistanceFormat()
Format
to format distances in labels.getDistanceFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
Format
to format distances in labels.setDistanceFormat(java.text.Format)
void setDistanceFormat(Format aFormat)
Sets a new Format
to format distances in labels.
This property is currently used to format distance labels in the following symbols:
The format needs to accept Double
objects in its format method. All Double
instances passed to this method are distances expressed in meters.
setDistanceFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aFormat
- The new Format
to format a distancegetDistanceFormat()
Format getAngleFormat()
Format
to format angles in labels.getAngleFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
Format
to format angles in labels.setAngleFormat(java.text.Format)
void setAngleFormat(Format aFormat)
Sets a new Format
to format angles in labels.
This property is currently used to format angle labels in the following symbols:
The format needs to accept Double
objects in its format method. All Double
instances passed to this method are angles expressed in degrees.
setAngleFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aFormat
- The new Format
to format an anglegetAngleFormat()
boolean isEngagementBarEnabled()
isEngagementBarEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
TLcdEngagementBarStyle
void setEngagementBarEnabled(boolean aEngagementBarEnabled)
setEngagementBarEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar
,
TLcdEngagementBarStyle
TLcdEngagementBarStyle getEngagementBarStyle()
getEngagementBarStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar
void setEngagementBarStyle(TLcdEngagementBarStyle aEngagementBarStyle)
setEngagementBarStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar
boolean isStrictSegmentationEnabled()
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.
isStrictSegmentationEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
isStrictSegmentationEnabled
in interface com.luciad.internal.symbology.common.view.canvas.ILinSymbologyStyle
ILinSymbologyCanvas.polyline(Object, Object, boolean, boolean, ILcdPointList)
,
ILinSymbologyCanvas.polygon(Object, Object, Object, ILcdPointList, boolean, boolean)
void setStrictSegmentationEnabled(boolean aStrictSegmentationEnabled)
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.
setStrictSegmentationEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinMilitarySymbologyStyle
aStrictSegmentationEnabled
- a boolean indicating whether or not strict segmentation is enabled