Type ScrolledComposite
Extends
Control.
RWT Scripting analoge to org.eclipse.swt.custom.ScrolledComposite
Constructor Attributes | Constructor Name and Description |
---|---|
The constructor is not public.
|
Method Attributes | Method Name and Description |
---|---|
Returns the 'origin', which is the receiver's scroll position.
|
|
setOrigin(x, y)
Sets the 'origin', which is the receiver's scroll position.
|
- Methods borrowed from class Control:
- addListener, forceFocus, getBackground, getCursor, getEnabled, getForeground, getToolTipText, getVisible, removeListener, setBackground, setEnabled, setForeground, setToolTipText, setVisible
- Methods borrowed from class Widget:
- getData, setData
- Events borrowed from class Control:
- Dispose, FocusIn, FocusOut, Hide, KeyDown, KeyUp, MouseDoubleClick, MouseDown, MouseEnter, MouseExit, MouseMove, MouseUp, MouseWheel, Paint, Show
Method Detail
{[int|int]}
getOrigin()
Returns the 'origin', which is the receiver's scroll position.
- Returns:
- {[int|int]} the origin
{int|int}
setOrigin(x, y)
Sets the 'origin', which is the receiver's scroll position.
- Parameters:
- x
- y
- Returns:
- {int|int} the origin