Java 类org.jfree.chart.util.PublicCloneable 实例源码

项目:jfreechart    文件:GradientXYBarPainterTest.java   
/**
 * Confirm that cloning isn't implemented (it isn't required, because
 * instances of the class are immutable).
 */
@Test
public void testCloning() {
    GradientXYBarPainter p1 = new GradientXYBarPainter(0.1, 0.2, 0.3);
    assertFalse(p1 instanceof Cloneable);
    assertFalse(p1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardXYBarPainterTest.java   
/**
 * Confirm that cloning isn't implemented (it isn't required, because
 * instances of the class are immutable).
 */
@Test
public void testCloning() {
    StandardXYBarPainter p1 = new StandardXYBarPainter();
    assertFalse(p1 instanceof Cloneable);
    assertFalse(p1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardBarPainterTest.java   
/**
 * Confirm that cloning isn't implemented (it isn't required, because
 * instances of the class are immutable).
 */
@Test
public void testCloning() {
    StandardBarPainter p1 = new StandardBarPainter();
    assertFalse(p1 instanceof Cloneable);
    assertFalse(p1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StatisticalLineAndShapeRendererTest.java   
/**
 * Check that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StatisticalLineAndShapeRenderer r1
            = new StatisticalLineAndShapeRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:GradientBarPainterTest.java   
/**
 * Confirm that cloning isn't implemented (it isn't required, because
 * instances of the class are immutable).
 */
@Test
public void testCloning() {
    GradientBarPainter p1 = new GradientBarPainter(0.1, 0.2, 0.3);
    assertFalse(p1 instanceof Cloneable);
    assertFalse(p1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardPieURLGeneratorTest.java   
/**
 * Checks that the class does not implement PublicCloneable (the generator
 * is immutable).
 */
@Test
public void testPublicCloneable() {
    StandardPieURLGenerator g1 = new StandardPieURLGenerator(
            "index.html?", "cat");
    assertFalse(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYPolygonAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    Stroke stroke1 = new BasicStroke(2.0f);
    XYPolygonAnnotation a1 = new XYPolygonAnnotation(new double[] {1.0,
            2.0, 3.0, 4.0, 5.0, 6.0}, stroke1, Color.RED, Color.BLUE);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYDrawableAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    XYDrawableAnnotation a1 = new XYDrawableAnnotation(10.0, 20.0, 100.0,
            200.0, new TestDrawable());
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYShapeAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    XYShapeAnnotation a1 = new XYShapeAnnotation(
            new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0),
            new BasicStroke(1.2f), Color.RED, Color.BLUE);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYPointerAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    XYPointerAnnotation a1 = new XYPointerAnnotation("Label", 10.0, 20.0,
            Math.PI);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:CategoryLineAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    CategoryLineAnnotation a1 = new CategoryLineAnnotation(
            "Category 1", 1.0, "Category 2", 2.0, Color.RED,
            new BasicStroke(1.0f));
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYLineAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    Stroke stroke = new BasicStroke(2.0f);
    XYLineAnnotation a1 = new XYLineAnnotation(10.0, 20.0, 100.0, 200.0,
            stroke, Color.BLUE);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:CategoryPointerAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    CategoryPointerAnnotation a1 = new CategoryPointerAnnotation("Label",
            "A", 20.0, Math.PI);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYBoxAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    XYBoxAnnotation a1 = new XYBoxAnnotation(1.0, 2.0, 3.0, 4.0,
            new BasicStroke(1.2f), Color.RED, Color.BLUE);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:CategoryTextAnnotationTest.java   
/**
 * Checks that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    CategoryTextAnnotation a1 = new CategoryTextAnnotation(
            "Test", "Category", 1.0);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:jfreechart    文件:IntervalCategoryItemLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    IntervalCategoryItemLabelGenerator g1
            = new IntervalCategoryItemLabelGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:MultipleXYSeriesLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    MultipleXYSeriesLabelGenerator g1
            = new MultipleXYSeriesLabelGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardCategorySeriesLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StandardCategorySeriesLabelGenerator g1
            = new StandardCategorySeriesLabelGenerator("{1}");
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardCategoryToolTipGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StandardCategoryToolTipGenerator g1
            = new StandardCategoryToolTipGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardXYSeriesLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StandardXYSeriesLabelGenerator g1
            = new StandardXYSeriesLabelGenerator("Series {0}");
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardCategoryItemLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StandardCategoryItemLabelGenerator g1
            = new StandardCategoryItemLabelGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:IntervalCategoryToolTipGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    IntervalCategoryToolTipGenerator g1
            = new IntervalCategoryToolTipGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:BoxAndWhiskerXYToolTipGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    BoxAndWhiskerXYToolTipGenerator g1
            = new BoxAndWhiskerXYToolTipGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StandardPieSectionLabelGeneratorTest.java   
/**
 * Check to ensure that this class implements PublicCloneable.
 */
@Test
public void testPublicCloneable() {
    StandardPieSectionLabelGenerator g1
            = new StandardPieSectionLabelGenerator();
    assertTrue(g1 instanceof PublicCloneable);
}
项目:jfreechart    文件:DefaultOHLCDatasetTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    DefaultOHLCDataset d1 = new DefaultOHLCDataset("Series 1",
            new OHLCDataItem[0]);
    assertTrue(d1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYBarDatasetTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    DefaultXYDataset d1 = new DefaultXYDataset();
    double[] x1 = new double[] {1.0, 2.0, 3.0};
    double[] y1 = new double[] {4.0, 5.0, 6.0};
    double[][] data1 = new double[][] {x1, y1};
    d1.addSeries("S1", data1);
    XYBarDataset bd1 = new XYBarDataset(d1, 5.0);
    assertTrue(bd1 instanceof PublicCloneable);
}
项目:jfreechart    文件:DefaultHighLowDatasetTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    DefaultHighLowDataset d1 = new DefaultHighLowDataset("Series 1",
            new Date[0], new double[0], new double[0], new double[0],
            new double[0], new double[0]);
    assertTrue(d1 instanceof PublicCloneable);
}
项目:astor    文件:CategoryLineAnnotationTests.java   
/**
 * Checks that this class implements PublicCloneable.
 */
public void testPublicCloneable() {
    CategoryLineAnnotation a1 = new CategoryLineAnnotation(
            "Category 1", 1.0, "Category 2", 2.0, Color.red,
            new BasicStroke(1.0f));
    assertTrue(a1 instanceof PublicCloneable);
}
项目:astor    文件:XYPolygonAnnotationTests.java   
/**
 * Checks that this class implements PublicCloneable.
 */
public void testPublicCloneable() {
    Stroke stroke1 = new BasicStroke(2.0f);
    XYPolygonAnnotation a1 = new XYPolygonAnnotation(new double[] {1.0,
            2.0, 3.0, 4.0, 5.0, 6.0}, stroke1, Color.red, Color.blue);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:astor    文件:XYLineAnnotationTests.java   
/**
 * Checks that this class implements PublicCloneable.
 */
public void testPublicCloneable() {
    Stroke stroke = new BasicStroke(2.0f);
    XYLineAnnotation a1 = new XYLineAnnotation(10.0, 20.0, 100.0, 200.0,
            stroke, Color.blue);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:astor    文件:XYShapeAnnotationTests.java   
/**
 * Checks that this class implements PublicCloneable.
 */
public void testPublicCloneable() {
    XYShapeAnnotation a1 = new XYShapeAnnotation(
            new Rectangle2D.Double(1.0, 2.0, 3.0, 4.0),
            new BasicStroke(1.2f), Color.red, Color.blue);
    assertTrue(a1 instanceof PublicCloneable);
}
项目:astor    文件:XYBarDatasetTests.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
public void testPublicCloneable() {
    DefaultXYDataset d1 = new DefaultXYDataset();
    double[] x1 = new double[] {1.0, 2.0, 3.0};
    double[] y1 = new double[] {4.0, 5.0, 6.0};
    double[][] data1 = new double[][] {x1, y1};
    d1.addSeries("S1", data1);
    XYBarDataset bd1 = new XYBarDataset(d1, 5.0);
    assertTrue(bd1 instanceof PublicCloneable);
}
项目:astor    文件:DefaultHighLowDatasetTests.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
public void testPublicCloneable() {
    DefaultHighLowDataset d1 = new DefaultHighLowDataset("Series 1",
            new Date[0], new double[0], new double[0], new double[0],
            new double[0], new double[0]);
    assertTrue(d1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYErrorRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    XYErrorRenderer r1 = new XYErrorRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYBlockRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    XYBlockRenderer r1 = new XYBlockRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:HighLowRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    HighLowRenderer r1 = new HighLowRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYBarRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    XYBarRenderer r1 = new XYBarRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:StackedXYAreaRenderer2Test.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    StackedXYAreaRenderer2 r1 = new StackedXYAreaRenderer2();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:XYDifferenceRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    XYDifferenceRenderer r1 = new XYDifferenceRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}
项目:jfreechart    文件:YIntervalRendererTest.java   
/**
 * Verify that this class implements {@link PublicCloneable}.
 */
@Test
public void testPublicCloneable() {
    YIntervalRenderer r1 = new YIntervalRenderer();
    assertTrue(r1 instanceof PublicCloneable);
}