|
Eclipse Platform Release 3.0 | ||||||||||
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.custom.ScrolledComposite
org.eclipse.ui.forms.widgets.SharedScrolledComposite
This class is used to provide common scrolling services to a number of controls in the toolkit. Classes that extend it are not required to implement any method.
Field Summary |
Fields inherited from class org.eclipse.swt.widgets.Control |
handle |
Constructor Summary | |
SharedScrolledComposite(Composite parent,
int style)
Creates the new instance. |
Method Summary | |
void | reflow(boolean flushCache)
Recomputes the body layout and the scroll bars. |
void | setBackground(Color bg)
Sets the background of the control and its content. |
void | setContent(Control content)
Overrides 'super' to pass the proper colors and font |
boolean | setFocus()
If content is set, transfers focus to the content. |
void | setFont(Font font)
Sets the font of the form. |
void | setForeground(Color fg)
Sets the foreground of the control and its content. |
Methods inherited from class org.eclipse.swt.custom.ScrolledComposite |
computeSize, getAlwaysShowScrollBars, getContent, getOrigin, layout, setAlwaysShowScrollBars, setExpandHorizontal, setExpandVertical, setLayout, setMinHeight, setMinSize, setMinSize, setMinWidth, setOrigin, setOrigin |
Methods inherited from class org.eclipse.swt.widgets.Composite |
checkSubclass, getChildren, getLayout, getTabList, layout, setTabList |
Methods inherited from class org.eclipse.swt.widgets.Scrollable |
computeTrim, getClientArea, getHorizontalBar, getVerticalBar |
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 SharedScrolledComposite(Composite parent, int style)
Method Detail |
public void setForeground(Color fg)
public void setBackground(Color bg)
public void setFont(Font font)
public void setContent(Control content)
public boolean setFocus()
public void reflow(boolean flushCache)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.