Class DnDTabbedPane

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

public class DnDTabbedPane extends JTabbedPane implements ITabbedPane

DnDTabbedPane class.

See Also:
  • Constructor Details

    • DnDTabbedPane

      public DnDTabbedPane(IBrowserPanel browserPanel)

      Constructor for DnDTabbedPane.

      Parameters:
      browserPanel - a IBrowserPanel object.
  • Method Details

    • setComponentPopupMenu

      public void setComponentPopupMenu(IBrowserPanel panel)
      Description copied from interface: ITabbedPane
      Associates a pop-up menu with the tabbed pane using the given panel as the pop-up menu's parent.
      Specified by:
      setComponentPopupMenu in interface ITabbedPane
      Parameters:
      panel - The parent to the pop-up menu to create.
    • insertTab

      public void insertTab(String title, Icon icon, Component component, String tip, int index)
      Description copied from interface: ITabbedPane
      Inserts a new tab into the panel at the given index.
      Specified by:
      insertTab in interface ITabbedPane
      Overrides:
      insertTab in class JTabbedPane
      Parameters:
      title - Descriptive tab title.
      icon - Small identifying icon.
      component - Parent component.
      tip - Tooltip.
      index - Zero-based index.