当前位置: 首页>>代码示例>>Java>>正文


Java Arrangement类代码示例

本文整理汇总了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);
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:25,代码来源:LegendTitle.java

示例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;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:26,代码来源:LegendTitle.java

示例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;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:26,代码来源:LegendTitle.java

示例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);
}
 
开发者ID:SOCR,项目名称:HTML5_WebSite,代码行数:25,代码来源:LegendTitle.java

示例5: ColoredBlockContainer

import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
public ColoredBlockContainer(Paint fillPaint, Arrangement arrangement) {
	super(arrangement);
	this.fillPaint = fillPaint;
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:5,代码来源:ColoredBlockContainer.java

示例6: SmartLegendTitle

import org.jfree.chart.block.Arrangement; //导入依赖的package包/类
public SmartLegendTitle(LegendItemSource source, Arrangement hLayout, Arrangement vLayout) {
	super(source, hLayout, vLayout);
}
 
开发者ID:transwarpio,项目名称:rapidminer,代码行数:4,代码来源:SmartLegendTitle.java

示例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;
}
 
开发者ID:parabuild-ci,项目名称:parabuild-ci,代码行数:14,代码来源:LegendItemBlockContainer.java

示例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;
}
 
开发者ID:mdzio,项目名称:ccu-historian,代码行数:16,代码来源:LegendItemBlockContainer.java

示例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;
}
 
开发者ID:jfree,项目名称:jfreechart,代码行数:16,代码来源:LegendItemBlockContainer.java


注:本文中的org.jfree.chart.block.Arrangement类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。