Type Label
Extends
Control.
RWT Scripting analoge to org.eclipse.swt.widgets.Label
Constructor Attributes | Constructor Name and Description |
---|---|
Label()
The constructor is not public.
|
Method Attributes | Method Name and Description |
---|---|
getText()
Returns the widget text.
|
|
setText(text)
Sets the receivers text to the given string.
|
- Methods borrowed from class Control:
- forceFocus, getBackground, getCursor, getData, getEnabled, getForeground, getToolTipText, getVisible, setBackground, setData, setEnabled, setForeground, setToolTipText, setVisible
Method Detail
{string}
getText()
Returns the widget text.
- Returns:
- {string} the widget text
setText(text)
Sets the receivers text to the given string.
- Parameters:
- {string} text
- the new text