Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "7 Basic Controls"
(→Class Label) |
m (→Class List) |
||
Line 32: | Line 32: | ||
* handling of focused item | * handling of focused item | ||
* all item operations | * all item operations | ||
+ | * control scroll behaviour similar to SWT via <code>H_SCROLL</code> and <code>V_SCROLL</code> style flags: scroll never, scroll horizontal only, scroll vertical only, automatically scroll when necessary | ||
* SelectionListener | * SelectionListener | ||
Revision as of 15:36, 21 January 2007
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
- SelectionListener
Class Text
Currently implemented:
- get/set text
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