Class EnhancedTabbedPane.DetachedTabInfo

java.lang.Object
megamek.common.EnhancedTabbedPane.DetachedTabInfo
Enclosing class:
EnhancedTabbedPane

public static class EnhancedTabbedPane.DetachedTabInfo extends Object
Information about a detached tab, including its title, icon, and the component it contains.
  • Constructor Details

    • DetachedTabInfo

      public DetachedTabInfo(String title, Icon icon, Component component, Window wrapperComponent, int originalIndex, boolean isCloseableTab)
      Creates a new DetachedTabInfo instance
      Parameters:
      title - Title of the tab
      icon - Icon for the tab
      component - Component to be displayed in the tab
      wrapperComponent - The window that wraps the tab
      originalIndex - The original index of the tab in the source pane
      isCloseableTab - Whether the tab is closeable
  • Method Details

    • getComponent

      public Component getComponent()