Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
7 Basic Controls
RWT will have the same behavior for all basic controls as SWT does. Currently there exists an incomplete implementation that provides basic functionality.
Class Label
Currently implemented:
- get/set text
- alignment (
LEFT
,CENTER
,RIGHT
) - SEPARATOR style, both horizontal and vertical with the same styles as supported by SWT:
SHADOW_NONE
,SHADOW_IN
,SHADOW_OUT
The API for setting images already exists but is not yet realized client-side.
Class Button
Currently implemented:
- the types
CHECK
,PUSH
,RADIO
- get/set text and image
- selection
- alignment (
LEFT
,CENTER
,RIGHT
) - SelectionListener
Class Text
Currently implemented:
- get/set text
- SINGLE, MULTI and PASSWORD styles
- READ_ONLY
Class List
Currently implemented:
- all selection-related methods
- handling of focused item
- all item operations
- control scroll behaviour similar to SWT via
H_SCROLL
andV_SCROLL
style flags: scroll never, scroll horizontal only, scroll vertical only, automatically scroll when necessary - SelectionListener
Class Combo
Currently Implemented:
- all selection-related methods
- all item operations
- SelectionListener