Index

Global Objects

Types


Type Scale


Extends Control.
RWT Scripting analoge to org.eclipse.swt.widgets.Scale

Type Summary
Constructor Attributes Constructor Name and Description
 
Scale()
The constructor is not public.
Method Summary
Method Attributes Method Name and Description
 
Returns the maximum value which the receiver will allow.
 
Returns the minimum value which the receiver will allow.
 
Returns the 'selection', which is the receiver's position.
 
setSelection(selection)
Sets the 'selection', which is the receiver's value, to the argument which must be greater than or equal to zero.
Methods borrowed from class Control:
forceFocus, getBackground, getCursor, getData, getEnabled, getForeground, getToolTipText, getVisible, setBackground, setData, setEnabled, setForeground, setToolTipText, setVisible
Type Detail
Scale()
The constructor is not public.
Since:
2.2
Method Detail
{int} getMaximum()
Returns the maximum value which the receiver will allow.
Returns:
{int} the maximum

{int} getMinimum()
Returns the minimum value which the receiver will allow.
Returns:
{int} the minimum

{int} getSelection()
Returns the 'selection', which is the receiver's position.
Returns:
{int} the selection

setSelection(selection)
Sets the 'selection', which is the receiver's value, to the argument which must be greater than or equal to zero.
Parameters:
{int} selection
the new selection (must be zero or greater)

Copyright (c) EclipseSource and others 2013. All rights reserved.