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 "11 Controls, Composites, Groups, and Shells"

m (Class Shell)
(Class Shell)
Line 23: Line 23:
 
The current implementation of Shell comprises the following features:
 
The current implementation of Shell comprises the following features:
 
* get/set text (title bar caption)
 
* get/set text (title bar caption)
* style flags CLOSE, MIN, MAX, RESIZE, APPLICATION_MODAL (SYSTEM_MODAL and PRIMARY_MODAL probably won't be supported at all)
+
* style flags CLOSE, MIN, MAX, RESIZE
 +
* style APPLICATION_MODAL (in favor of SYSTEM_MODAL and PRIMARY_MODAL) that allows to build modal shells that block all other shells in the same browser window.
 
* ShellListener
 
* ShellListener

Revision as of 15:13, 29 January 2007

Back to RWTOverview

Class Control

Currently implemented:

  • visibility
  • enablement
  • tooltip text
  • colors
  • fonts
  • context menu
  • size, location and layout data
  • borders (style flags BORDER and FLAT)

Class Composite

Class Group

A basic implementation exists. The various SHADOW styles are not yet supported. Though API for changing the font exists as it is inherited from Control using those methods has not effect client-side.

Class Shell

In contrary to SWT, Shells in RWT do not represent browser windows, but reside in a browser window (which in turn is represented by class Display).

The current implementation of Shell comprises the following features:

  • get/set text (title bar caption)
  • style flags CLOSE, MIN, MAX, RESIZE
  • style APPLICATION_MODAL (in favor of SYSTEM_MODAL and PRIMARY_MODAL) that allows to build modal shells that block all other shells in the same browser window.
  • ShellListener

Back to the top