edu.jhu.tmaj.client.tables
Class DetachableIndicesDialog

java.lang.Object
  extended by edu.jhu.tmaj.client.tables.DetachableIndicesDialog

final class DetachableIndicesDialog
extends java.lang.Object

A Dialog that displays a List of TabGroups as a list of JCheckBoxes. This dialog is disabled when the user wants to "split" a JTabbedPane into several windows. Checking the checkBox of one of the TabGroups indicates that the component should have a window created for it. If the checkBox is unchecked when the split happens, its tabGroup will not be displayed.


Method Summary
(package private) static DetachableIndicesDialog getInstance(java.util.List<TabGroup> tabGroupList, java.awt.Component component)
          Get an instance of this object.
(package private)  java.util.Set<java.lang.String> showDialog()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

static DetachableIndicesDialog getInstance(java.util.List<TabGroup> tabGroupList,
                                           java.awt.Component component)
Get an instance of this object.

Parameters:
tabGroupList - a List of TabGroups that the parentComponent contains. The component may be split up into several windows, with each window having one TabGoup.
parentComponent - the component which currently contains the TabGroups. (The ParentComponent is generally a JTabbedPane, which each tab representing a TabGroup.

showDialog

java.util.Set<java.lang.String> showDialog()