Class SimpleFormPanel

  • 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.IsRenderable, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

    public class SimpleFormPanel
    extends com.google.gwt.user.client.ui.Composite
    implements com.google.gwt.user.client.ui.HasWidgets.ForIsWidget

    A simple two-column table Composite object that can contain nested Widgets. Suitable for a form consisting of pairs of labels and form elements.

    Nested Widgets will be alternately placed in the first and second columns.

    Author:
    OpenCloud
    • 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.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

      Constructors 
      Constructor Description
      SimpleFormPanel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(com.google.gwt.user.client.ui.IsWidget widget)  
      void add​(com.google.gwt.user.client.ui.Widget widget)  
      void clear()  
      Iterator<com.google.gwt.user.client.ui.Widget> iterator()  
      boolean remove​(com.google.gwt.user.client.ui.IsWidget widget)  
      boolean remove​(com.google.gwt.user.client.ui.Widget widget)  
      • Methods inherited from class com.google.gwt.user.client.ui.Composite

        claimElement, initializeClaimedElement, isAttached, onBrowserEvent, render, render
      • Methods inherited from class com.google.gwt.user.client.ui.Widget

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
      • Methods inherited from class com.google.gwt.user.client.ui.UIObject

        addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
    • Constructor Detail

      • SimpleFormPanel

        public SimpleFormPanel()
    • Method Detail

      • add

        public void add​(com.google.gwt.user.client.ui.Widget widget)
        Specified by:
        add in interface com.google.gwt.user.client.ui.HasWidgets
      • add

        public void add​(com.google.gwt.user.client.ui.IsWidget widget)
        Specified by:
        add in interface com.google.gwt.user.client.ui.HasWidgets.ForIsWidget
      • clear

        public void clear()
        Specified by:
        clear in interface com.google.gwt.user.client.ui.HasWidgets
      • iterator

        public Iterator<com.google.gwt.user.client.ui.Widget> iterator()
        Specified by:
        iterator in interface com.google.gwt.user.client.ui.HasWidgets
        Specified by:
        iterator in interface Iterable<com.google.gwt.user.client.ui.Widget>
      • remove

        public boolean remove​(com.google.gwt.user.client.ui.Widget widget)
        Specified by:
        remove in interface com.google.gwt.user.client.ui.HasWidgets
      • remove

        public boolean remove​(com.google.gwt.user.client.ui.IsWidget widget)
        Specified by:
        remove in interface com.google.gwt.user.client.ui.HasWidgets.ForIsWidget