|
||||||||||
| 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.ToolBar
net.xoetrope.swt.XToolBar
public class XToolBar
Draws a toolbar
Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt $Revision: 2.18 $
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swt.widgets.Control |
|---|
handle |
| Constructor Summary | |
|---|---|
XToolBar()
Constructs a new toolbar for the shell |
|
XToolBar(XCoolBar parent)
Constructs a new toolbar for a coolbar |
|
| Method Summary | |
|---|---|
void |
addSeparator()
Adds a separator to this item. |
void |
append(java.lang.Object o,
java.lang.String name)
Appends the object o to this item |
protected void |
checkSubclass()
Suppress the subclassing exception |
java.lang.Object |
getObject(java.lang.String name)
Get a child object by name |
void |
setAction(java.lang.Object action)
Set an Action for the toolbar - does nothing |
int |
setAttribute(java.lang.String attribName,
java.lang.Object attribValue)
Set one or more attributes of the component. |
void |
setDisplayAttributes()
Set the display attributes |
void |
setName(java.lang.String name)
Set the name of this object |
void |
setup()
Do any final setup needed |
| Methods inherited from class org.eclipse.swt.widgets.ToolBar |
|---|
computeSize, computeTrim, getItem, getItem, getItemCount, getItems, getRowCount, indexOf, setFont, setParent, setRedraw |
| 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 |
|---|
getClientArea, 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, 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 XToolBar()
public XToolBar(XCoolBar parent)
parent - parent coolbar| Method Detail |
|---|
protected void checkSubclass()
checkSubclass in class org.eclipse.swt.widgets.ToolBar
public int setAttribute(java.lang.String attribName,
java.lang.Object attribValue)
setAttribute in interface XAttributedComponentattribName - the name of the attributeattribValue - the value of the attribute
public void setAction(java.lang.Object action)
setAction in interface XAppenderaction - the action objectpublic void setup()
setup in interface XAppender
public void append(java.lang.Object o,
java.lang.String name)
append in interface XAppendero - the appended itemname - the name of the toolbarpublic void addSeparator()
addSeparator in interface XAppenderpublic java.lang.Object getObject(java.lang.String name)
getObject in interface XAppendername - the item name
public void setName(java.lang.String name)
setName in interface XAppendername - the item namepublic void setDisplayAttributes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||