org.jfree.chart
public class DrawableLegendItem extends Object
Deprecated: This class is not used by JFreeChart.
This class contains a single legend item along with position details for drawing the item on a particular chart.Constructor Summary | |
---|---|
DrawableLegendItem(LegendItem item)
Create a legend item.
|
Method Summary | |
---|---|
double | getHeight()
Get the height of this item.
|
LegendItem | getItem()
Returns the legend item.
|
Point2D | getLabelPosition()
Returns the label position.
|
Line2D | getLine()
Returns the list.
|
Shape | getMarker()
Get the marker.
|
double | getMaxX()
Returns the largest X coordinate of the framing rectangle of this legend
item.
|
double | getMaxY()
Returns the largest Y coordinate of the framing rectangle of this legend
item.
|
double | getWidth()
Get the width of this item.
|
double | getX()
Get the x-coordinate for the item's location.
|
double | getY()
Get the y-coordinate for the item's location.
|
void | setBounds(double x, double y, double width, double height)
Set the bounds of this item.
|
void | setLabelPosition(Point2D position)
Sets the label position.
|
void | setLine(Line2D l)
Sets the line used to label this series.
|
void | setMarker(Shape marker)
Set the marker.
|
void | setX(double x)
Set the x-coordinate for the item's location.
|
void | setY(double y)
Set the y-coordinate for the item's location.
|
Parameters: item the legend item for display.
Returns: The height.
Returns: The legend item.
Returns: The label position.
Returns: The line.
Returns: The shape used to indicate color on the legend for this item.
Returns: The largest x coordinate of the framing rectangle of this legend item.
Returns: The largest Y coordinate of the framing rectangle of this legend item.
Returns: The width.
Returns: The x-coordinate for the item's location.
Returns: The y-coordinate for the item's location.
Parameters: x x-coordinate for the item's location. y y-coordinate for the item's location. width the width of this item. height the height of this item.
Parameters: position the label position.
Parameters: l the new line to use.
Parameters: marker a shape used to indicate color on the legend for this item.
Parameters: x the x-coordinate.
Parameters: y the y-coordinate.