public static class ShapeEditingExtension.Arrow extends Object implements Renderable, Movable2, Highlightable, Attributable, Draggable
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | dragEnabled | 
| protected DraggableSupport | draggableSupport | 
| protected Path | head | 
| protected Path | shaft | 
| Constructor and Description | 
|---|
| Arrow(LatLon location0,
     LatLon location1,
     double altitude) | 
| Arrow(ShapeEditingExtension.Arrow source) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | doDrag(DragContext dragContext) | 
| void | drag(DragContext dragContext)Drag the object given the provided  DragContext. | 
| double | getAltitude() | 
| int | getAltitudeMode() | 
| ShapeAttributes | getAttributes()Return the shape's current attributes. | 
| ShapeAttributes | getHighlightAttributes()Return the shape's highlight attributes. | 
| LatLon[] | getLocations() | 
| Position | getReferencePosition()A position associated with the object that indicates its aggregate geographic position. | 
| boolean | isDragEnabled()Indicates whether the object is enabled for dragging. | 
| boolean | isHighlighted()Indicates whether to highlight the shape. | 
| protected void | makeArrowhead(DrawContext dc) | 
| void | moveTo(Globe globe,
      Position position)Move the shape over the globe's surface while maintaining its original azimuth, its orientation relative to
 North. | 
| void | render(DrawContext dc)Causes this  Renderableto render itself using the provided draw context. | 
| void | setAttributes(ShapeAttributes attributes)Set the shape's attributes. | 
| void | setDragEnabled(boolean enabled)Controls whether the object is enabled for dragging. | 
| void | setHighlightAttributes(ShapeAttributes attributes)Set the shape's highlight attributes. | 
| void | setHighlighted(boolean highlighted)Specifies whether to highlight the shape. | 
| void | setLocations(LatLon location0,
            LatLon location1) | 
protected boolean dragEnabled
protected DraggableSupport draggableSupport
protected Path head
protected Path shaft
public Arrow(ShapeEditingExtension.Arrow source)
protected void doDrag(DragContext dragContext)
public void drag(DragContext dragContext)
DraggableDragContext.drag in interface DraggabledragContext - the DragContext of this dragging event.public double getAltitude()
public int getAltitudeMode()
public ShapeAttributes getAttributes()
AttributablegetAttributes in interface Attributablepublic ShapeAttributes getHighlightAttributes()
AttributablegetHighlightAttributes in interface Attributablepublic LatLon[] getLocations()
public Position getReferencePosition()
Movable2getReferencePosition in interface Movable2public boolean isDragEnabled()
DraggableisDragEnabled in interface Draggablepublic boolean isHighlighted()
HighlightableisHighlighted in interface Highlightableprotected void makeArrowhead(DrawContext dc)
public void moveTo(Globe globe, Position position)
Movable2public void render(DrawContext dc)
RenderableRenderable to render itself using the provided draw context.render in interface Renderabledc - the DrawContext to be usedDrawContextpublic void setAttributes(ShapeAttributes attributes)
AttributablesetAttributes in interface Attributableattributes - the attributes to assign to the shape.public void setDragEnabled(boolean enabled)
DraggablesetDragEnabled in interface Draggableenabled - true if the object is enabled, else false.public void setHighlightAttributes(ShapeAttributes attributes)
AttributablesetHighlightAttributes in interface Attributableattributes - the highlight attributes to assign to the shape.public void setHighlighted(boolean highlighted)
HighlightablesetHighlighted in interface Highlightablehighlighted - true to highlight the shape, otherwise false.