public class CircleContainerLayout extends AbstractArrayContainerLayout
AbstractArrayContainerLayout.LegendShapePosition, AbstractArrayContainerLayout.ShapePosition
layoutarea
Constructor and Description |
---|
CircleContainerLayout()
Basic Constructor
|
Modifier and Type | Method and Description |
---|---|
AbstractArrayContainerLayout.ShapePosition |
getLegendShape(Rectangle2D Area,
String id)
Get the ShapePosition representing the current Legend using the label indicated, and the Dimension provided.
|
Shape |
getShape(Dimension Area)
Get the Shape to be used for individual items in the specified area.
|
getShapePosition, LayoutDataForNode, setupLayout, updateLabel
createLayout, determineDisplayRange, getLayoutArea, roundToCommonOrder, roundToOrder
public Shape getShape(Dimension Area)
AbstractArrayContainerLayout
getShape
in class AbstractArrayContainerLayout
Area
- The size of the shape to be returned.public AbstractArrayContainerLayout.ShapePosition getLegendShape(Rectangle2D Area, String id)
AbstractArrayContainerLayout
getLegendShape
in class AbstractArrayContainerLayout
Area
- Area to put the legend shape intoid
- The Label for the AbstractArrayContainerLayout.ShapePosition
.Copyright © 2018. All rights reserved.