Package megamek.common.ui
Class DetachedTabInfo
java.lang.Object
megamek.common.ui.DetachedTabInfo
Information about a detached tab, including its title, icon, and the component it contains.
-
Constructor Summary
ConstructorsConstructorDescriptionDetachedTabInfo(String title, Icon icon, Component component, Window wrapperComponent, int originalIndex, boolean isCloseableTab) Creates a new DetachedTabInfo instance -
Method Summary
-
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 tabicon- Icon for the tabcomponent- Component to be displayed in the tabwrapperComponent- The window that wraps the taboriginalIndex- The original index of the tab in the source paneisCloseableTab- Whether the tab is closeable
-
-
Method Details
-
getComponent
-