edu.northwestern.at.wordhoard.swing.calculator.widgets
Class TabbedPaneData

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.calculator.widgets.TabbedPaneData

public class TabbedPaneData
extends java.lang.Object

Holds information about a tabbed pane.


Field Summary
protected  javax.swing.border.Border border
          Tab border.
protected  javax.swing.JComponent component
          Tab component.
protected  javax.swing.Icon icon
          Tab icon.
protected  int index
          Tab index.
protected  javax.swing.JTabbedPane tabbedPane
          Tabbed pane.
protected  java.lang.String title
          Title.
protected  java.lang.String toolTip
          Tab tool tip.
 
Constructor Summary
TabbedPaneData(javax.swing.JTabbedPane tabbedPane, java.lang.String title, int index, javax.swing.Icon icon, java.lang.String toolTip, javax.swing.JComponent component, javax.swing.border.Border border)
          Create a tabbed pane data entry.
 
Method Summary
 javax.swing.border.Border getBorder()
          Return the border.
 javax.swing.JComponent getComponent()
          Return the component.
 javax.swing.Icon getIcon()
          Return the icon.
 int getIndex()
          Return the tab index.
 javax.swing.JTabbedPane getTabbedPane()
          Return the tabbed pane.
 java.lang.String getTitle()
          Return the title.
 java.lang.String getToolTip()
          Return the tool tip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tabbedPane

protected javax.swing.JTabbedPane tabbedPane
Tabbed pane.


title

protected java.lang.String title
Title.


index

protected int index
Tab index.


icon

protected javax.swing.Icon icon
Tab icon.


toolTip

protected java.lang.String toolTip
Tab tool tip.


component

protected javax.swing.JComponent component
Tab component.


border

protected javax.swing.border.Border border
Tab border.

Constructor Detail

TabbedPaneData

public TabbedPaneData(javax.swing.JTabbedPane tabbedPane,
                      java.lang.String title,
                      int index,
                      javax.swing.Icon icon,
                      java.lang.String toolTip,
                      javax.swing.JComponent component,
                      javax.swing.border.Border border)
Create a tabbed pane data entry.

Parameters:
tabbedPane - Tabbed pane.
title - Tab title.
index - Tab index.
icon - Tab icon.
toolTip - Tab tool tip.
component - Tab component.
border - Tab border.
Method Detail

getTabbedPane

public javax.swing.JTabbedPane getTabbedPane()
Return the tabbed pane.

Returns:
The tabbed pane.

getTitle

public java.lang.String getTitle()
Return the title.

Returns:
The title.

getIndex

public int getIndex()
Return the tab index.

Returns:
The tab index.

getIcon

public javax.swing.Icon getIcon()
Return the icon.

Returns:
The icon.

getToolTip

public java.lang.String getToolTip()
Return the tool tip.

Returns:
The tool tip.

getComponent

public javax.swing.JComponent getComponent()
Return the component.

Returns:
The component.

getBorder

public javax.swing.border.Border getBorder()
Return the border.

Returns:
The border.