org.jfree.chart.labels.StandardCategorySeriesLabelGenerator Java Examples

The following examples show how to use org.jfree.chart.labels.StandardCategorySeriesLabelGenerator. 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: AbstractCategoryItemRendererTest.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Check that the legendItemLabelGenerator is cloned.
 */
@Test
public void testCloning_LegendItemLabelGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemLabelGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemLabelGenerator()
            != r2.getLegendItemLabelGenerator());
}
 
Example #2
Source File: AbstractCategoryItemRendererTest.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemLabelGenerator is cloned.
 */
@Test
public void testCloning_LegendItemLabelGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemLabelGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemLabelGenerator()
            != r2.getLegendItemLabelGenerator());
}
 
Example #3
Source File: AbstractCategoryItemRendererTest.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemToolTipGenerator is cloned.
 */
@Test
public void testCloning_LegendItemToolTipGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemToolTipGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemToolTipGenerator()
            != r2.getLegendItemToolTipGenerator());
}
 
Example #4
Source File: AbstractCategoryItemRendererTest.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemURLGenerator is cloned.
 */
@Test
public void testCloning_LegendItemURLGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemURLGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();
    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemURLGenerator()
            != r2.getLegendItemURLGenerator());
}
 
Example #5
Source File: AbstractCategoryItemRendererTest.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemURLGenerator is cloned.
 */
@Test
public void testCloning_LegendItemURLGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemURLGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();
    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemURLGenerator()
            != r2.getLegendItemURLGenerator());
}
 
Example #6
Source File: AbstractCategoryItemRendererTest.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemToolTipGenerator is cloned.
 */
@Test
public void testCloning_LegendItemToolTipGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemToolTipGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemToolTipGenerator()
            != r2.getLegendItemToolTipGenerator());
}
 
Example #7
Source File: AbstractCategoryItemRendererTest.java    From buffer_bci with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemLabelGenerator is cloned.
 */
@Test
public void testCloning_LegendItemLabelGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemLabelGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemLabelGenerator()
            != r2.getLegendItemLabelGenerator());
}
 
Example #8
Source File: AbstractCategoryItemRendererTest.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemToolTipGenerator is cloned.
 */
@Test
public void testCloning_LegendItemToolTipGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemToolTipGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemToolTipGenerator()
            != r2.getLegendItemToolTipGenerator());
}
 
Example #9
Source File: AbstractCategoryItemRendererTest.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * Check that the legendItemLabelGenerator is cloned.
 */
@Test
public void testCloning_LegendItemLabelGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemLabelGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemLabelGenerator()
            != r2.getLegendItemLabelGenerator());
}
 
Example #10
Source File: AbstractCategoryItemRendererTest.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * Check that the legendItemToolTipGenerator is cloned.
 */
@Test
public void testCloning_LegendItemToolTipGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemToolTipGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemToolTipGenerator()
            != r2.getLegendItemToolTipGenerator());
}
 
Example #11
Source File: AbstractCategoryItemRendererTest.java    From SIMVA-SoS with Apache License 2.0 6 votes vote down vote up
/**
 * Check that the legendItemURLGenerator is cloned.
 */
@Test
public void testCloning_LegendItemURLGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemURLGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();
    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemURLGenerator()
            != r2.getLegendItemURLGenerator());
}
 
Example #12
Source File: AbstractCategoryItemRendererTest.java    From openstock with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemLabelGenerator is cloned.
 */
@Test
public void testCloning_LegendItemLabelGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemLabelGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemLabelGenerator()
            != r2.getLegendItemLabelGenerator());
}
 
Example #13
Source File: AbstractCategoryItemRendererTest.java    From ccu-historian with GNU General Public License v3.0 6 votes vote down vote up
/**
 * Check that the legendItemURLGenerator is cloned.
 */
@Test
public void testCloning_LegendItemURLGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemURLGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();
    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemURLGenerator()
            != r2.getLegendItemURLGenerator());
}
 
Example #14
Source File: AbstractCategoryItemRendererTest.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Check that the legendItemToolTipGenerator is cloned.
 */
@Test
public void testCloning_LegendItemToolTipGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemToolTipGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();

    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemToolTipGenerator()
            != r2.getLegendItemToolTipGenerator());
}
 
Example #15
Source File: AbstractCategoryItemRendererTest.java    From ECG-Viewer with GNU General Public License v2.0 6 votes vote down vote up
/**
 * Check that the legendItemURLGenerator is cloned.
 */
@Test
public void testCloning_LegendItemURLGenerator() 
        throws CloneNotSupportedException {
    StandardCategorySeriesLabelGenerator generator
            = new StandardCategorySeriesLabelGenerator("Series {0}");
    BarRenderer r1 = new BarRenderer();
    r1.setLegendItemURLGenerator(generator);
    BarRenderer r2 = (BarRenderer) r1.clone();
    assertTrue(r1 != r2);
    assertTrue(r1.getClass() == r2.getClass());
    assertTrue(r1.equals(r2));

    // check that the generator has been cloned
    assertTrue(r1.getLegendItemURLGenerator()
            != r2.getLegendItemURLGenerator());
}
 
Example #16
Source File: jKali_0031_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #17
Source File: AbstractCategoryItemRenderer.java    From astor with GNU General Public License v2.0 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #18
Source File: Elixir_000_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #19
Source File: jMutRepair_0020_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #20
Source File: jMutRepair_0020_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #21
Source File: jMutRepair_000_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #22
Source File: jMutRepair_000_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #23
Source File: jKali_0031_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #24
Source File: jKali_0019_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #25
Source File: jKali_0019_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #26
Source File: jKali_000_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #27
Source File: jKali_000_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #28
Source File: JGenProg2017_000_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #29
Source File: JGenProg2017_000_s.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}
 
Example #30
Source File: Chart_1_AbstractCategoryItemRenderer_t.java    From coming with MIT License 5 votes vote down vote up
/**
 * Creates a new renderer with no tool tip generator and no URL generator.
 * The defaults (no tool tip or URL generators) have been chosen to
 * minimise the processing required to generate a default chart.  If you
 * require tool tips or URLs, then you can easily add the required
 * generators.
 */
protected AbstractCategoryItemRenderer() {
    this.itemLabelGeneratorList = new ObjectList();
    this.toolTipGeneratorList = new ObjectList();
    this.urlGeneratorList = new ObjectList();
    this.legendItemLabelGenerator
            = new StandardCategorySeriesLabelGenerator();
    this.backgroundAnnotations = new ArrayList();
    this.foregroundAnnotations = new ArrayList();
}