Package diva.canvas.test
Class JCanvasTest.CanvasFactory
- java.lang.Object
-
- diva.canvas.test.JCanvasTest.CanvasFactory
-
- Enclosing class:
- JCanvasTest
public static class JCanvasTest.CanvasFactory extends java.lang.Object
The canvas factory provides methods for default creation of canvas objects.
-
-
Constructor Summary
Constructors Constructor Description CanvasFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JCanvas
createJCanvas()
Create a canvas with the default paneJCanvas
createJCanvas(CanvasPane pane)
Create a canvas with the given pane.
-
-
-
Method Detail
-
createJCanvas
public JCanvas createJCanvas()
Create a canvas with the default pane
-
createJCanvas
public JCanvas createJCanvas(CanvasPane pane)
Create a canvas with the given pane.
-
-