Package org.jfree.chart
Class DrawableLegendItem
java.lang.Object
org.jfree.chart.DrawableLegendItem
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleDeprecated.Get the height of this item.getItem()Deprecated.Returns the legend item.Deprecated.Returns the label position.getLine()Deprecated.Returns the list.Deprecated.Get the marker.doublegetMaxX()Deprecated.Returns the largest X coordinate of the framing rectangle of this legend item.doublegetMaxY()Deprecated.Returns the largest Y coordinate of the framing rectangle of this legend item.doublegetWidth()Deprecated.Get the width of this item.doublegetX()Deprecated.Get the x-coordinate for the item's location.doublegetY()Deprecated.Get the y-coordinate for the item's location.voidsetBounds(double x, double y, double width, double height) Deprecated.Set the bounds of this item.voidsetLabelPosition(Point2D position) Deprecated.Sets the label position.voidDeprecated.Sets the line used to label this series.voidDeprecated.Set the marker.voidsetX(double x) Deprecated.Set the x-coordinate for the item's location.voidsetY(double y) Deprecated.Set the y-coordinate for the item's location.
-
Constructor Details
-
DrawableLegendItem
Deprecated.Create a legend item.- Parameters:
item- the legend item for display.
-
-
Method Details
-
getItem
Deprecated.Returns the legend item.- Returns:
- The legend item.
-
getX
Deprecated.Get the x-coordinate for the item's location.- Returns:
- The x-coordinate for the item's location.
-
setX
Deprecated.Set the x-coordinate for the item's location.- Parameters:
x- the x-coordinate.
-
getY
Deprecated.Get the y-coordinate for the item's location.- Returns:
- The y-coordinate for the item's location.
-
setY
Deprecated.Set the y-coordinate for the item's location.- Parameters:
y- the y-coordinate.
-
getWidth
Deprecated.Get the width of this item.- Returns:
- The width.
-
getHeight
Deprecated.Get the height of this item.- Returns:
- The height.
-
getMaxX
Deprecated.Returns the largest X coordinate of the framing rectangle of this legend item.- Returns:
- The largest x coordinate of the framing rectangle of this legend item.
-
getMaxY
Deprecated.Returns the largest Y coordinate of the framing rectangle of this legend item.- Returns:
- The largest Y coordinate of the framing rectangle of this legend item.
-
getMarker
Deprecated.Get the marker.- Returns:
- The shape used to indicate color on the legend for this item.
-
setMarker
Deprecated.Set the marker.- Parameters:
marker- a shape used to indicate color on the legend for this item.
-
setLine
Deprecated.Sets the line used to label this series.- Parameters:
l- the new line to use.
-
getLine
Deprecated.Returns the list.- Returns:
- The line.
-
getLabelPosition
Deprecated.Returns the label position.- Returns:
- The label position.
-
setLabelPosition
Deprecated.Sets the label position.- Parameters:
position- the label position.
-
setBounds
Deprecated.Set the bounds of this item.- 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.
-