Class ControlPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ControlPanel extends JPanel
A simple control panel for the NetworkLayoutDemoView. This panel contains checkboxes that allow the user to toggle various display options in the view, such as showing a "snap to" grid. The checkboxes are aligned to the left and styled with a medium font for better readability.
See Also:
  • Constructor Details

    • ControlPanel

      public ControlPanel(NetworkLayoutDemoView view)
      Construct a control panel for the given view.
      Parameters:
      view - the view to control