jhomenet.gui.tab
Class Tab<H extends HomenetHardware>

java.lang.Object
  extended by jhomenet.gui.tab.Tab<H>
Direct Known Subclasses:
AbstractInfoTab, DataTableTab, PlotTab

public abstract class Tab<H extends HomenetHardware>
extends java.lang.Object

Filename: $Source: /cvsroot/jhomenet/files/src/jhomenet/gui/tab/Tab.java,v $ Description: {TODO: provide a class description}


Field Summary
protected  AbstractWindow parentWindow
          The actual parent window.
protected  java.lang.String tabName
          The name of the tab.
 
Constructor Summary
Tab(java.lang.String tabName, AbstractWindow parentWindow)
          Constructor.
 
Method Summary
abstract  void buildTab(H hardware)
          Build the tab.
 javax.swing.JPanel getPanel()
          Get the tab's panel object.
 java.lang.String getTabName()
          Get the tab name.
protected  void setPanel(javax.swing.JPanel panel)
          Set the tab's panel object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabName

protected java.lang.String tabName
The name of the tab.


parentWindow

protected AbstractWindow parentWindow
The actual parent window.

Constructor Detail

Tab

public Tab(java.lang.String tabName,
           AbstractWindow parentWindow)
Constructor.

Method Detail

getTabName

public java.lang.String getTabName()
Get the tab name.

Returns:
The tab's name

getPanel

public javax.swing.JPanel getPanel()
Get the tab's panel object.

Returns:
Tab's panel object

setPanel

protected void setPanel(javax.swing.JPanel panel)
Set the tab's panel object.

Parameters:
panel -

buildTab

public abstract void buildTab(H hardware)
Build the tab.



Copyright © 2004-2005 David Irwin. All Rights Reserved.