Package megamek.common.ui
Interface EnhancedTabbedPane.DetachedWindowFactory
- Enclosing class:
EnhancedTabbedPane
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
createDetachedWindow
Window createDetachedWindow(String title, Icon icon, Component component, Dimension size, Point location) Creates a custom window for detached tabs- Parameters:
title- The title for the detached windowicon- The icon for the detached windowcomponent- The component to be displayed in the detached windowsize- The preferred size for the windowlocation- The screen location where the window should appear- Returns:
- A Window instance to use, or null to use default window creation
-