Package com.androidplot.xy
Class XYLegendWidget
-
- All Implemented Interfaces:
-
com.androidplot.ui.BoxModelable,com.androidplot.ui.Resizable
public class XYLegendWidget extends LegendWidget<XYLegendItem>
Displays a legend for each series added to the owning XYPlot.
-
-
Field Summary
Fields Modifier and Type Field Description public SizeiconSizepublic PainttextPaintpublic Comparator<ItemT>legendItemComparatorpublic PaintborderPaintpublic PaintbackgroundPaintpublic Sizesizepublic DisplayDimensionswidgetDimensionspublic booleanisVisiblepublic PositionMetricspositionMetricspublic Widget.Rotationrotation
-
Constructor Summary
Constructors Constructor Description XYLegendWidget(LayoutManager layoutManager, XYPlot plot, Size widgetSize, TableModel tableModel, Size iconSize)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class com.androidplot.ui.widget.LegendWidget
getIconSize, getLegendItemComparator, getTextPaint, isDrawIconBackgroundEnabled, isDrawIconBorderEnabled, setDrawIconBackgroundEnabled, setDrawIconBorderEnabled, setIconSize, setLegendItemComparator, setTableModel, setTextPaint -
Methods inherited from class com.androidplot.ui.widget.Widget
calculateCoordinates, containsPoint, draw, getAnchor, getAnchorCoordinates, getAnchorCoordinates, getAnchorOffset, getBackgroundPaint, getBorderPaint, getHeightMetric, getHeightPix, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getMarginatedRect, getPaddedRect, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getPositionMetrics, getRotation, getSize, getWidgetDimensions, getWidthMetric, getWidthPix, isClippingEnabled, isVisible, layout, onPostInit, position, position, refreshLayout, setAnchor, setBackgroundPaint, setBorderPaint, setClippingEnabled, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setMargins, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop, setPositionMetrics, setRotation, setSize, setVisible, setWidth, setWidth -
Methods inherited from class com.androidplot.ui.BoxModelable
getMarginatedRect, getPaddedRect, setMarginBottom -
Methods inherited from class com.androidplot.ui.Resizable
layout -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
XYLegendWidget
XYLegendWidget(LayoutManager layoutManager, XYPlot plot, Size widgetSize, TableModel tableModel, Size iconSize)
-
-
-
-