Class GeometryExample.Display

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants
Enclosing class:
GeometryExample

public static class GeometryExample.Display extends ExampleUtils.ExampleFrame
Main frame for geometry examples.
See Also:
  • Constructor Details Link icon

    • Display Link icon

      public Display()
      Simple constructor.
  • Method Details Link icon

    • getMainPanel Link icon

      public Component getMainPanel()
      Returns the main panel which should be printed by the screenshot action.

      By default, it returns the content pane of this frame, but can be overriden in case the frame has a global scroll pane which would cut off any offscreen content.

      Overrides:
      getMainPanel in class ExampleUtils.ExampleFrame
      Returns:
      the main panel to print
    • paintConvexHull Link icon

      public void paintConvexHull()
      Paint a convex hull.