Package gov.nasa.worldwind.drag
Interface Draggable
-
- All Known Implementing Classes:
AbstractAirspace
,AbstractAxisArrow
,AbstractCircularGraphic
,AbstractGeneralShape
,AbstractMilStd2525TacticalGraphic
,AbstractRectangularGraphic
,AbstractShape
,AbstractSurfaceShape
,AbstractTacticalGraphic
,AbstractTacticalSymbol
,AdvanceForFeint
,Airborne
,AirfieldZone
,Airhead
,Ambush
,AntennaAxes
,AntennaModel
,AttackByFirePosition
,AttackRotaryWing
,AudioPlayerAnnotation
,Aviation
,AviationZone
,BasicArea
,BattlePosition
,Boundary
,Box
,Box
,Cake
,Cake.Layer
,CappedCylinder
,CappedEllipticalCylinder
,CircularFireSupportArea
,CircularPositionArea
,CircularRangeFan
,ColladaMeshShape
,CombatSupportArea
,Cone
,Curtain
,Cylinder
,DialogAnnotation
,DirectedPath
,DirectedSurfacePolyline
,DirectionOfAttack
,DirectionOfAttackAviation
,DirectionOfAttackForFeint
,DoseRateContourLine
,Dummy
,EchelonSymbol
,ElevationPlane
,Ellipsoid
,Encirclement
,ExtrudedPolygon
,FilledArea
,FireSupportLine
,FortifiedArea
,ForwardEdgeOfBattleArea
,ForwardEdgeOfBattleArea.FEBASymbol
,ForwardLineOfOwnTroops
,GlobeAnnotation
,GroupOfTargets
,HoldingLine
,InfiltrationLane
,IrregularFireSupportArea
,KMLExtrudedPolygonImpl
,KMLGroundOverlayPolygonImpl
,KMLLineStringPlacemarkImpl
,KMLPointPlacemarkImpl
,KMLPolygonImpl
,KMLSurfaceImageImpl
,KMLSurfacePolygonImpl
,LimitedAccessArea
,LimitedAccessSymbol
,LinearTarget
,LineOfContact
,MainAttack
,MeasureTool.ControlPoint
,MeasureTool.ControlPointWithLeader
,MilStd2525PointGraphic
,MilStd2525TacticalSymbol
,MinimumSafeDistanceZones
,MunitionFlightPath
,OffenseArea
,Orbit
,PartialCappedCylinder
,Path
,Pedestal
,PhaseLine
,PointPlacemark
,PolyArc
,Polygon
,Polygon
,PrincipleDirectionOfFire
,PullUpPoint
,Pyramid
,Quadrilateral
,RadarVolume
,RectangularFireSupportArea
,RectangularPositionArea
,RectangularTarget
,RigidShape
,Route
,Route
,RoutePoint
,SARAnnotation
,SearchArea
,SectorRangeFan
,SectorSelector.RegionShape
,ShapeEditingExtension.Arrow
,SlideShowAnnotation
,Smoke
,SpecialInterestArea
,SphereAirspace
,SupportByFirePosition
,SupportingAttack
,SurfaceBox
,SurfaceCircle
,SurfaceEllipse
,SurfaceIcon
,SurfaceIcons
,SurfaceImage
,SurfaceMultiPolygon
,SurfacePolygon
,SurfacePolygons
,SurfacePolyline
,SurfacePolylines
,SurfaceQuad
,SurfaceSector
,SurfaceSquare
,SurfaceText
,TacticalGraphicSymbol
,TrackAirspace
,UserFacingIcon
,WeaponsFreeZone
,Wedge
,WWOMeasureToolControlPoints.ControlPoint
public interface Draggable
An interface provided by objects that can be dragged. TheDragContext
provided in thedrag(DragContext)
method includes information on the screen coordinates and the state of theWorldWindow
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
drag(DragContext dragContext)
Drag the object given the providedDragContext
.boolean
isDragEnabled()
Indicates whether the object is enabled for dragging.void
setDragEnabled(boolean enabled)
Controls whether the object is enabled for dragging.
-
-
-
Method Detail
-
isDragEnabled
boolean isDragEnabled()
Indicates whether the object is enabled for dragging.- Returns:
- true if the object is enabled, else false.
-
setDragEnabled
void setDragEnabled(boolean enabled)
Controls whether the object is enabled for dragging.- Parameters:
enabled
-true
if the object is enabled, elsefalse
.
-
drag
void drag(DragContext dragContext)
Drag the object given the providedDragContext
.- Parameters:
dragContext
- theDragContext
of this dragging event.
-
-