org.jfree.chart.block.Arrangement Java Examples

The following examples show how to use org.jfree.chart.block.Arrangement. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LegendTitle.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #2
Source File: LegendTitle.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * 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);
}
 
Example #3
Source File: LegendTitle.java    From opensim-gui with Apache License 2.0 6 votes vote down vote up
/**
 * 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);
}
 
Example #4
Source File: LegendTitle.java    From astor with GNU General Public License v2.0 6 votes vote down vote up
/**
 * 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);
}
 
Example #5
Source File: LegendTitle.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #6
Source File: LegendTitle.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #7
Source File: LegendTitle.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #8
Source File: LegendTitle.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #9
Source File: LegendTitle.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * 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;
}
 
Example #10
Source File: ColoredBlockContainer.java    From rapidminer-studio with GNU Affero General Public License v3.0 4 votes vote down vote up
public ColoredBlockContainer(Paint fillPaint, Arrangement arrangement) {
	super(arrangement);
	this.fillPaint = fillPaint;
}
 
Example #11
Source File: SmartLegendTitle.java    From rapidminer-studio with GNU Affero General Public License v3.0 4 votes vote down vote up
public SmartLegendTitle(LegendItemSource source, Arrangement hLayout, Arrangement vLayout) {
	super(source, hLayout, vLayout);
}
 
Example #12
Source File: LegendItemBlockContainer.java    From buffer_bci with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #13
Source File: LegendItemBlockContainer.java    From ECG-Viewer with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #14
Source File: LegendItemBlockContainer.java    From buffer_bci with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #15
Source File: LegendItemBlockContainer.java    From opensim-gui with Apache License 2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #16
Source File: LegendItemBlockContainer.java    From buffer_bci with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #17
Source File: LegendItemBlockContainer.java    From buffer_bci with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #18
Source File: LegendItemBlockContainer.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #19
Source File: LegendItemBlockContainer.java    From astor with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #20
Source File: LegendItemBlockContainer.java    From ECG-Viewer with GNU General Public License v2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #21
Source File: LegendItemBlockContainer.java    From SIMVA-SoS with Apache License 2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #22
Source File: LegendItemBlockContainer.java    From SIMVA-SoS with Apache License 2.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #23
Source File: LegendItemBlockContainer.java    From ccu-historian with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #24
Source File: LegendItemBlockContainer.java    From ccu-historian with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #25
Source File: LegendItemBlockContainer.java    From openstock with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}
 
Example #26
Source File: LegendItemBlockContainer.java    From openstock with GNU General Public License v3.0 3 votes vote down vote up
/**
 * 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;
}