Class ButtonTabbedPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class ButtonTabbedPane extends JPanel
This is a vast catchall class to old various utilities for doing GUI things.
Author:
IDV development team
See Also:
  • Field Details

    • BUTTON_FG_COLOR

      public static final Color BUTTON_FG_COLOR
      _more_
    • BUTTON_ON_COLOR

      public static final Color BUTTON_ON_COLOR
      _more_
    • BUTTON_LINE_COLOR

      public static final Color BUTTON_LINE_COLOR
      _more_
  • Constructor Details

    • ButtonTabbedPane

      public ButtonTabbedPane()
      _more_
    • ButtonTabbedPane

      public ButtonTabbedPane(int width)
      _more_
      Parameters:
      width - _more_
    • ButtonTabbedPane

      public ButtonTabbedPane(JComponent label)
      _more_
      Parameters:
      label - _more_
    • ButtonTabbedPane

      public ButtonTabbedPane(JComponent label, int width)
      _more_
      Parameters:
      label - _more_
      width - _more_
  • Method Details

    • getIcon

      public Image getIcon()
      _more_
      Returns:
      _more_
    • paintButton

      protected void paintButton(Graphics g, AbstractButton button)
      _more_
      Parameters:
      g - _more_
      button - _more_
    • imageUpdate

      public boolean imageUpdate(Image img, int flags, int x, int y, int width, int height)
      _more_
      Specified by:
      imageUpdate in interface ImageObserver
      Overrides:
      imageUpdate in class Component
      Parameters:
      img - _more_
      flags - _more_
      x - _more_
      y - _more_
      width - _more_
      height - _more_
      Returns:
      _more_
    • setSelectedIndex

      public void setSelectedIndex(int i)
      _more_
      Parameters:
      i - _more_
    • getTitleAt

      public String getTitleAt(int i)
      _more_
      Parameters:
      i - _more_
      Returns:
      _more_
    • show

      public void show(Component content)
      _more_
      Parameters:
      content - _more_
    • remove

      public void remove(JToggleButton button, Component contents)
      _more_
      Parameters:
      button - _more_
      contents - _more_
    • selectTabForComponent

      public void selectTabForComponent(Component comp)
      Select the tab that holds the component.
      Parameters:
      comp - component in the hierarchy of the tabs main component
    • addTab

      public JToggleButton addTab(String label, Component contents)
      _more_
      Parameters:
      label - _more_
      contents - _more_
      Returns:
      _more_
    • setDeleteEnabled

      public void setDeleteEnabled(boolean b)
      _more_
      Parameters:
      b - _more_
    • addTab

      public void addTab(JToggleButton button, Component contents)
      _more_
      Parameters:
      button - _more_
      contents - _more_