com.vaadin.terminal.gwt.client
Class WidgetSet

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.WidgetSet

public class WidgetSet
extends Object


Constructor Summary
WidgetSet()
           
 
Method Summary
 ServerConnector createConnector(int tag, ApplicationConfiguration conf)
          Create an uninitialized connector that best matches given UIDL.
 Class<? extends ServerConnector> getConnectorClassByTag(int tag, ApplicationConfiguration conf)
          Due its nature, GWT does not support dynamic classloading.
 Class<? extends ServerConnector>[] getDeferredLoadedConnectors()
           
 void loadImplementation(Class<? extends ServerConnector> nextType)
           
protected  Class<? extends ServerConnector> resolveConnectorType(int tag, ApplicationConfiguration conf)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetSet

public WidgetSet()
Method Detail

createConnector

public ServerConnector createConnector(int tag,
                                       ApplicationConfiguration conf)
Create an uninitialized connector that best matches given UIDL. The connector must implement ServerConnector.

Parameters:
tag - connector type tag for the connector to create
conf - the application configuration to use when creating the connector
Returns:
New uninitialized and unregistered connector that can paint given UIDL.

resolveConnectorType

protected Class<? extends ServerConnector> resolveConnectorType(int tag,
                                                                ApplicationConfiguration conf)

getConnectorClassByTag

public Class<? extends ServerConnector> getConnectorClassByTag(int tag,
                                                               ApplicationConfiguration conf)
Due its nature, GWT does not support dynamic classloading. To bypass this limitation, widgetset must have function that returns Class by its fully qualified name.

Parameters:
tag -
applicationConfiguration -
Returns:

getDeferredLoadedConnectors

public Class<? extends ServerConnector>[] getDeferredLoadedConnectors()

loadImplementation

public void loadImplementation(Class<? extends ServerConnector> nextType)


Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.