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:
- 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
{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