Class 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 Detail

      • CanvasFactory

        public CanvasFactory()
    • 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.