Package loggerForms

Class FormsTabPanel

java.lang.Object
loggerForms.FormsTabPanel
All Implemented Interfaces:
PamTabPanel

public class FormsTabPanel extends Object implements PamTabPanel
The top-level Logger GUI element -- a Tab in the swing GUI.
  • Constructor Details

    • FormsTabPanel

      public FormsTabPanel(FormsControl formsControl)
  • Method Details

    • getMainTabbedPane

      public LoggerTabbedPane getMainTabbedPane()
    • createMenu

      public JMenu createMenu(Frame parentFrame)
      Specified by:
      createMenu in interface PamTabPanel
      Returns:
      a JMeny for the panel
    • getPanel

      public JComponent getPanel()
      Specified by:
      getPanel in interface PamTabPanel
      Returns:
      Reference to a graphics component that can be added to the view. This will typically be a JPanel or a JInternalFrame;
    • getToolBar

      public JToolBar getToolBar()
      Specified by:
      getToolBar in interface PamTabPanel
      Returns:
      a JToolbas associated with this tab. This will only be displayed when the current tab is activated
    • createForms

      public void createForms()
    • setTabName

      public void setTabName(FormDescription formDescription)
      Set the name of a tab using the default name. These can change dynamically as subforms are added and removed.
      Parameters:
      formDescription -
    • setTabName

      public void setTabName(FormDescription formDescription, String newName)
      Set the name of a tab. These can change dynamically as subforms are added and removed.
      Parameters:
      formDescription -
      newName -
    • removeAllForms

      public void removeAllForms()
      Called when forms are to be regenerated.

      will remove all tabbed panes from the display.