# Class ControlPanel

    java.lang.Object
       |
       +----java.awt.Component
               |
               +----java.awt.Container
                       |
                       +----java.awt.Panel
                               |
                               +----ControlPanel

class ControlPanel
extends Panel

Create a panel that contains a button for each of the parameter panels. Clicking on the buttons will cause the `CardLayout` manager in the `IndexPanel` to flip to the appropriate panel.

See Also:
  IndexPanel

##

ControlPanel()
  Create a new `GridLayout` manager and add the buttons.

##

action(Event, Object)
  Trap button clicks in the `ControlPanel` and flip to the appropriate card in the `IndexPanel`.
flushAllPanels()
  Call the `flushParameters()` method in each of the parameter classes.

##

ControlPanel

      public ControlPanel()

  Create a new `GridLayout` manager and add the buttons.

##

action

      public boolean action(Event evt,
                            Object arg)

  Trap button clicks in the `ControlPanel` and flip to the appropriate card in the `IndexPanel`.
  Overrides:
    action in class Component

flushAllPanels

      public void flushAllPanels()

  Call the `flushParameters()` method in each of the parameter classes.
  See Also:
    flushParameters, flushParameters, flushParameters, flushParameters, flushParameters, flushParameters