com.vaadin.client.ui.table
Class TableConnector

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

public class TableConnector
extends com.vaadin.client.ui.AbstractHasComponentsConnector
implements com.vaadin.client.Paintable, com.vaadin.client.DirectionalManagedLayout, com.vaadin.client.ui.PostLayoutListener

See Also:
Serialized Form

Constructor Summary
TableConnector()
           
 
Method Summary
 com.vaadin.shared.ui.table.TableState getState()
           
 com.vaadin.client.TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element)
           
 VScrollTable getWidget()
           
 boolean hasTooltip()
           
protected  void init()
           
 boolean isReadOnly()
           
 void layoutHorizontally()
           
 void layoutVertically()
           
 void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
           
 void postLayout()
           
 void showSavedContextMenu(VScrollTable.ContextMenuDetails savedContextMenu)
          Shows a saved row context menu if the row for the context menu is still visible.
 void updateCaption(com.vaadin.client.ComponentConnector component)
           
 void updateFromUIDL(com.vaadin.client.UIDL uidl, com.vaadin.client.ApplicationConnection client)
           
 
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
createWidget, delegateCaptionHandling, flush, getIcon, getLayoutManager, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetStyleNames
 
Methods inherited from class com.vaadin.client.ui.AbstractConnector
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, 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, getParent, getRpcImplementations, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, updateEnabledState
 
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
 

Constructor Detail

TableConnector

public TableConnector()
Method Detail

init

protected void init()
Overrides:
init in class com.vaadin.client.ui.AbstractConnector

updateFromUIDL

public void updateFromUIDL(com.vaadin.client.UIDL uidl,
                           com.vaadin.client.ApplicationConnection client)
Specified by:
updateFromUIDL in interface com.vaadin.client.Paintable

getWidget

public VScrollTable getWidget()
Specified by:
getWidget in interface com.vaadin.client.ComponentConnector
Overrides:
getWidget in class com.vaadin.client.ui.AbstractComponentConnector

updateCaption

public void updateCaption(com.vaadin.client.ComponentConnector component)
Specified by:
updateCaption in interface com.vaadin.client.HasComponentsConnector

layoutVertically

public void layoutVertically()
Specified by:
layoutVertically in interface com.vaadin.client.DirectionalManagedLayout

layoutHorizontally

public void layoutHorizontally()
Specified by:
layoutHorizontally in interface com.vaadin.client.DirectionalManagedLayout

postLayout

public void postLayout()
Specified by:
postLayout in interface com.vaadin.client.ui.PostLayoutListener

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface com.vaadin.client.ComponentConnector
Overrides:
isReadOnly in class com.vaadin.client.ui.AbstractComponentConnector

getState

public com.vaadin.shared.ui.table.TableState getState()
Specified by:
getState in interface com.vaadin.client.ComponentConnector
Specified by:
getState in interface com.vaadin.client.ServerConnector
Overrides:
getState in class com.vaadin.client.ui.AbstractComponentConnector

showSavedContextMenu

public void showSavedContextMenu(VScrollTable.ContextMenuDetails savedContextMenu)
Shows a saved row context menu if the row for the context menu is still visible. Does nothing if a context menu has not been saved.

Parameters:
savedContextMenu -

getTooltipInfo

public com.vaadin.client.TooltipInfo getTooltipInfo(com.google.gwt.dom.client.Element element)
Specified by:
getTooltipInfo in interface com.vaadin.client.ComponentConnector
Overrides:
getTooltipInfo in class com.vaadin.client.ui.AbstractComponentConnector

hasTooltip

public boolean hasTooltip()
Specified by:
hasTooltip in interface com.vaadin.client.ComponentConnector
Overrides:
hasTooltip in class com.vaadin.client.ui.AbstractComponentConnector

onConnectorHierarchyChange

public void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
Specified by:
onConnectorHierarchyChange in interface com.vaadin.client.ConnectorHierarchyChangeEvent.ConnectorHierarchyChangeHandler


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.