info.magnolia.ui.vaadin.gwt.client.form.formsection.widget
Class FormSectionWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.FlowPanel
                      extended by info.magnolia.ui.vaadin.gwt.client.form.formsection.widget.FormSectionWidget
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class FormSectionWidget
extends com.google.gwt.user.client.ui.FlowPanel

Layout for the FormFieldWrapper widgets.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel
com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets
com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
FormSectionWidget()
           
 
Method Summary
 void add(com.google.gwt.user.client.ui.Widget child)
           
 void clearError(com.google.gwt.user.client.ui.Widget widget)
           
 void focus(com.google.gwt.user.client.ui.Widget widget)
           
 List<FormFieldWrapper> getFields()
           
 FormTabWidget getParent()
           
 void insert(com.google.gwt.user.client.ui.Widget w, int beforeIndex)
           
 boolean remove(com.google.gwt.user.client.ui.Widget w)
           
 void setCaption(String caption)
           
 void setDescriptionVisible(boolean isAccessible)
           
 void setFieldCaption(com.google.gwt.user.client.ui.Widget widget, String caption)
           
 void setFieldDescription(com.google.gwt.user.client.ui.Widget w, String description)
           
 void setFieldError(com.google.gwt.user.client.ui.Widget widget, String errorMsg)
           
 
Methods inherited from class com.google.gwt.user.client.ui.FlowPanel
clear, insert
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
add, adopt, adopt, disown, doAttachChildren, doDetachChildren, orphan, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, resolvePotentialElement, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
add
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget
getWidgetIndex
 
Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel
getWidget, getWidgetCount, getWidgetIndex, remove
 

Constructor Detail

FormSectionWidget

public FormSectionWidget()
Method Detail

add

public void add(com.google.gwt.user.client.ui.Widget child)
Specified by:
add in interface com.google.gwt.user.client.ui.HasWidgets
Specified by:
add in interface com.google.gwt.user.client.ui.InsertPanel
Overrides:
add in class com.google.gwt.user.client.ui.FlowPanel

remove

public boolean remove(com.google.gwt.user.client.ui.Widget w)
Specified by:
remove in interface com.google.gwt.user.client.ui.HasWidgets
Overrides:
remove in class com.google.gwt.user.client.ui.ComplexPanel

insert

public void insert(com.google.gwt.user.client.ui.Widget w,
                   int beforeIndex)
Specified by:
insert in interface com.google.gwt.user.client.ui.InsertPanel
Overrides:
insert in class com.google.gwt.user.client.ui.FlowPanel

getParent

public FormTabWidget getParent()
Overrides:
getParent in class com.google.gwt.user.client.ui.Widget

setDescriptionVisible

public void setDescriptionVisible(boolean isAccessible)

getFields

public List<FormFieldWrapper> getFields()

setFieldCaption

public void setFieldCaption(com.google.gwt.user.client.ui.Widget widget,
                            String caption)

setFieldDescription

public void setFieldDescription(com.google.gwt.user.client.ui.Widget w,
                                String description)

setCaption

public void setCaption(String caption)

clearError

public void clearError(com.google.gwt.user.client.ui.Widget widget)

setFieldError

public void setFieldError(com.google.gwt.user.client.ui.Widget widget,
                          String errorMsg)

focus

public void focus(com.google.gwt.user.client.ui.Widget widget)


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