bibliothek.gui.dock.station.stack
Class TabContent

java.lang.Object
  extended by bibliothek.gui.dock.station.stack.TabContent

public class TabContent
extends Object

All the content of a single tab on a StackDockStation.

Author:
Benjamin Sigg

Constructor Summary
TabContent(Icon icon, String title, String tooltip)
          Creates a new set of data.
 
Method Summary
 Icon getIcon()
          Gets the icon of this tab.
 String getTitle()
          Gets the text of this tab.
 String getTooltip()
          Gets the tooltip of this tab
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabContent

public TabContent(Icon icon,
                  String title,
                  String tooltip)
Creates a new set of data.

Parameters:
icon - the icon of this tab
title - the text of this tab
tooltip - the tooltip of this tab
Method Detail

getIcon

public Icon getIcon()
Gets the icon of this tab.

Returns:
the icon, can be null

getTitle

public String getTitle()
Gets the text of this tab.

Returns:
the text, can be null

getTooltip

public String getTooltip()
Gets the tooltip of this tab

Returns:
the tooltip, can be null