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.

@FunctionalInterface public static interface EnhancedTabbedPane.DetachedWindowFactory
  • 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 window
      icon - The icon for the detached window
      component - The component to be displayed in the detached window
      size - The preferred size for the window
      location - The screen location where the window should appear
      Returns:
      A Window instance to use, or null to use default window creation