Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "1 Widget Fundamentals"

Line 1: Line 1:
'''What Is a Widget?'''
+
[[Comparison SWT / RWT|back to table of content]]
 +
 
 +
===What Is a Widget?===
  
 
TBD
 
TBD
  
'''Widget Hierarchy.'''
+
===Widget Hierarchy.===
  
 
RWT uses the same widget hierarchy as SWT. In addition the class  
 
RWT uses the same widget hierarchy as SWT. In addition the class  
 
<code>Widget</code> implements Adaptable.
 
<code>Widget</code> implements Adaptable.
  
'''Events and Listeners.'''
+
===Events and Listeners.===
  
 
RWT implements the SWT events as close as possible. Through
 
RWT implements the SWT events as close as possible. Through
Line 20: Line 22:
 
are missing.
 
are missing.
  
'''Application Data.'''
+
===Application Data.===
  
 
Works the same as in SWT.
 
Works the same as in SWT.
Line 26: Line 28:
 
implemented.
 
implemented.
  
'''Querying the Display.'''
+
===Querying the Display===
  
 
Though RWT provides a class Display as well and Widget provides the <code>getDisplay()</code> method, the meaning of Display in RWT is  
 
Though RWT provides a class Display as well and Widget provides the <code>getDisplay()</code> method, the meaning of Display in RWT is  
 
somewhat different.
 
somewhat different.
 
Display is described in more detail in the chapter [[5. Display.|Display]]
 
Display is described in more detail in the chapter [[5. Display.|Display]]

Revision as of 12:34, 8 January 2007

back to table of content

What Is a Widget?

TBD

Widget Hierarchy.

RWT uses the same widget hierarchy as SWT. In addition the class Widget implements Adaptable.

Events and Listeners.

RWT implements the SWT events as close as possible. Through the distributed nature of RWT e.g. key-stroke events with server-side turnarounds for event processing won't be available since the network latency is too big to make such events usefully applicable.

Currently RWT does not implement untyped Listeners as SWT does. Therefore all related methods (like Widget.notifyListeners(int,Event)) are missing.

Application Data.

Works the same as in SWT. All methods for both, named and unnamed application data, are implemented.

Querying the Display

Though RWT provides a class Display as well and Widget provides the getDisplay() method, the meaning of Display in RWT is somewhat different. Display is described in more detail in the chapter Display

Back to the top