Package | Description |
---|---|
gov.nasa.worldwind.ogc.kml.impl | |
gov.nasa.worldwind.render | |
gov.nasa.worldwind.symbology |
Provides classes for creating and displaying graphics from standard symbol sets.
|
gov.nasa.worldwind.symbology.milstd2525 |
Tactical graphics and symbols defined by the MIL-STD-2525 symbology set.
|
gov.nasa.worldwind.symbology.milstd2525.graphics | |
gov.nasa.worldwind.symbology.milstd2525.graphics.areas |
MIL-STD-2525 area graphics.
|
gov.nasa.worldwind.symbology.milstd2525.graphics.lines |
MIL-STD-2525 line graphics.
|
gov.nasa.worldwind.util.layertree |
Displays a list of layers using
BasicTree . |
gov.nasa.worldwind.util.tree |
A tree control drawn in the WorldWindow.
|
Modifier and Type | Method and Description |
---|---|
static void |
KMLExportUtil.exportOffset(javax.xml.stream.XMLStreamWriter xmlWriter,
Offset offset,
java.lang.String tagName)
Export an
Offset as a KML element. |
Modifier and Type | Field and Description |
---|---|
static Offset |
Offset.BOTTOM_CENTER |
static Offset |
Offset.CENTER |
static Offset |
PointPlacemarkAttributes.DEFAULT_IMAGE_OFFSET
The image offset to use if none specified.
|
static Offset |
PointPlacemarkAttributes.DEFAULT_LABEL_OFFSET
The default label offset.
|
protected static Offset |
PointPlacemark.DEFAULT_LABEL_OFFSET_IF_UNSPECIFIED
The label offset to use if none is specified but an image has been specified.
|
static Offset |
SurfaceText.DEFAULT_OFFSET
Default offset.
|
protected Offset |
PointPlacemarkAttributes.imageOffset |
protected Offset |
ScreenImage.imageOffset |
protected Offset |
PointPlacemarkAttributes.labelOffset |
static Offset |
Offset.LEFT_CENTER |
protected Offset |
BasicBalloonAttributes.offset
Indicates the location at which the balloon's lower left corner is aligned.
|
protected Offset |
SurfaceText.offset
Offset that specifies where to place the text in relation to it's geographic position.
|
protected Offset |
AbstractBrowserBalloon.BrowserControl.offset |
static Offset |
Offset.RIGHT_CENTER |
protected Offset |
ScreenImage.rotationOffset |
protected Offset |
ScreenImage.screenOffset |
static Offset |
Offset.TOP_CENTER |
Modifier and Type | Method and Description |
---|---|
static Offset |
Offset.fromFraction(double xFraction,
double yFraction)
Creates a new offset from explicit fraction coordinates.
|
Offset |
PointPlacemarkAttributes.getImageOffset()
Returns the image offset.
|
Offset |
ScreenImage.getImageOffset()
Get the offset of the point on the image to align with the screen offset point.
|
Offset |
PointPlacemarkAttributes.getLabelOffset()
Returns the label offset.
|
Offset |
BasicBalloonAttributes.getOffset()
Indicates the location relative to the balloon's screen reference point at which the balloon's frame shape is
aligned.
|
Offset |
SurfaceText.getOffset()
Returns the text offset.
|
Offset |
AbstractBrowserBalloon.BrowserControl.getOffset() |
Offset |
BalloonAttributes.getOffset()
Indicates the location relative to the balloon's screen reference point at which the balloon's frame shape is
aligned.
|
Offset |
ScreenImage.getRotationOffset()
Get the point about which the image is rotated.
|
Offset |
ScreenImage.getScreenOffset()
Get the offset of the point on the screen to align with the image offset point.
|
Modifier and Type | Method and Description |
---|---|
AbstractBrowserBalloon.BrowserControl |
AbstractBrowserBalloon.addBrowserControl(java.lang.String action,
Offset offset,
java.lang.Object imageSource) |
AbstractBrowserBalloon.BrowserControl |
AbstractBrowserBalloon.addBrowserControl(java.lang.String action,
Offset offset,
Size size,
java.lang.Object imageSource) |
void |
PointPlacemarkAttributes.setImageOffset(Offset offset)
Specifies a location within the placemark image to align with the placemark point.
|
void |
ScreenImage.setImageOffset(Offset imageOffset)
Set the image offset point.
|
void |
PointPlacemarkAttributes.setLabelOffset(Offset offset)
Specifies a location relative to the placemark's image at which to align the label.
|
void |
BasicBalloonAttributes.setOffset(Offset offset)
Specifies a location relative to the balloon's screen reference point at which to align the balloon's frame
shape.
|
void |
SurfaceText.setOffset(Offset offset)
Specifies a location relative to the label position at which to align the label.
|
void |
AbstractBrowserBalloon.BrowserControl.setOffset(Offset offset) |
void |
BalloonAttributes.setOffset(Offset offset)
Specifies a location relative to the balloon's screen reference point at which to align the balloon's frame
shape.
|
void |
ScreenImage.setRotationOffset(Offset rotationOffset)
Set the point on the image about which rotation is performed.
|
void |
ScreenImage.setScreenOffset(Offset screenOffset)
Set the offset of the image relative to the viewport.
|
Constructor and Description |
---|
BrowserControl(java.lang.String action,
Offset offset,
java.lang.Object imageSource) |
BrowserControl(java.lang.String action,
Offset offset,
Size size,
java.lang.Object imageSource) |
Modifier and Type | Field and Description |
---|---|
static Offset |
TacticalGraphicLabel.DEFAULT_OFFSET
Default offset.
|
protected Offset |
AbstractTacticalSymbol.iconOffset |
protected Offset |
AbstractTacticalGraphic.labelOffset
Offset applied to the graphic's main label.
|
protected Offset |
AbstractTacticalSymbol.offset |
protected Offset |
TacticalGraphicLabel.offset
Offset from the geographic position at which to draw the label.
|
Modifier and Type | Method and Description |
---|---|
protected Offset |
AbstractTacticalGraphic.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
Offset |
TacticalGraphic.getLabelOffset()
Indicates an offset used to position the graphic's main label relative to the label's geographic position.
|
Offset |
AbstractTacticalGraphic.getLabelOffset()
Indicates an offset used to position the graphic's main label relative to the label's geographic position.
|
Offset |
AbstractTacticalSymbol.getOffset()
Indicates a location within the symbol to align with the symbol point.
|
Offset |
TacticalGraphicLabel.getOffset()
Indicates the offset from the geographic position at which to draw the label.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTacticalSymbol.addGlyph(DrawContext dc,
Offset offset,
Offset hotspot,
java.lang.String modifierCode,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected void |
AbstractTacticalSymbol.addGlyph(DrawContext dc,
Offset offset,
Offset hotspot,
java.lang.String modifierCode,
AVList retrieverParams,
java.lang.Object layoutMode,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected void |
AbstractTacticalSymbol.addLabel(DrawContext dc,
Offset offset,
Offset hotspot,
java.lang.String modifierText,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected void |
AbstractTacticalSymbol.addLabel(DrawContext dc,
Offset offset,
Offset hotspot,
java.lang.String modifierText,
java.awt.Font font,
java.awt.Color color,
java.lang.Object layoutMode,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected void |
AbstractTacticalSymbol.addLine(DrawContext dc,
Offset offset,
java.util.List<? extends java.awt.geom.Point2D> points,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected void |
AbstractTacticalSymbol.addLine(DrawContext dc,
Offset offset,
java.util.List<? extends java.awt.geom.Point2D> points,
java.lang.Object layoutMode,
int numPointsInLayout,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected java.awt.Rectangle |
AbstractTacticalSymbol.layoutLabelRect(Offset offset,
Offset hotspot,
java.awt.Dimension size,
java.lang.Object layoutMode,
AbstractTacticalSymbol.OrderedSymbol osym)
Layout a label rectangle relative to the current layout.
|
protected java.util.List<? extends java.awt.geom.Point2D> |
AbstractTacticalSymbol.layoutPoints(Offset offset,
java.util.List<? extends java.awt.geom.Point2D> points,
java.lang.Object layoutMode,
int numPointsInLayout,
AbstractTacticalSymbol.OrderedSymbol osym) |
protected java.awt.Rectangle |
AbstractTacticalSymbol.layoutRect(Offset offset,
Offset hotspot,
java.awt.Dimension size,
java.lang.Object layoutMode,
AbstractTacticalSymbol.OrderedSymbol osym)
Layout a rectangle relative to the current layout.
|
void |
TacticalGraphic.setLabelOffset(Offset offset)
Specifies an offset used to position this graphic's main label relative to the label's geographic position.
|
void |
AbstractTacticalGraphic.setLabelOffset(Offset labelOffset)
Specifies an offset used to position this graphic's main label relative to the label's geographic position.
|
void |
AbstractTacticalSymbol.setOffset(Offset offset)
Specifies a location within the tactical symbol to align with the symbol point.
|
void |
TacticalGraphicLabel.setOffset(Offset offset)
Specifies the offset from the geographic position at which to draw the label.
|
Modifier and Type | Field and Description |
---|---|
protected static Offset |
MilStd2525Util.ARCH_DOWN_OFFSET |
protected static Offset |
MilStd2525Util.ARCH_UP_OFFSET |
protected static Offset |
MilStd2525Util.CIRCLE_OFFSET |
protected static Offset |
MilStd2525Util.CLOVER_C2_HQ_OFFSET |
protected static Offset |
MilStd2525Util.CLOVER_DOWN_OFFSET |
protected static Offset |
MilStd2525Util.CLOVER_OFFSET |
protected static Offset |
MilStd2525Util.CLOVER_UP_OFFSET |
protected static Offset |
MilStd2525Util.DIAMOND_C2_HQ_OFFSET |
protected static Offset |
MilStd2525Util.DIAMOND_OFFSET |
protected static Offset |
MilStd2525Util.HAT_DOWN_OFFSET |
protected static Offset |
MilStd2525Util.HAT_UP_OFFSET |
Offset |
MilStd2525Util.SymbolInfo.iconOffset |
Offset |
MilStd2525Util.SymbolInfo.offset |
protected static Offset |
MilStd2525Util.RECTANGLE_C2_HQ_OFFSET |
protected static Offset |
MilStd2525Util.RECTANGLE_OFFSET |
protected static Offset |
MilStd2525Util.SQUARE_C2_HQ_OFFSET |
protected static Offset |
MilStd2525Util.SQUARE_OFFSET |
protected static Offset |
MilStd2525Util.TENT_DOWN_OFFSET |
protected static Offset |
MilStd2525Util.TENT_UP_OFFSET |
Modifier and Type | Method and Description |
---|---|
Offset |
MilStd2525PointGraphic.getLabelOffset()
Indicates an offset used to position the graphic's main label relative to the label's geographic position.
|
Offset |
MilStd2525PointGraphic.getOffset()
Indicates a location within the symbol to align with the symbol point.
|
Modifier and Type | Method and Description |
---|---|
void |
MilStd2525PointGraphic.setLabelOffset(Offset offset)
Specifies an offset used to position this graphic's main label relative to the label's geographic position.
|
void |
MilStd2525PointGraphic.setOffset(Offset offset)
Specifies a location within the tactical symbol to align with the symbol point.
|
Modifier and Type | Field and Description |
---|---|
protected static Offset |
TacticalGraphicSymbol.BELOW_BOTTOM_CENTER_OFFSET |
protected static Offset |
DefaultOffsets.DEFAULT_OFFSET
Offset to align the center of the graphic with the geographic position.
|
protected static Offset |
EchelonSymbol.DEFAULT_OFFSET |
Offset |
TacticalGraphicSymbol.OffsetPair.hotSpot |
Offset |
TacticalGraphicSymbol.OffsetPair.offset |
static Offset |
DefaultOffsets.OFFSET_BOTTOM_QUARTER
Offset to align a point 25% up from the bottom edge with the geographic position.
|
static Offset |
DefaultOffsets.OFFSET_C2GM_GNL_PNT_WPN_DRPPNT
Offset for the Drop Point graphic (2.X.2.1.1.3.2).
|
static Offset |
DefaultOffsets.OFFSET_MOBSU_OBST_MNE_APMNE
Offset for the Antipersonnel (AP) Mines graphic (2.X.3.1.5.5).
|
static Offset |
DefaultOffsets.OFFSET_MOBSU_OBST_MNE_ATMAHD
Offset for the Antitank Mine with Anti-handling Device graphic (2.X.3.1.5.3).
|
static Offset |
DefaultOffsets.OFFSET_MOBSU_OBST_MNE_WAMNE
Offset for the Wide Area Mines graphic (2.X.3.1.5.6).
|
static Offset |
DefaultOffsets.OFFSET_OTH_HAZ_SML
Offset for the Sea Mine-Like Hazard graphic (2.X.6.2.1).
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,Offset> |
DefaultOffsets.offsets
Map to store defaults.
|
Modifier and Type | Method and Description |
---|---|
Offset |
DefaultOffsets.get(java.lang.String sidc)
Determine the default offset for a graphic.
|
Modifier and Type | Method and Description |
---|---|
void |
TacticalGraphicSymbol.LabelLayout.add(Offset offset,
Offset hotspot) |
protected void |
DefaultLabelLayouts.addLayout(java.util.List<TacticalGraphicSymbol.LabelLayout> layoutList,
java.lang.String key,
Offset... offsets)
Add a layout to a layout map, possibly replacing an existing layout.
|
protected java.util.List<TacticalGraphicSymbol.LabelLayout> |
DefaultLabelLayouts.createLayout(java.lang.String key,
Offset offset,
Offset hotspot)
Create a simple layout map and populate it with one key value pair.
|
protected void |
DefaultOffsets.putAll(Offset value,
java.lang.String... keys)
Map one value to many keys.
|
Constructor and Description |
---|
OffsetPair(Offset offset,
Offset hotSpot) |
Modifier and Type | Field and Description |
---|---|
static Offset |
Airhead.DEFAULT_OFFSET
Default offset to apply to the label.
|
protected static Offset |
CircularRangeFan.LABEL_OFFSET |
protected static Offset |
AviationZone.LABEL_OFFSET
Center text block on label position.
|
protected static Offset |
CircularFireSupportArea.LEFT_ALIGN_OFFSET
Center text block on label position when the text is left aligned.
|
protected static Offset |
RectangularFireSupportArea.LEFT_ALIGN_OFFSET
Center text block on label position when the text is left aligned.
|
protected static Offset |
IrregularFireSupportArea.LEFT_ALIGN_OFFSET
Center text block on label position when the text is left aligned.
|
Modifier and Type | Method and Description |
---|---|
protected Offset |
Airhead.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
AviationZone.getDefaultLabelOffset() |
protected Offset |
CircularFireSupportArea.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
RectangularFireSupportArea.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
IrregularFireSupportArea.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
Modifier and Type | Field and Description |
---|---|
protected static Offset |
Boundary.BOTTOM_LABEL_OFFSET
Offset applied to the graphic's lower label.
|
protected static Offset |
LinearTarget.BOTTOM_LABEL_OFFSET
Offset applied to the graphic's lower label.
|
protected static Offset |
FireSupportLine.BOTTOM_LABEL_OFFSET
Offset applied to the graphic's lower label.
|
protected static Offset |
Route.DEFAULT_OFFSET |
protected static Offset |
DirectionOfAttackForFeint.LABEL_OFFSET
Offset applied to the label.
|
protected static Offset |
ForwardEdgeOfBattleArea.LEFT_CENTER |
protected static Offset |
ForwardEdgeOfBattleArea.RIGHT_CENTER |
protected static Offset |
Boundary.TOP_LABEL_OFFSET
Offset applied to the graphic's upper label.
|
protected static Offset |
LinearTarget.TOP_LABEL_OFFSET
Offset applied to the graphic's upper label.
|
protected static Offset |
FireSupportLine.TOP_LABEL_OFFSET
Offset applied to the graphic's upper label.
|
Modifier and Type | Method and Description |
---|---|
protected Offset |
Boundary.getBottomLabelOffset()
Indicates the offset applied to the lower label.
|
protected Offset |
LinearTarget.getBottomLabelOffset()
Indicates the offset applied to the lower label.
|
protected Offset |
FireSupportLine.getBottomLabelOffset()
Indicates the offset applied to the lower label.
|
protected Offset |
MunitionFlightPath.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
Route.getDefaultLabelOffset() |
protected Offset |
Boundary.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
LinearTarget.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
FireSupportLine.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
DirectionOfAttackForFeint.getDefaultLabelOffset()
Indicates the default offset applied to the graphic's main label.
|
protected Offset |
Boundary.getTopLabelOffset()
Indicates the offset applied to the upper label.
|
protected Offset |
FireSupportLine.getTopLabelOffset()
Indicates the offset applied to the upper label.
|
Modifier and Type | Field and Description |
---|---|
protected static Offset |
LayerTree.DEFAULT_OFFSET
The default screen location: 20x140 pixels from the upper left screen corner.
|
Modifier and Type | Method and Description |
---|---|
protected TreeLayout |
LayerTree.createTreeLayout(Offset offset)
Returns a new
TreeLayout suitable for displaying the layer tree on a WorldWindow . |
protected void |
LayerTree.initialize(LayerTreeModel model,
Offset offset)
Initializes this tree with the specified
model and offset . |
Constructor and Description |
---|
LayerTree(LayerTreeModel model,
Offset offset)
Creates a new
LayerTree with the specified model and the specified screen location. |
LayerTree(Offset offset)
Creates a new
LayerTree with an empty LayerTreeModel and the specified screen
location. |
Modifier and Type | Field and Description |
---|---|
protected Offset |
ScrollFrame.screenLocation
Indicates the location of the upper left corner of the frame.
|
Modifier and Type | Method and Description |
---|---|
Offset |
BasicTreeLayout.getScreenLocation()
Get the location of the upper left corner of the tree, measured in screen coordinates with the origin at the
upper left corner of the screen.
|
Offset |
ScrollFrame.getScreenLocation()
Get the location of the upper left corner of the tree, measured in screen coordinates with the origin at the
upper left corner of the screen.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicTreeLayout.setScreenLocation(Offset screenLocation)
Set the location of the upper left corner of the tree, measured in screen coordinates with the origin at the
upper left corner of the screen.
|
void |
ScrollFrame.setScreenLocation(Offset screenLocation)
Set the location of the upper left corner of the tree, measured in screen coordinates with the origin at the
upper left corner of the screen.
|
Constructor and Description |
---|
BasicTreeLayout(Tree tree,
Offset screenLocation)
Create a layout for a tree, at a screen location.
|
ScrollFrame(Offset screenLocation)
Create a scroll positioned with an Offset.
|