|
|
(One intermediate revision by the same user not shown) |
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. |
− | | + | |
− | ===Classes ToolBar and ToolItem===
| + | |
− | Almost feature-complete.
| + | |
− | | + | |
− | Except for <code>setHotImage</code> and <code>setDisabledImage</code> all attributes work as in SWT. Even though you cannot set a distinct disabled image yet, a ToolItem displays its image dimmed when it is in disabled state.
| + | |
− | | + | |
− | ===Classes Menu and MenuItem===
| + | |
− | The implementation of Menu and MenuItem is almost feature-complete.
| + | |
− | The class Menu yet lacks the <code>defaultItem</code> attribute.
| + | |
− | | + | |
− | ===== Listeners for Menus =====
| + | |
− | The <code>MenuListener</code> is now implemented. While the menuShown event is processed, a preliminary menu is displayed to signal that the menu is loading. The preliminary menu only appears for pop-up and drop-down menus that have a MenuListener attached.
| + | |
− | | + | |
− | ===== Listeners for MenuItems =====
| + | |
− | As of now there is only the <code>SelectionListener</code> on <code>MenuItem</code> available.
| + | |
− | More listeners are to come.
| + | |
− | | + | |
− | ===== Menu Visibility =====
| + | |
− | The results of the methods <code>getVisible</code> and <code>isVisible</code> slightly differs from SWT for pop-up and drop-down menus, since the active menu on the client is not always known on the server side.
| + | |
− | For pop-up items, both methods returns <code>true</code> only if the menu has been opened programmatically using <code>setLocation</code> and <code>setVisible</code>.
| + | |
− | For drop-down menus, both methods return <code>false</code> in RWT.
| + | |
− | Menu bars behave the same as in SWT.
| + | |
Latest revision as of 06:31, 7 January 2014
This page was obsolete and has been deleted. Please see the history if you need to access the content.