com.limegroup.gnutella.gui.tabs
Class ConnectionsTab

java.lang.Object
  extended bycom.limegroup.gnutella.gui.tabs.AbstractTab
      extended bycom.limegroup.gnutella.gui.tabs.ConnectionsTab
All Implemented Interfaces:
Tab, ThemeObserver

public final class ConnectionsTab
extends com.limegroup.gnutella.gui.tabs.AbstractTab

This class contains access to the connections tab properties.


Field Summary
protected  int INDEX
          Constant for the index of this tab.
 
Constructor Summary
ConnectionsTab(ComponentMediator CONNECTION_MEDIATOR)
          Construcs the connections tab.
 
Method Summary
 javax.swing.JComponent getComponent()
          Returns the JComponent instance containing all of the UI elements for the tab.
 javax.swing.Icon getIcon()
          Returns the Icon instance for the tab.
 int getIndex()
          Returns the index of the tab.
 java.lang.String getTitle()
          Returns the title of the tab as it's displayed to the user.
 java.lang.String getToolTip()
          Returns the tooltip text for the tab.
 void storeState(boolean visible)
          Stores the visible/invisible state of the tab to disk.
 java.lang.String toString()
           
 void updateTheme()
          Update any required theme settings, such as colors or images.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INDEX

protected final int INDEX
Constant for the index of this tab.

Constructor Detail

ConnectionsTab

public ConnectionsTab(ComponentMediator CONNECTION_MEDIATOR)
Construcs the connections tab.

Parameters:
CONNECTION_MEDIATOR - the ConectionMediator instance
Method Detail

storeState

public void storeState(boolean visible)
Description copied from interface: Tab
Stores the visible/invisible state of the tab to disk.


getComponent

public javax.swing.JComponent getComponent()
Description copied from interface: Tab
Returns the JComponent instance containing all of the UI elements for the tab.


updateTheme

public void updateTheme()
Description copied from interface: ThemeObserver
Update any required theme settings, such as colors or images.

Specified by:
updateTheme in interface ThemeObserver

getTitle

public java.lang.String getTitle()
Description copied from interface: Tab
Returns the title of the tab as it's displayed to the user.

Specified by:
getTitle in interface Tab
Returns:
the title of the tab as it's displayed to the user

getToolTip

public java.lang.String getToolTip()
Description copied from interface: Tab
Returns the tooltip text for the tab.

Specified by:
getToolTip in interface Tab
Returns:
the tooltip text for the tab

getIcon

public javax.swing.Icon getIcon()
Description copied from interface: Tab
Returns the Icon instance for the tab.

Specified by:
getIcon in interface Tab
Returns:
the Icon instance for the tab

getIndex

public int getIndex()
Description copied from interface: Tab
Returns the index of the tab. This is the fixed index for the tab, or it's position in the tab order, and not it's displayed index.

Specified by:
getIndex in interface Tab
Returns:
the fixed index of the tab

toString

public java.lang.String toString()