Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "7 Basic Controls"

m
m (Class Text)
Line 25: Line 25:
 
Currently implemented:
 
Currently implemented:
 
* get/set text
 
* get/set text
 +
* SINGLE, MULTI and PASSWORD styles
 +
* READ_ONLY
  
 
===Class List===
 
===Class List===

Revision as of 12:16, 22 January 2007

Back to RWTOverview

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 and V_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

Back to the top