Class WindowListBoxDialog<T extends JInternalFrame>

Type Parameters:
T - Type of internal frame to be managed.
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class WindowListBoxDialog<T extends JInternalFrame> extends RetentiveDialog
Allow selection of a window.
list box
See Also:
  • Constructor Details

    • WindowListBoxDialog

      public WindowListBoxDialog(Window pOwner, ListModel pModel)
      Parameters:
      pOwner - Modal parent of dialog.
  • Method Details

    • getList

      public JList getList()
      List of windows.
    • getOkAction

      public SwingAction getOkAction()
      Set selection to highlighted value and hide dialog.
    • display

      public Collection<T> display()
      Let user pick a window. Return value is an immutable collection backed by dialog.
      Returns:
      Collection of frames or null if dialog is dialog is closed or 'Cancel' invoked.
    • getFrameTitle

      protected String getFrameTitle(T pFrame)