public class XYLegendWidget extends LegendWidget<XYLegendItem>
XYPlot.Widget.Rotation| Constructor and Description |
|---|
XYLegendWidget(LayoutManager layoutManager,
XYPlot plot,
Size widgetSize,
TableModel tableModel,
Size iconSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawIcon(android.graphics.Canvas canvas,
android.graphics.RectF iconRect,
XYLegendItem XYLegendItem)
Draw the icon representing the legend item
|
protected void |
drawRegionLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
XYRegionFormatter formatter) |
protected List<XYLegendItem> |
getLegendItems() |
beginDrawingCell, doOnDraw, drawItem, finishDrawingCell, getIconSize, getLegendItemComparator, getRectCenterY, getTextPaint, isDrawIconBackgroundEnabled, isDrawIconBorderEnabled, setDrawIconBackgroundEnabled, setDrawIconBorderEnabled, setIconSize, setLegendItemComparator, setTableModel, setTextPaintapplyRotation, containsPoint, draw, drawBackground, drawBorder, getAnchor, getAnchorCoordinates, getAnchorCoordinates, getAnchorOffset, getBackgroundPaint, getBorderPaint, getElementCoordinates, getHeightMetric, getHeightPix, getMarginatedRect, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddedRect, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPositionMetrics, getRotation, getSize, getWidgetDimensions, getWidthMetric, getWidthPix, isClippingEnabled, isVisible, layout, onMetricsChanged, onPostInit, position, position, refreshLayout, setAnchor, setBackgroundPaint, setBorderPaint, setClippingEnabled, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPositionMetrics, setRotation, setSize, setVisible, setWidth, setWidthpublic XYLegendWidget(LayoutManager layoutManager, XYPlot plot, Size widgetSize, TableModel tableModel, Size iconSize)
protected void drawRegionLegendIcon(android.graphics.Canvas canvas,
android.graphics.RectF rect,
XYRegionFormatter formatter)
protected void drawIcon(android.graphics.Canvas canvas,
android.graphics.RectF iconRect,
XYLegendItem XYLegendItem)
LegendWidgetdrawIcon in class LegendWidget<XYLegendItem>iconRect - The space to be occupied by the icon.protected List<XYLegendItem> getLegendItems()
getLegendItems in class LegendWidget<XYLegendItem>