protected static SVGContainer newSVGContainer(final String id, final Group group, final boolean scalable, final LayoutContainer.Layout layout) { return new SVGContainer(id, group, scalable, layout); }
public static SVGContainer newSVGContainer(final String id, final Group group, final boolean scalable, final LayoutContainer.Layout layout) { return new SVGContainer(id, group, scalable, layout); }
@Before public void setup() throws Exception { this.svgGroup = new Group().setID("svgGroup1"); this.group = new Group().setID("parent"); this.rectangle = new Rectangle(10d, 10d); when(svgChild.getContainer()).thenReturn(svgGroup); this.parentShape = new SVGContainer("parent", group, false, null); this.tested = new SVGChildViewHandler(shapeView); }
@Before public void setup() throws Exception { group = new Group().setID("cont1"); rectangle = new Rectangle(10d, 10d).setID("rect1"); someShape = new SVGPrimitiveShape(rectangle); tested = new SVGContainer("cont1", group, true, LayoutContainer.Layout.BOTTOM); }
@Before public void setup() throws Exception { this.parent = new SVGContainer("parent", new Group().setID("parent"), false, null); rectangle = new Rectangle(10d, 10d); this.shape = new SVGPrimitiveShape(rectangle); this.childShape = new SVGPrimitiveShape(new Rectangle(10d, 10d)); this.child = new SVGBasicShapeViewImpl("svgChild1", childShape, 50d, 23d); this.tested = new SVGBasicShapeViewImpl("svg-test1", shape, 100, 340); }
@Before public void setup() throws Exception { this.parent = new SVGContainer("parent", new Group().setID("parent"), false, null); rectangle = new Rectangle(10d, 10d); this.childShape = new SVGPrimitiveShape(new Rectangle(10d, 10d)); this.child = new SVGBasicShapeViewImpl("svgChild1", childShape, 50d, 23d); this.shape = new SVGPrimitiveShape(rectangle); this.tested = new SVGShapeViewImpl("svg-test1", shape, 100, 340, false); }