|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
org.eclipse.swt.widgets.TabFolder
net.xoetrope.swt.XTabPanel
public class XTabPanel
A tab panel.
Copyright (c) Xoetrope Ltd., 2002-2004
$Revision: 2.4 $
License: see License.txt
Field Summary |
---|
Fields inherited from class org.eclipse.swt.widgets.Control |
---|
handle |
Constructor Summary | |
---|---|
XTabPanel(java.lang.Object parent)
Create a new table |
Method Summary | |
---|---|
org.eclipse.swt.widgets.Control |
add(org.eclipse.swt.widgets.Control comp)
Add a new tab. |
void |
addTab(java.lang.String title,
java.lang.String tooltip,
org.eclipse.swt.widgets.Control panel)
Add a new tab. |
protected void |
checkSubclass()
Suppress the subclassing exception |
int |
setAttribute(java.lang.String attribName,
java.lang.Object attribValue)
Set one or more attributes of the component. |
Methods inherited from class org.eclipse.swt.widgets.TabFolder |
---|
addSelectionListener, computeSize, computeTrim, getClientArea, getItem, getItemCount, getItems, getSelection, getSelectionIndex, indexOf, removeSelectionListener, setFont, setSelection, setSelection, setSelection |
Methods inherited from class org.eclipse.swt.widgets.Composite |
---|
changed, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
---|
getHorizontalBar, getVerticalBar |
Methods inherited from class org.eclipse.swt.widgets.Control |
---|
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, computeSize, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update |
Methods inherited from class org.eclipse.swt.widgets.Widget |
---|
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XTabPanel(java.lang.Object parent)
parent
- parent objectMethod Detail |
---|
protected void checkSubclass()
checkSubclass
in class org.eclipse.swt.widgets.TabFolder
public org.eclipse.swt.widgets.Control add(org.eclipse.swt.widgets.Control comp)
add
in interface Addable
comp
- The component to add
public void addTab(java.lang.String title, java.lang.String tooltip, org.eclipse.swt.widgets.Control panel)
name
- the name/caption of the tab componentpanel
- the contentpublic int setAttribute(java.lang.String attribName, java.lang.Object attribValue)
setAttribute
in interface XAttributedComponent
attribName
- the name of the attributeattribValue
- the value of the attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |