| net.xoetrope.awt.XPanel net.xoetrope.awt.XTabPanel
XTabPanel | public class XTabPanel extends XPanel implements MouseListener(Code) | | A tab panel. The methods are modelled on the JTabbedPane
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt
$Revision: 1.10 $
|
selIdx | protected int selIdx(Code) | | |
XTabPanel | public XTabPanel()(Code) | | |
add | public Component add(Component comp)(Code) | | Add a new tab.
The add method could not be overloaded so this method adds does the
equivalent.
Parameters: name - the name/caption of the tab component Parameters: panel - the content |
addTab | public void addTab(String name, Component panel)(Code) | | Add a new tab.
The add method could not be overloaded so this method adds does the
equivalent.
Parameters: name - the name/caption of the tab component Parameters: panel - the content |
getBackgroundAt | public Color getBackgroundAt(int index)(Code) | | |
getForegroundAt | public Color getForegroundAt(int index)(Code) | | |
getSelectedIndex | public int getSelectedIndex()(Code) | | |
getTabCount | public int getTabCount()(Code) | | |
mouseClicked | public void mouseClicked(MouseEvent e)(Code) | | Invoked when the mouse button has been clicked (pressed
and released) on a component.
|
mouseEntered | public void mouseEntered(MouseEvent e)(Code) | | Invoked when the mouse enters a component.
|
mouseExited | public void mouseExited(MouseEvent e)(Code) | | Invoked when the mouse exits a component.
|
mousePressed | public void mousePressed(MouseEvent e)(Code) | | Invoked when a mouse button has been pressed on a component.
|
mouseReleased | public void mouseReleased(MouseEvent e)(Code) | | Invoked when a mouse button has been released on a component.
|
setBackgroundAt | public void setBackgroundAt(int index, Color clr)(Code) | | |
setDrawFrame | public void setDrawFrame(int value)(Code) | | Toggle the frame display. The frame is drawn around the content pane
Parameters: val - 0 for no frame, 1 for a bevel, 2 for a flat frame |
setForegroundAt | public void setForegroundAt(int index, Color clr)(Code) | | |
setSelectedIndex | public void setSelectedIndex(int index)(Code) | | |
setTitleAt | public void setTitleAt(int index, String str)(Code) | | |
|
|