com.vaadin.client.ui.treetable
Class TreeTableConnector

java.lang.Object
  extended by com.vaadin.client.ui.AbstractConnector
      extended by com.vaadin.client.ui.AbstractComponentConnector
          extended by com.vaadin.client.ui.AbstractFieldConnector
              extended by com.vaadin.client.ui.table.TableConnector
                  extended by com.vaadin.client.ui.treetable.TreeTableConnector
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, StateChangeEvent.StateChangeHandler, ComponentConnector, ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler, DirectionalManagedLayout, HasChildMeasurementHintConnector, HasComponentsConnector, Paintable, ServerConnector, ManagedLayout, PostLayoutListener, com.vaadin.shared.Connector, java.io.Serializable

public class TreeTableConnector
extends TableConnector

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.vaadin.client.HasChildMeasurementHintConnector
HasChildMeasurementHintConnector.ChildMeasurementHint
 
Field Summary
 
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
 
Constructor Summary
TreeTableConnector()
           
 
Method Summary
protected  VScrollTable.VScrollTableBody.VScrollTableRow getScrollTableRow(Element e)
           
 com.vaadin.shared.ui.treetable.TreeTableState getState()
          Returns the shared state object for this connector.
 TooltipInfo getTooltipInfo(Element element)
          Gets the tooltip info for the given element.
 VTreeTable getWidget()
          Returns the widget associated with this paintable.
 void updateFromUIDL(UIDL uidl, ApplicationConnection client)
           
 
Methods inherited from class com.vaadin.client.ui.table.TableConnector
addConnectorHierarchyChangeHandler, getChildComponents, getChildMeasurementHint, hasTooltip, init, isReadOnly, layoutHorizontally, layoutVertically, onConnectorHierarchyChange, onUnregister, postLayout, sendContextClickEvent, setChildComponents, setChildMeasurementHint, showSavedContextMenu, updateCaption, updateComponentSize, updateEnabledState
 
Methods inherited from class com.vaadin.client.ui.AbstractFieldConnector
isModified, isRequired, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
createWidget, delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, registerTouchHandlers, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateWidgetSize
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, unregisterRpc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.vaadin.client.ComponentConnector
delegateCaptionHandling, flush, getLayoutManager, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled
 
Methods inherited from interface com.vaadin.client.ServerConnector
addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getRpcImplementations, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Constructor Detail

TreeTableConnector

public TreeTableConnector()
Method Detail

updateFromUIDL

public void updateFromUIDL(UIDL uidl,
                           ApplicationConnection client)
Specified by:
updateFromUIDL in interface Paintable
Overrides:
updateFromUIDL in class TableConnector

getWidget

public VTreeTable getWidget()
Description copied from class: AbstractComponentConnector
Returns the widget associated with this paintable. The widget returned by this method must not changed during the life time of the paintable.

Specified by:
getWidget in interface ComponentConnector
Overrides:
getWidget in class TableConnector
Returns:
The widget associated with this paintable

getState

public com.vaadin.shared.ui.treetable.TreeTableState getState()
Description copied from class: AbstractConnector
Returns the shared state object for this connector. Override this method to define the shared state type for your connector.

Specified by:
getState in interface ComponentConnector
Specified by:
getState in interface ServerConnector
Overrides:
getState in class TableConnector
Returns:
the current shared state (never null)

getTooltipInfo

public TooltipInfo getTooltipInfo(Element element)
Description copied from interface: ComponentConnector
Gets the tooltip info for the given element.

When overriding this method, ComponentConnector.hasTooltip() should also be overridden to return true in all situations where this method might return a non-empty result.

Specified by:
getTooltipInfo in interface ComponentConnector
Overrides:
getTooltipInfo in class TableConnector
Parameters:
element - The element to lookup a tooltip for
Returns:
The tooltip for the element or null if no tooltip is defined for this element.

getScrollTableRow

protected VScrollTable.VScrollTableBody.VScrollTableRow getScrollTableRow(Element e)
Overrides:
getScrollTableRow in class TableConnector


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