Class ButtonPanel

  • 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 ButtonPanel
    extends com.google.gwt.user.client.ui.Composite
    implements com.google.gwt.user.client.ui.HasWidgets.ForIsWidget

    Simple panel for holding one or more buttons or other control widgets.

    Automatically handles padding between widgets.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  ButtonPanel.ButtonPanelStyle  
      static interface  ButtonPanel.Resources  
      • 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
      ButtonPanel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(com.google.gwt.user.client.ui.IsWidget w)  
      void add​(com.google.gwt.user.client.ui.Widget w)  
      void clear()  
      Iterator<com.google.gwt.user.client.ui.Widget> iterator()  
      boolean remove​(com.google.gwt.user.client.ui.IsWidget w)  
      boolean remove​(com.google.gwt.user.client.ui.Widget w)  
      • 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

      • ButtonPanel

        public ButtonPanel()
    • Method Detail

      • add

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

        public void add​(com.google.gwt.user.client.ui.IsWidget w)
        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 w)
        Specified by:
        remove in interface com.google.gwt.user.client.ui.HasWidgets
      • remove

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