Package org.eclipse.rap.rwt.widgets
Class WidgetUtil
java.lang.Object
org.eclipse.rap.rwt.widgets.WidgetUtil
Helper class to access RWT specific properties of widgets.
- Since:
- 2.3
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringReturns the protocol ID of the given widget.static voidregisterDataKeys(String... keys) Adds keys to the list of widget data keys to be synchronized with the client.
- 
Method Details- 
getIdReturns the protocol ID of the given widget.- Parameters:
- widget- the widget to obtain the id for, must not be- null
- Returns:
- the id for the given widget
 
- 
registerDataKeysAdds keys to the list of widget data keys to be synchronized with the client. It is save to add the same key twice, there are no side-effects. The method has to be called from the UI thread and affects the entire UI-session. The data is only transferred from server to client, not back.- Parameters:
- keys- The keys to add to the list.
- See Also:
 
 
-