Package plotter

Examples of plotter.PropertyTester


  }


  public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
    CompressingXYDataset dataset = createDataset(XYDimension.X);
    PropertyTester t = new PropertyTester(dataset);
    t.test("truncationPoint", -1.1, 0.0, 1.1);
    t.test("truncationOffset", 0, 1, 10);
    t.test("compressionScale", .1, 1.0, 10.0);
    t.test("compressionOffset", -10.0, 0.0, 10.0);
  }
View Full Code Here


    assertNull(line.getIndependentDimension());
  }


  public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
    PropertyTester t = new PropertyTester(line);
    t.test("stroke", null, new BasicStroke(1));
  }
View Full Code Here

    assertSame(foreground, label.getForeground());
  }


  public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
    PropertyTester p = new PropertyTester(new LinearXYAxis(XYDimension.X));
    p.test("textMargin", 0, 1);
    p.test("showLabels", true, false);
    p.test("minorTickLength", 0, 1);
    p.test("majorTickLength", 0, 1);
    p.test("tickMarkCalculator", new IntegerTickMarkCalculator());
    p.test("format", new DecimalFormat("0.00"));
  }
View Full Code Here

  }


  public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
    SimpleXYDataset dataset = createDataset(null);
    PropertyTester t = new PropertyTester(dataset);
    t.test("maxCapacity", 1, Integer.MAX_VALUE);
    t.test("XData", new DoubleDataDouble(), null);
    t.test("YData", new DoubleDataDouble(), null);
  }
View Full Code Here

    };
  }


  public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
    PropertyTester t = new PropertyTester(line);
    t.test("pointFill", null, new GeneralPath());
    t.test("pointOutline", null, new GeneralPath());
  }
View Full Code Here

TOP

Related Classes of plotter.PropertyTester

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.