com.itmill.toolkit.terminal.gwt.client
Class DefaultWidgetSet
java.lang.Object
com.itmill.toolkit.terminal.gwt.client.DefaultWidgetSet
- All Implemented Interfaces:
- com.google.gwt.core.client.EntryPoint, WidgetSet
public class DefaultWidgetSet
- extends Object
- implements WidgetSet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWidgetSet
public DefaultWidgetSet()
onModuleLoad
public void onModuleLoad()
- This is the entry point method. It will start the first
- Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint
createWidget
public com.google.gwt.user.client.ui.Widget createWidget(UIDL uidl)
- Description copied from interface:
WidgetSet
- Create an uninitialized component that best matches given UIDL.
- Specified by:
createWidget in interface WidgetSet
- Parameters:
uidl - UIDL to be painted with returned component.
- Returns:
- New uninitialized and unregistered component that can paint given
UIDL.
resolveWidgetTypeName
protected String resolveWidgetTypeName(UIDL uidl)
isCorrectImplementation
public boolean isCorrectImplementation(com.google.gwt.user.client.ui.Widget currentWidget,
UIDL uidl)
- Description copied from interface:
WidgetSet
- Test if the given component implementation conforms to UIDL.
- Specified by:
isCorrectImplementation in interface WidgetSet
- Parameters:
currentWidget - Current implementation of the componentuidl - UIDL to test against
- Returns:
- true iff createWidget would return a new component of the same
class than currentWidget
Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.