Package gov.nasa.worldwind.render
Interface Attributable
-
- All Known Subinterfaces:
Airspace
,SurfaceShape
- All Known Implementing Classes:
AbstractAirspace
,AbstractGeneralShape
,AbstractShape
,AbstractSurfaceShape
,AntennaAxes
,AntennaModel
,Box
,Box
,Cake
,Cake.Layer
,CappedCylinder
,CappedEllipticalCylinder
,ColladaMeshShape
,Cone
,Curtain
,Cylinder
,DirectedPath
,DirectedSurfacePolyline
,ElevationPlane
,Ellipsoid
,ExtrudedPolygon
,KMLExtrudedPolygonImpl
,KMLGroundOverlayPolygonImpl
,KMLLineStringPlacemarkImpl
,KMLPolygonImpl
,KMLSurfacePolygonImpl
,Orbit
,PartialCappedCylinder
,Path
,PolyArc
,Polygon
,Polygon
,Pyramid
,RadarVolume
,RigidShape
,Route
,SectorSelector.RegionShape
,ShapeEditingExtension.Arrow
,SphereAirspace
,SurfaceBox
,SurfaceCircle
,SurfaceEllipse
,SurfaceMultiPolygon
,SurfacePolygon
,SurfacePolygons
,SurfacePolyline
,SurfacePolylines
,SurfaceQuad
,SurfaceSector
,SurfaceSquare
,TrackAirspace
,Wedge
public interface Attributable
Interface for shapes that useShapeAttributes
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ShapeAttributes
getAttributes()
Return the shape's current attributes.ShapeAttributes
getHighlightAttributes()
Return the shape's highlight attributes.void
setAttributes(ShapeAttributes attributes)
Set the shape's attributes.void
setHighlightAttributes(ShapeAttributes highlightAttributes)
Set the shape's highlight attributes.
-
-
-
Method Detail
-
setAttributes
void setAttributes(ShapeAttributes attributes)
Set the shape's attributes.- Parameters:
attributes
- the attributes to assign to the shape.
-
getAttributes
ShapeAttributes getAttributes()
Return the shape's current attributes.- Returns:
- the shape's current attributes.
-
setHighlightAttributes
void setHighlightAttributes(ShapeAttributes highlightAttributes)
Set the shape's highlight attributes.- Parameters:
highlightAttributes
- the highlight attributes to assign to the shape.
-
getHighlightAttributes
ShapeAttributes getHighlightAttributes()
Return the shape's highlight attributes.- Returns:
- the shape's highlight attributes.
-
-