Important Note
This class is intended to be subclassed only within the SWT implementation.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ScrollBar | |
| pack-priv static final boolean | RESIZE_ON_GETCLIENTAREA
See bug 484682 |
| pack-priv long | |
| pack-priv ScrollBar |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| public | Scrollable(Composite
a composite control which will be the parent of the new instance (cannot be null) parent, int the style of control to construct style)Constructs a new instance of this class given its parent and a style value describing its behavior and appearance. |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | Returns:
|
| pack-priv long | |
| public Rectangle | Returns: the required bounds to produce the given client areathe desired x coordinate of the client area x, int the desired y coordinate of the client area y, int the desired width of the client area width, int the desired height of the client area height)Given a desired client area for the receiver (as described by the arguments), returns the bounding rectangle which would be required to produce that client area. |
| pack-priv Rectangle | |
| pack-priv ScrollBar | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| public Rectangle | Returns: the client areaReturns a rectangle which describes the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings"). |
| pack-priv Rectangle | |
| public ScrollBar | Returns: the horizontal scroll bar (or null)Returns the receiver's horizontal scroll bar if it has one, and null if it does not. |
| public int | |
| public ScrollBar | Returns: the vertical scroll bar (or null)Returns the receiver's vertical scroll bar if it has one, and null if it does not. |
| pack-priv long | |
| pack-priv long | gtk_scroll_event(long widget, long eventPtr)
|
| private Point | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | redrawWidget(int x, int y, int width, int height, boolean redrawAll, boolean all, boolean trim)
Overrides org. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| private Point | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv long | |
| pack-priv void | |
| pack-priv void | |
| private Point | |
| pack-priv int |
| horizontalBar | back to summary |
|---|---|
| pack-priv ScrollBar horizontalBar | |
| RESIZE_ON_GETCLIENTAREA | back to summary |
|---|---|
| pack-priv static final boolean RESIZE_ON_GETCLIENTAREA See bug 484682 | |
| scrolledHandle | back to summary |
|---|---|
| pack-priv long scrolledHandle | |
| verticalBar | back to summary |
|---|---|
| pack-priv ScrollBar verticalBar | |
| Scrollable | back to summary |
|---|---|
| pack-priv Scrollable() Prevents uninitialized instances from being created outside the package. | |
| Scrollable | back to summary |
|---|---|
| public Scrollable(Composite parent, int style) Constructs a new instance of this class given its parent and a style value describing its behavior and appearance.
The style value is either one of the style constants defined in
class
| |
| applyThemeBackground | back to summary |
|---|---|
pack-priv int applyThemeBackground()
| |
| clientHandle | back to summary |
|---|---|
| pack-priv long clientHandle() | |
| computeTrim | back to summary |
|---|---|
| public Rectangle computeTrim(int x, int y, int width, int height) Given a desired client area for the receiver (as described by the arguments), returns the bounding rectangle which would be required to produce that client area. In other words, it returns a rectangle such that, if the receiver's bounds were set to that rectangle, the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings") would be the rectangle described by the arguments (relative to the receiver's parent).
| |
| computeTrimInPixels | back to summary |
|---|---|
| pack-priv Rectangle computeTrimInPixels(int x, int y, int width, int height) | |
| createScrollBar | back to summary |
|---|---|
| pack-priv ScrollBar createScrollBar(int style) | |
| createWidget | back to summary |
|---|---|
| pack-priv void createWidget(int index) Overrides org.
| |
| deregister | back to summary |
|---|---|
| pack-priv void deregister() Overrides org.
| |
| destroyScrollBar | back to summary |
|---|---|
| pack-priv void destroyScrollBar(ScrollBar bar) | |
| getBorderWidthInPixels | back to summary |
|---|---|
| pack-priv int getBorderWidthInPixels() Overrides org.
| |
| getClientArea | back to summary |
|---|---|
| public Rectangle getClientArea() Returns a rectangle which describes the area of the receiver which is capable of displaying data (that is, not covered by the "trimmings").
| |
| getClientAreaInPixels | back to summary |
|---|---|
| pack-priv Rectangle getClientAreaInPixels() | |
| getHorizontalBar | back to summary |
|---|---|
| public ScrollBar getHorizontalBar() Returns the receiver's horizontal scroll bar if it has one, and null if it does not.
| |
| getScrollbarsMode | back to summary |
|---|---|
| public int getScrollbarsMode() Returns the mode of the receiver's scrollbars. This will be
bitwise OR of one or more of the constants defined in class
| |
| getVerticalBar | back to summary |
|---|---|
| public ScrollBar getVerticalBar() Returns the receiver's vertical scroll bar if it has one, and null if it does not.
| |
| gtk_draw | back to summary |
|---|---|
| pack-priv long gtk_draw(long widget, long cairo) Overrides org.
| |
| gtk_scroll_event | back to summary |
|---|---|
| pack-priv long gtk_scroll_event(long widget, long eventPtr) Overrides org.
| |
| hScrollbarSize | back to summary |
|---|---|
| private Point hScrollbarSize() | |
| hScrollBarWidth | back to summary |
|---|---|
| pack-priv int hScrollBarWidth() | |
| redrawBackgroundImage | back to summary |
|---|---|
| pack-priv void redrawBackgroundImage() | |
| redrawWidget | back to summary |
|---|---|
| pack-priv void redrawWidget(int x, int y, int width, int height, boolean redrawAll, boolean all, boolean trim) Overrides org.
| |
| register | back to summary |
|---|---|
| pack-priv void register() Overrides org.
| |
| releaseChildren | back to summary |
|---|---|
| pack-priv void releaseChildren(boolean destroy) Overrides org.
| |
| releaseHandle | back to summary |
|---|---|
| pack-priv void releaseHandle() Overrides org.
| |
| resizeHandle | back to summary |
|---|---|
| pack-priv void resizeHandle(int width, int height) Overrides org.
| |
| reskinChildren | back to summary |
|---|---|
| pack-priv void reskinChildren(int flags) Overrides org.
| |
| scrollBarSize | back to summary |
|---|---|
| private Point scrollBarSize(long scrollBarHandle) | |
| sendLeaveNotify | back to summary |
|---|---|
| pack-priv boolean sendLeaveNotify() Overrides org.
| |
| setOrientation | back to summary |
|---|---|
| pack-priv void setOrientation(boolean create) Overrides org.
| |
| setScrollBarVisible | back to summary |
|---|---|
| pack-priv boolean setScrollBarVisible(ScrollBar bar, boolean visible) | |
| showWidget | back to summary |
|---|---|
| pack-priv void showWidget() Overrides org.
| |
| topHandle | back to summary |
|---|---|
| pack-priv long topHandle() Overrides org.
| |
| updateBackgroundMode | back to summary |
|---|---|
| pack-priv void updateBackgroundMode() Overrides org.
| |
| updateScrollBarValue | back to summary |
|---|---|
| pack-priv void updateScrollBarValue(ScrollBar bar) | |
| vScrollBarSize | back to summary |
|---|---|
| private Point vScrollBarSize() | |
| vScrollBarWidth | back to summary |
|---|---|
| pack-priv int vScrollBarWidth() | |