info.magnolia.ui.vaadin.gwt.client.form.connector
Class FormConnector

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.AbstractSingleComponentContainerConnector
                  extended by info.magnolia.ui.vaadin.gwt.client.form.connector.FormConnector
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.HasComponentsConnector, com.vaadin.client.ServerConnector, com.vaadin.shared.Connector, FormView.Presenter, Serializable

public class FormConnector
extends com.vaadin.client.ui.AbstractSingleComponentContainerConnector
implements FormView.Presenter

Client-side connector, a counter-part for Form.

See Also:
Serialized Form

Constructor Summary
FormConnector()
           
 
Method Summary
protected  FormState createState()
           
protected  com.google.gwt.user.client.ui.Widget createWidget()
           
 FormState getState()
           
protected  FormView getView()
           
protected  void init()
           
 void jumpToNextError(FormFieldWrapper fieldWrapper)
           
 void onConnectorHierarchyChange(com.vaadin.client.ConnectorHierarchyChangeEvent connectorHierarchyChangeEvent)
           
 void updateCaption(com.vaadin.client.ComponentConnector connector)
           
protected  void updateContent()
           
 
Methods inherited from class com.vaadin.client.ui.AbstractSingleComponentContainerConnector
getContent, getContentWidget
 
Methods inherited from class com.vaadin.client.ui.AbstractHasComponentsConnector
addConnectorHierarchyChangeHandler, getChildComponents, setChildComponents
 
Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector
delegateCaptionHandling, flush, getIcon, getLayoutManager, getTooltipInfo, getWidget, hasTooltip, isReadOnly, 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, 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.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

FormConnector

public FormConnector()
Method Detail

init

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

createWidget

protected com.google.gwt.user.client.ui.Widget createWidget()
Overrides:
createWidget in class com.vaadin.client.ui.AbstractComponentConnector

getView

protected FormView getView()

getState

public FormState 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

createState

protected FormState createState()
Overrides:
createState in class com.vaadin.client.ui.AbstractConnector

jumpToNextError

public void jumpToNextError(FormFieldWrapper fieldWrapper)
Specified by:
jumpToNextError in interface FormView.Presenter

updateCaption

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

onConnectorHierarchyChange

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

updateContent

protected void updateContent()


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