|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vaadin.terminal.gwt.client.ui.AbstractConnector
com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector
com.vaadin.terminal.gwt.client.ui.AbstractComponentContainerConnector
com.vaadin.terminal.gwt.client.ui.table.TableConnector
public class TableConnector
| Constructor Summary | |
|---|---|
TableConnector()
|
|
| Method Summary | |
|---|---|
protected com.google.gwt.user.client.ui.Widget |
createWidget()
Creates and returns the widget for this VPaintableWidget. |
AbstractFieldState |
getState()
Returns the shared state object for this connector. |
VScrollTable |
getWidget()
Returns the widget associated with this paintable. |
protected void |
init()
Called when the connector has been initialized. |
boolean |
isReadOnly()
Checks if the connector is read only. |
void |
layoutHorizontally()
|
void |
layoutVertically()
|
void |
postLayout()
|
void |
showSavedContextMenu(com.vaadin.terminal.gwt.client.ui.table.VScrollTable.ContextMenuDetails savedContextMenu)
Shows a saved row context menu if the row for the context menu is still visible. |
void |
updateCaption(ComponentConnector component)
Update child components caption, description and error message. |
void |
updateFromUIDL(UIDL uidl,
ApplicationConnection client)
|
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentContainerConnector |
|---|
addConnectorHierarchyChangeHandler, getChildren, onConnectorHierarchyChange, setChildren, setWidgetEnabled |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractComponentConnector |
|---|
delegateCaptionHandling, getLayoutManager, getParent, getStyleNames, hasEventListener, isEnabled, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onStateChanged, onUnregister, setParent, setState |
| Methods inherited from class com.vaadin.terminal.gwt.client.ui.AbstractConnector |
|---|
addStateChangeHandler, doInit, ensureHandlerManager, fireEvent, getConnection, getConnectorId, getRpcImplementations, isConnectorEnabled, registerRpc, 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.terminal.gwt.client.ComponentConnector |
|---|
delegateCaptionHandling, getLayoutManager, getParent, hasEventListener, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setParent, setWidgetEnabled |
| Methods inherited from interface com.vaadin.terminal.gwt.client.ServerConnector |
|---|
addStateChangeHandler, doInit, fireEvent, getConnection, getRpcImplementations, isEnabled, onUnregister, setState |
| Methods inherited from interface com.vaadin.terminal.gwt.client.Connector |
|---|
getConnectorId |
| Constructor Detail |
|---|
public TableConnector()
| Method Detail |
|---|
protected void init()
AbstractConnector
init in class AbstractConnector
public void updateFromUIDL(UIDL uidl,
ApplicationConnection client)
updateFromUIDL in interface Paintableprotected com.google.gwt.user.client.ui.Widget createWidget()
AbstractComponentConnector
createWidget in class AbstractComponentConnectorpublic VScrollTable getWidget()
AbstractComponentConnector
getWidget in interface ComponentConnectorgetWidget in class AbstractComponentConnectorpublic void updateCaption(ComponentConnector component)
ComponentContainerConnectorEach component is responsible for maintaining its caption, description and error message. In most cases components doesn't want to do that and those elements reside outside of the component. Because of this layouts must provide service for it's childen to show those elements for them.
updateCaption in interface ComponentContainerConnectorcomponent - Child component for which service is requested.public void layoutVertically()
layoutVertically in interface DirectionalManagedLayoutpublic void layoutHorizontally()
layoutHorizontally in interface DirectionalManagedLayoutpublic void postLayout()
postLayout in interface PostLayoutListenerpublic boolean isReadOnly()
ComponentConnector
isReadOnly in interface ComponentConnectorisReadOnly in class AbstractComponentConnectorpublic AbstractFieldState getState()
AbstractComponentConnector#createState() must be overridden.
getState in interface ComponentConnectorgetState in interface ConnectorgetState in class AbstractComponentConnectorpublic void showSavedContextMenu(com.vaadin.terminal.gwt.client.ui.table.VScrollTable.ContextMenuDetails savedContextMenu)
savedContextMenu -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||