Package com.storedobject.chart
Interface HasPosition
- All Known Implementing Classes:
Arc,ArcPart,BezierCurve,ChartImage,Circle,CirclePart,ComposedPart,CoordinateSystem,DataZoom,DonutChart,FunnelChart,GaugeChart,GraphChart,Image,Legend,Line,NightingaleRoseChart,PieChart,PolarCoordinate,Polygon,Polyline,RadarCoordinate,Rectangle,RectangularCoordinate,Ring,SankeyChart,SankeyData.Edge,SankeyData.Node,Sector,SelfPositioningChart,SelfPositioningSpecialChart,Shape,ShapeGroup,Square,SunburstChart,Text,Title,Toolbox,TreeChart,TreemapChart,VisualMap
public interface HasPosition
Interface to denote that a
ComponentPart has Position.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiongetPosition(boolean create) Get the position of this on the chart display area.voidsetPosition(Position position) Set the position of this.
-
Method Details
-
getPosition
Get the position of this on the chart display area. (Iftrueis passed as the parameter, a new position will be created if not already exists).- Parameters:
create- Whether to create it or not.- Returns:
- Position.
-
setPosition
Set the position of this.- Parameters:
position- Position to set.
-