jigcell.compare.ui
Class CompareFrontEnd.FrontEndTabInfo

java.lang.Object
  extended by jigcell.compare.impl.Compare.TabInfo
      extended by jigcell.compare.ui.CompareFrontEnd.FrontEndTabInfo
Enclosing class:
CompareFrontEnd

protected static class CompareFrontEnd.FrontEndTabInfo
extends Compare.TabInfo

Information about a Comparator tab.


Field Summary
private  javax.swing.JDialog about
          About the tab
private  ITabAccessory accessory
          Tab accessory
private  IConfigEditor config
          Configures the tab
private  javax.swing.JMenu[] menus
          Tab menus
private  javax.swing.JButton[] tools
          Tab toolbar tools
 
Constructor Summary
CompareFrontEnd.FrontEndTabInfo(ITab tab, javax.swing.JMenu[] menus, javax.swing.JButton[] tools, javax.swing.JDialog about, IConfigEditor config)
          Creates a new tab description.
 
Method Summary
 javax.swing.JDialog getAbout()
          About the tab.
 ITabAccessory getAccessory()
          The tab accessory.
 IConfigEditor getConfigEditor()
          Configures the tab.
 javax.swing.JMenu[] getMenus()
          The tab menus.
 javax.swing.JButton[] getTools()
          The tab toolbar tools.
 void setAccessory(ITabAccessory accessory)
          Sets the tab accessory.
 
Methods inherited from class jigcell.compare.impl.Compare.TabInfo
getName, getTab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

config

private final IConfigEditor config
Configures the tab


tools

private final javax.swing.JButton[] tools
Tab toolbar tools


about

private final javax.swing.JDialog about
About the tab


menus

private final javax.swing.JMenu[] menus
Tab menus


accessory

private ITabAccessory accessory
Tab accessory

Constructor Detail

CompareFrontEnd.FrontEndTabInfo

public CompareFrontEnd.FrontEndTabInfo(ITab tab,
                                       javax.swing.JMenu[] menus,
                                       javax.swing.JButton[] tools,
                                       javax.swing.JDialog about,
                                       IConfigEditor config)
Creates a new tab description.

Parameters:
tab - Tab
menus - Tab menus
tools - Tab toolbar tools
about - About dialog for the tab
config - Configure dialog the tab
Method Detail

getAbout

public javax.swing.JDialog getAbout()
About the tab.


getAccessory

public ITabAccessory getAccessory()
The tab accessory.


getConfigEditor

public IConfigEditor getConfigEditor()
Configures the tab.


getMenus

public javax.swing.JMenu[] getMenus()
The tab menus.


getTools

public javax.swing.JButton[] getTools()
The tab toolbar tools.


setAccessory

public void setAccessory(ITabAccessory accessory)
Sets the tab accessory. If the accessory is null, the default accessory will be used.

Parameters:
accessory - Tab accessory