|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.jrefinery.chart.StandardLegendItemLayout
public class StandardLegendItemLayout
A class for arranging legend items.
| Field Summary | |
|---|---|
protected double |
dimension
A constraint on one of the dimesions in the layout. |
static int |
HORIZONTAL
Useful constant for horizontal orientation. |
protected int |
orientation
The orientation of the layout (HORIZONTAL or VERTICAL). |
static int |
VERTICAL
Useful constant for vertical orientation. |
| Constructor Summary | |
|---|---|
StandardLegendItemLayout(int orientation,
double dimension)
Constructs a new layout class for legend items. |
|
| Method Summary | |
|---|---|
void |
layoutLegendItems(LegendItemCollection collection)
Performs a layout on the items in the collection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int VERTICAL
public static final int HORIZONTAL
protected int orientation
protected double dimension
| Constructor Detail |
|---|
public StandardLegendItemLayout(int orientation,
double dimension)
orientation - The orientation of the layout (HORIZONTAL or VERTICAL).dimension - The constrained dimension.| Method Detail |
|---|
public void layoutLegendItems(LegendItemCollection collection)
layoutLegendItems in interface LegendItemLayoutcollection - The collection to be laid out.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||