Class DockingTabRenderer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class DockingTabRenderer extends JPanel
A widget that can be used to render an icon, title and close button for JTabbedPane. You would use this class with the tabbed pane by calling JTabbedPane.setTabComponentAt(int, Component)
See Also:
  • Constructor Details

  • Method Details

    • installRenameAction

      public void installRenameAction(MouseListener listener)
    • setIcon

      public void setIcon(Icon icon)
    • setTitle

      public void setTitle(String tabTitle, String fullTitle)
    • getTabText

      public String getTabText()