com.vaadin.client
Class WidgetSet

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

public class WidgetSet
extends java.lang.Object


Constructor Summary
WidgetSet()
           
 
Method Summary
 ServerConnector createConnector(int tag, ApplicationConfiguration conf)
          Create an uninitialized connector that best matches given UIDL.
 void ensureConnectorLoaded(int tag, ApplicationConfiguration conf)
          Due its nature, GWT does not support dynamic classloading.
protected  java.lang.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 java.lang.Class<? extends ServerConnector> resolveConnectorType(int tag,
                                                                          ApplicationConfiguration conf)

ensureConnectorLoaded

public void ensureConnectorLoaded(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 -


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