Package loggerForms

Class LoggerTabbedPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, SwingConstants, ColorManaged

public class LoggerTabbedPane extends PamTabbedPane implements ColorManaged
Adaptation of TabbedPane to provide a bit of extra support for logger forms, such as mouse click actions on the tabs themselves, etc. different colours
Author:
Doug Gillespie
See Also:
  • Constructor Details

    • LoggerTabbedPane

      public LoggerTabbedPane(FormsControl formsControl)
  • Method Details

    • getColorId

      public PamColors.PamColor getColorId()
      Description copied from interface: ColorManaged
      The components colour scheme.
      Specified by:
      getColorId in interface ColorManaged
      Overrides:
      getColorId in class PamTabbedPane
      Returns:
      PamColor
    • findFormDescription

      public FormDescription findFormDescription(int tabIndex)
      Find the form description for a particular tab.
      Parameters:
      tabIndex - tab index
      Returns:
      form description or null (should only happen if index invalid input: '<' 0)
    • findTabIndex

      public int findTabIndex(FormDescription formDescription)
      Find the tab index for a particular component.
      Parameters:
      formDescription - A form description
      Returns:
      tab index or -1 if tab cannot be found
    • removeTab

      public boolean removeTab(FormDescription formDescription)