public interface ILcdAPP6AStyle
extends com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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 |
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 java.lang.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(java.beans.PropertyChangeListener aListener)
Adds the given listener that is notified when a property of this style is changed.
|
void |
anchorPointSFCT(java.awt.Graphics aGraphics,
int aMode,
ILcdGXYContext aGXYContext,
java.awt.Point aPointSFCT,
TLcdXYBounds aBounds,
ILcdGXYPainter aGXYPainter)
Correction of the anchor point of the label.
|
java.awt.Color |
getAffiliationColor(int aAffiliation)
Returns the color that is currently used for the given affiliation.
|
java.awt.Color |
getAlternateAffiliationColor(int aAffiliation)
Returns the alternate color that is currently used for the given affiliation.
|
java.awt.Color |
getAlternateFillColor()
Returns the color used to fill the part of the frame that is not covered
by the fill percentage.
|
java.text.Format |
getAltitudeFormat()
Returns the
Format to format altitudes in labels. |
ILcdIcon |
getAnchorSymbol()
Returns the icon used as an anchor icon for the icon symbol.
|
java.text.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
|
java.awt.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.
|
java.text.Format |
getDistanceFormat()
Returns the
Format to format distances in labels. |
TLcdEngagementBarStyle |
getEngagementBarStyle() |
java.awt.Color |
getFilledColor()
Deprecated.
Not used.
|
double |
getFillPercentage()
Returns the fill percentage used to fill the frame of icon symbols.
|
java.awt.Color |
getForcedColor()
Returns the color that currently overrides the normal colors of the icon symbol.
|
java.awt.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). |
java.awt.Color |
getLabelColor()
Returns the color to use for labels.
|
java.awt.Color |
getLabelFilledColor()
Returns the color to use for the labels background.
|
java.awt.Font |
getLabelFont()
Returns the font to use for labels.
|
java.awt.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. |
java.awt.Color |
getSelectionColor()
Returns the selection color for the construction line of line symbols and for the
offset-line and bounding box of icon symbols.
|
java.awt.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.
|
java.lang.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(java.lang.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 |
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(java.beans.PropertyChangeListener aListener)
Removes the given listener from the list so that it is no longer notified when a property of this style is changed.
|
java.lang.String[] |
retrieveLabels()
Returns the labels to use for labeling.
|
void |
setAffiliationColor(int aAffiliation,
java.awt.Color aColor)
Sets the color for the given affiliation.
|
void |
setAffiliationColorEnabled(boolean aAffiliationColorEnabled)
Sets the affiliation color mode.
|
void |
setAlternateAffiliationColor(int aAffiliation,
java.awt.Color aColor)
Sets the alternate color for the given affiliation.
|
void |
setAlternateFillColor(java.awt.Color aAlternateFillColor)
Sets the color to fill the part of the frame that is not covered
by the fill percentage.
|
void |
setAltitudeFormat(java.text.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(java.text.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(java.awt.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(java.text.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(java.awt.Color aColor)
Deprecated.
Not used.
|
void |
setFillPercentage(double aFillPercentage)
Sets the fill percentage to fill the frame of icon symbols.
|
void |
setForcedColor(java.awt.Color aColor)
Sets the color to be used for the icon symbol: this will override the normal colors for the
different elements of the symbol.
|
void |
setHaloColor(java.awt.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(java.awt.Color aColor)
Sets the color to use for labels.
|
void |
setLabelEnabled(java.lang.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(java.awt.Color aColor)
Sets the color to use for the labels background.
|
void |
setLabelFont(java.awt.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(java.awt.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(java.lang.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(java.awt.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(java.awt.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 |
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(java.lang.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 java.lang.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 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
.java.awt.Color getColor()
getColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setColor(java.awt.Color aColor)
setColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
void setAffiliationColor(int aAffiliation, java.awt.Color aColor)
isAffiliationColorEnabled()
.setAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aAffiliation
- The affiliation for which a color is set.aColor
- The color to be used for the given affiliation.java.awt.Color getAffiliationColor(int aAffiliation)
getAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aAffiliation
- The affiliation for which the current color must be returned.void setAlternateAffiliationColor(int aAffiliation, java.awt.Color aColor)
setAlternateAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aAffiliation
- The affiliation for which an alternate color is set.aColor
- The alternate color to be used for the given affiliation.java.awt.Color getAlternateAffiliationColor(int aAffiliation)
getAffiliationColor(aAffiliation)
getAlternateAffiliationColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
setFillPercentage(double)
void setAlternateFillColor(java.awt.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.ILinSymbologyStyle
aAlternateFillColor
- the color to fill the part of the frame that is not covered
by the fill percentage.getAlternateFillColor()
,
getFillPercentage()
java.awt.Color getAlternateFillColor()
getAlternateFillColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
setAlternateFillColor(java.awt.Color)
,
setFillPercentage(double)
java.awt.Color getSelectionColor()
getSelectionColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSelectionColor(java.awt.Color aColor)
setSelectionColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
void setLineWidth(int aWidth)
setLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
void setSymbolFrameLineWidth(int aWidth)
isSymbolFrameEnabled()
returns true.setSymbolFrameLineWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aWidth
- the new frame line width for icon symbols.int getLineStyle()
getLineStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
aLineStyle
- the new style to use for the offset-line of an icon symbol.java.awt.Color getFilledColor()
getFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setFilledColor(java.awt.Color aColor)
setFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aColor
- the new fill color for areas in default mode.boolean isFilled()
isFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setFilled(boolean aIsFilled)
setFilled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
aOutlined
- true to paint the outline of an area.void setSymbolFrameEnabled(boolean aSymbolFrameEnabled)
setSymbolFrameEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aSymbolFrameEnabled
- Whether the frame of an icon symbol should be painted.boolean isSymbolFrameEnabled()
isSymbolFrameEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSymbolFillEnabled(boolean aSymbolFillEnabled)
setSymbolFillEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aSymbolFillEnabled
- Whether an icon symbol should be painted filled.boolean isSymbolFillEnabled()
isSymbolFillEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSymbolIconEnabled(boolean aSymbolIconEnabled)
setSymbolIconEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
java.lang.String[] retrieveLabels()
retrieveLabels
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setLabels(java.lang.String[] aLabels)
setLabels
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aLabels
- the labels to use for labeling.java.awt.Color getLabelColor()
getLabelColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setLabelColor(java.awt.Color aColor)
setLabelColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aColor
- the color to use for labels.java.awt.Font getLabelFont()
getLabelFont
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setLabelFont(java.awt.Font aFont)
setLabelFont
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
getSizeSymbol()
,
setLabelFont(Font)
java.awt.Color getLabelFilledColor()
isLabelFilled()
returns "true".getLabelFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setLabelFilledColor(java.awt.Color aColor)
isLabelFilled()
returns "true".setLabelFilledColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
void anchorPointSFCT(java.awt.Graphics aGraphics, int aMode, ILcdGXYContext aGXYContext, java.awt.Point aPointSFCT, TLcdXYBounds aBounds, ILcdGXYPainter aGXYPainter) throws TLcdNoBoundsException
anchorPointSFCT
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aBounds
- the bounds of the object.aPointSFCT
- the corrected anchor point of the label.TLcdNoBoundsException
void setLabelEnabled(java.lang.String aLabel, boolean aEnabled)
setLabelEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aLabel
- A label as defined by the static members of ILcdAPP6ACoded
.aEnabled
- whether the label should be displayed.boolean isLabelEnabled(java.lang.String aLabel)
ILcdAPP6ACoded
.isLabelEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aLabel
- A label as defined by the static members of ILcdAPP6ACoded
.void addPropertyChangeListener(java.beans.PropertyChangeListener aListener)
addPropertyChangeListener
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aListener
- the object to notify when a property of this style is changed.void removePropertyChangeListener(java.beans.PropertyChangeListener aListener)
removePropertyChangeListener
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aListener
- the listener that should no longer be notified when a property of this style is changed.java.lang.String getTextureFilePath()
getTextureFilePath
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setTextureFilePath(java.lang.String aTextureFilepath)
setTextureFilePath
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aTextureFilepath
- the path to the texture images.int getSizeSymbol()
getSizeSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSizeSymbol(int aSize)
setSizeSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aSize
- - The size of the icon symbol.int getOffsetX()
getOffsetX
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
int getOffsetY()
getOffsetY
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setOffset(int aX, int aY)
setOffset
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aX
- - The X offset.aY
- - The Y offset.void setAnchorSymbol(ILcdIcon aSymbol)
setAnchorSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aSymbol
- a ILcdIcon implementation to be displayed as the anchor iconILcdIcon getAnchorSymbol()
getAnchorSymbol
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSelectionRectangleWidth(int aWidth)
setSelectionRectangleWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aWidth
- line width of the selection rectangle in pixels.int getSelectionRectangleWidth()
getSelectionRectangleWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setOffsetEditingEnabled(boolean aOffsetEditingEnabled)
setOffsetEditingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aOffsetEditingEnabled
- the offset is editable if this is trueboolean isOffsetEditingEnabled()
isOffsetEditingEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
java.awt.Color getForcedColor()
null
is returned, indicating that the normal colors of the icon
symbol are used.getForcedColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
null
otherwise.void setForcedColor(java.awt.Color aColor)
null
must be supplied.setForcedColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aColor
- the color to be used for the icon symbol.double getCornerSmoothness()
getCornerSmoothness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
setCornerSmoothness(double)
void setCornerSmoothness(double aSmoothness)
setCornerSmoothness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
aEnabled
- whether a halo should be enabled for symbols (both icon and line symbols).isHaloEnabled()
,
setHaloColor(java.awt.Color)
,
setHaloThickness(int)
java.awt.Color getHaloColor()
isHaloEnabled()
returns true).
By default, Color.WHITE
is returned.
getHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setHaloColor(java.awt.Color aColor)
isHaloEnabled()
returns true).setHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
void setHaloThickness(int aThickness)
isHaloEnabled()
returns true).setHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
aEnabled
- whether a halo should be enabled for labels of icon and line symbols.isLabelHaloEnabled()
,
setLabelHaloColor(java.awt.Color)
,
setLabelHaloThickness(int)
java.awt.Color getLabelHaloColor()
isLabelHaloEnabled()
returns true).
By default, Color.GRAY
is returned.
getLabelHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setLabelHaloColor(java.awt.Color aColor)
isLabelHaloEnabled()
returns true).setLabelHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
void setLabelHaloThickness(int aThickness)
isLabelHaloEnabled()
returns true).setLabelHaloThickness
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.ILinSymbologyStyle
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.java.lang.IllegalArgumentException
- if the unit measure type code of aSpeed is not equals to TLcdISO19103MeasureTypeCode.VELOCITY
getSpeedLeaderLengthRatio()
,
setSpeedLeaderLengthRatio(double)
void setSelectionRectangleHaloColor(java.awt.Color aColor)
setSelectionRectangleHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
aColor
- the selection halo color for the selection rectangle of icon symbols.java.awt.Color getSelectionRectangleHaloColor()
getSelectionRectangleHaloColor
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
void setSelectionRectangleHaloWidth(int aWidth)
setSelectionRectangleHaloWidth
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
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.ILinSymbologyStyle
java.text.Format getAltitudeFormat()
Format
to format altitudes in labels.getAltitudeFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
Format
to format altitudes in labels.setAltitudeFormat(java.text.Format)
void setAltitudeFormat(java.text.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.ILinSymbologyStyle
aFormat
- The new Format
to format an altitudegetAltitudeFormat()
java.text.Format getDistanceFormat()
Format
to format distances in labels.getDistanceFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
Format
to format distances in labels.setDistanceFormat(java.text.Format)
void setDistanceFormat(java.text.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.ILinSymbologyStyle
aFormat
- The new Format
to format a distancegetDistanceFormat()
java.text.Format getAngleFormat()
Format
to format angles in labels.getAngleFormat
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
Format
to format angles in labels.setAngleFormat(java.text.Format)
void setAngleFormat(java.text.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.ILinSymbologyStyle
aFormat
- The new Format
to format an anglegetAngleFormat()
boolean isEngagementBarEnabled()
isEngagementBarEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
TLcdEngagementBarStyle
void setEngagementBarEnabled(boolean aEngagementBarEnabled)
setEngagementBarEnabled
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar
,
TLcdEngagementBarStyle
TLcdEngagementBarStyle getEngagementBarStyle()
getEngagementBarStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar
void setEngagementBarStyle(TLcdEngagementBarStyle aEngagementBarStyle)
setEngagementBarStyle
in interface com.luciad.internal.symbology.app6a_ms2525b.view.gxy.ILinSymbologyStyle
ILcdAPP6ACoded.sEngagementBar
,
ILcdMS2525bCoded.sEngagementBar