|
|
Line 1: |
Line 1: |
− | [[Comparison SWT / RWT|Back to RWTOverview]]
| + | This page was obsolete and has been deleted. Please see the history if you need to access the content. |
− | | + | |
− | ===Bounds===
| + | |
− | Bounds work the same as in SWT.
| + | |
− | | + | |
− | ===Client Area===
| + | |
− | The client area will work the same as in SWT.
| + | |
− | The method <code>getClientArea()</code> exists, but currently uses a very limited algorithm. This will change in the future.
| + | |
− | | + | |
− | ===Moving and Resizing===
| + | |
− | All the location and dimension methods work the same as in SWT.
| + | |
− | | + | |
− | Currently, the only control that can be moved or resized by the user is Shell.
| + | |
− | Resize events are already sent, sending move events is not yet implemented but will be done in the future.
| + | |
− | | + | |
− | ===Visibility===
| + | |
− | Implemented, works the same as in SWT.
| + | |
− | | + | |
− | ===Z-Order===
| + | |
− | Implemented, works the same as in SWT.
| + | |
− | | + | |
− | ===Enabling and Disabling===
| + | |
− | Implemented except for Table (cannot be disabled yet) and Tree (does not gray out items when disabled).
| + | |
− | For all other controls, disabling works just like in SWT.
| + | |
− | | + | |
− | ===Preferred Size===
| + | |
− | The preferred size calculation is used in many layouts to use the available space effectively. When layouting text the preferred size calculation calls the underlying operating system to determine the size of text strings. Calling the operating system is not possible with RAP, but we can use JavaScript to determine the text size. To avoid multiple request / response cycles during the layout process (which is taking place on the server side with RAP) we plan to implement a sophisticated system of text probing and application wide text / size storage.
| + | |
− | | + | |
− | See also [[WidgetToolkit#Challenges]]
| + | |
− | | + | |
− | ===Painting===
| + | |
− | Not yet available. Painting is based on the Graphics Context, see [[16._Graphics_Fundamentals.]]
| + | |
− | | + | |
− | ===Repainting and Resizing===
| + | |
− | not planned
| + | |
− | | + | |
− | ===Filling the Background===
| + | |
− | not applicable
| + | |
This page was obsolete and has been deleted. Please see the history if you need to access the content.