fi.hut.tml.xsmiles.gui.components.awt
Class AWTTabbedPane

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.awt.AWTTabbedPane
All Implemented Interfaces:
XTabbedPane

public class AWTTabbedPane
extends java.lang.Object
implements XTabbedPane

Author:
honkkis

Field Summary
protected  java.awt.Container component
           
protected  int maxTabCount
           
protected  java.awt.Component tab
           
protected  int tabCount
           
 
Constructor Summary
AWTTabbedPane()
           
 
Method Summary
 void addTab(java.lang.String title, java.awt.Component component)
           
 java.awt.Component getComponent()
           
 int getMaxTabCount()
           
 java.awt.Component getSelectedComponent()
           
 int getSelectedIndex()
           
 int getTabCount()
           
 int indexOfComponent(java.awt.Component component)
           
 void remove(java.awt.Component c)
           
 void remove(int i)
           
 void setChangeListener(XChangeListener list)
           
 void setTitleAt(int index, java.lang.String tit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected java.awt.Container component

tabCount

protected int tabCount

maxTabCount

protected int maxTabCount

tab

protected java.awt.Component tab
Constructor Detail

AWTTabbedPane

public AWTTabbedPane()
Method Detail

getTabCount

public int getTabCount()
Specified by:
getTabCount in interface XTabbedPane

getMaxTabCount

public int getMaxTabCount()
Specified by:
getMaxTabCount in interface XTabbedPane

getSelectedIndex

public int getSelectedIndex()
Specified by:
getSelectedIndex in interface XTabbedPane

addTab

public void addTab(java.lang.String title,
                   java.awt.Component component)
Specified by:
addTab in interface XTabbedPane

remove

public void remove(java.awt.Component c)
Specified by:
remove in interface XTabbedPane

remove

public void remove(int i)
Specified by:
remove in interface XTabbedPane

getComponent

public java.awt.Component getComponent()
Specified by:
getComponent in interface XTabbedPane

setChangeListener

public void setChangeListener(XChangeListener list)
Specified by:
setChangeListener in interface XTabbedPane

getSelectedComponent

public java.awt.Component getSelectedComponent()
Specified by:
getSelectedComponent in interface XTabbedPane

indexOfComponent

public int indexOfComponent(java.awt.Component component)
Specified by:
indexOfComponent in interface XTabbedPane
Parameters:
component -
Returns:

setTitleAt

public void setTitleAt(int index,
                       java.lang.String tit)
Specified by:
setTitleAt in interface XTabbedPane
Parameters:
tit -


X-Smiles 1.2