本文整理汇总了Java中org.jfree.chart.block.Arrangement类的典型用法代码示例。如果您正苦于以下问题:Java Arrangement类的具体用法?Java Arrangement怎么用?Java Arrangement使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Arrangement类属于org.jfree.chart.block包,在下文中一共展示了Arrangement类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: LegendTitle
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend title with the specified arrangement.
*
* @param source the source.
* @param hLayout the horizontal item arrangement (<code>null</code> not
* permitted).
* @param vLayout the vertical item arrangement (<code>null</code> not
* permitted).
*/
public LegendTitle(LegendItemSource source,
Arrangement hLayout, Arrangement vLayout) {
this.sources = new LegendItemSource[] {source};
this.items = new BlockContainer(hLayout);
this.hLayout = hLayout;
this.vLayout = vLayout;
this.backgroundPaint = null;
this.legendItemGraphicEdge = RectangleEdge.LEFT;
this.legendItemGraphicAnchor = RectangleAnchor.CENTER;
this.legendItemGraphicLocation = RectangleAnchor.CENTER;
this.legendItemGraphicPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.itemFont = DEFAULT_ITEM_FONT;
this.itemPaint = DEFAULT_ITEM_PAINT;
this.itemLabelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
}
示例2: LegendTitle
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend title with the specified arrangement.
*
* @param source the source.
* @param hLayout the horizontal item arrangement (<code>null</code> not
* permitted).
* @param vLayout the vertical item arrangement (<code>null</code> not
* permitted).
*/
public LegendTitle(LegendItemSource source,
Arrangement hLayout, Arrangement vLayout) {
this.sources = new LegendItemSource[] {source};
this.items = new BlockContainer(hLayout);
this.hLayout = hLayout;
this.vLayout = vLayout;
this.backgroundPaint = null;
this.legendItemGraphicEdge = RectangleEdge.LEFT;
this.legendItemGraphicAnchor = RectangleAnchor.CENTER;
this.legendItemGraphicLocation = RectangleAnchor.CENTER;
this.legendItemGraphicPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.itemFont = DEFAULT_ITEM_FONT;
this.itemPaint = DEFAULT_ITEM_PAINT;
this.itemLabelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.sortOrder = SortOrder.ASCENDING;
}
示例3: LegendTitle
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend title with the specified arrangement.
*
* @param source the source.
* @param hLayout the horizontal item arrangement ({@code null} not
* permitted).
* @param vLayout the vertical item arrangement ({@code null} not
* permitted).
*/
public LegendTitle(LegendItemSource source,
Arrangement hLayout, Arrangement vLayout) {
this.sources = new LegendItemSource[] {source};
this.items = new BlockContainer(hLayout);
this.hLayout = hLayout;
this.vLayout = vLayout;
this.backgroundPaint = null;
this.legendItemGraphicEdge = RectangleEdge.LEFT;
this.legendItemGraphicAnchor = RectangleAnchor.CENTER;
this.legendItemGraphicLocation = RectangleAnchor.CENTER;
this.legendItemGraphicPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.itemFont = DEFAULT_ITEM_FONT;
this.itemPaint = DEFAULT_ITEM_PAINT;
this.itemLabelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.sortOrder = SortOrder.ASCENDING;
}
示例4: LegendTitle
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend title with the specified arrangement.
*
* @param source the source.
* @param hLayout the horizontal item arrangement (<code>null</code> not
* permitted).
* @param vLayout the vertical item arrangement (<code>null</code> not
* permitted).
*/
public LegendTitle(LegendItemSource source,
Arrangement hLayout, Arrangement vLayout) {
this.sources = new LegendItemSource[] {source};
this.items = new BlockContainer(hLayout);
this.hLayout = hLayout;
this.vLayout = vLayout;
this.backgroundPaint = null;
this.legendItemGraphicEdge = RectangleEdge.LEFT;
this.legendItemGraphicAnchor = RectangleAnchor.CENTER;
this.legendItemGraphicLocation = RectangleAnchor.CENTER;
this.legendItemGraphicPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
this.itemFont = DEFAULT_ITEM_FONT;
this.itemPaint = DEFAULT_ITEM_PAINT;
this.itemLabelPadding = new RectangleInsets(2.0, 2.0, 2.0, 2.0);
}
示例5: ColoredBlockContainer
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
public ColoredBlockContainer(Paint fillPaint, Arrangement arrangement) {
super(arrangement);
this.fillPaint = fillPaint;
}
示例6: SmartLegendTitle
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
public SmartLegendTitle(LegendItemSource source, Arrangement hLayout, Arrangement vLayout) {
super(source, hLayout, vLayout);
}
示例7: LegendItemBlockContainer
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend item block.
*
* @param arrangement
* @param dataset
* @param series
*/
public LegendItemBlockContainer(Arrangement arrangement, int dataset,
int series) {
super(arrangement);
this.dataset = dataset;
this.series = series;
}
示例8: LegendItemBlockContainer
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend item block.
*
* @param arrangement the arrangement.
* @param datasetIndex the dataset index.
* @param series the series index.
*
* @deprecated As of 1.0.6, use the other constructor.
*/
public LegendItemBlockContainer(Arrangement arrangement, int datasetIndex,
int series) {
super(arrangement);
this.datasetIndex = datasetIndex;
this.series = series;
}
示例9: LegendItemBlockContainer
import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
/**
* Creates a new legend item block.
*
* @param arrangement the arrangement.
* @param dataset the dataset.
* @param seriesKey the series key.
*
* @since 1.0.6
*/
public LegendItemBlockContainer(Arrangement arrangement, Dataset dataset,
Comparable seriesKey) {
super(arrangement);
this.dataset = dataset;
this.seriesKey = seriesKey;
}