Class JmixGroupBoxWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.SimplePanel
com.vaadin.client.ui.VPanel
io.jmix.ui.widget.client.groupbox.JmixGroupBoxWidget
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.AcceptsOneWidget, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasOneWidget, 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.IsWidget, com.vaadin.client.Focusable, com.vaadin.client.ui.HasErrorIndicatorElement, com.vaadin.client.ui.ShortcutActionHandler.ShortcutActionHandlerOwner, Iterable<com.google.gwt.user.client.ui.Widget>
Direct Known Subclasses:
JmixFieldGroupWidget

public class JmixGroupBoxWidget extends com.vaadin.client.ui.VPanel implements com.google.gwt.user.client.ui.HasEnabled
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
     

    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
    Modifier and Type
    Field
    Description
    com.google.gwt.dom.client.Element
     
    com.google.gwt.dom.client.Element
     
    com.google.gwt.dom.client.Element
     
    com.google.gwt.dom.client.Element
     
    static final String
     
    protected boolean
     
    protected Consumer<com.google.gwt.user.client.Event>
     
    protected com.google.gwt.dom.client.Element
     
    protected boolean
     
    protected boolean
     
    com.google.gwt.dom.client.Element
     
     
    protected com.vaadin.shared.ui.MarginInfo
     
    protected com.google.gwt.dom.client.Element
     
    protected boolean
     

    Fields inherited from class com.vaadin.client.ui.VPanel

    bottomDecoration, captionNode, client, contentNode, icon, id, scrollLeft, scrollTop, shortcutHandler

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    JmixGroupBoxWidget(String primaryStyleName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.vaadin.shared.ui.MarginInfo
     
    boolean
     
    void
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    setCaption(String text, boolean captionAsHtml)
     
    void
    setCollapsable(boolean collapsable)
     
    void
    setEnabled(boolean enabled)
     
    void
    setExpanded(boolean expanded)
     
    void
    setIconUri(String iconUri, com.vaadin.client.ApplicationConnection client)
     
    void
    setOuterMargin(com.vaadin.shared.ui.MarginInfo marginInfo)
     
    void
    setShowAsPanel(boolean showAsPanel)
     
    protected void
    toggleExpanded(com.google.gwt.user.client.Event event)
     

    Methods inherited from class com.vaadin.client.ui.VPanel

    focus, getContainerElement, getErrorIndicatorElement, getShortcutActionHandler, makeScrollable, setErrorIndicatorElementVisible, setFocus

    Methods inherited from class com.google.gwt.user.client.ui.SimplePanel

    add, getWidget, iterator, remove, setWidget, setWidget

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, adopt, clear, 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, getParent, isAttached, isOrWasAttached, onAttach, 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.HasWidgets

    add, clear, iterator, remove

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • CLASSNAME

      public static final String CLASSNAME
      See Also:
    • expanded

      protected boolean expanded
    • collapsable

      protected boolean collapsable
    • showAsPanel

      protected boolean showAsPanel
    • enabled

      protected boolean enabled
    • expandHandler

      protected JmixGroupBoxWidget.ExpandHandler expandHandler
    • marginInfo

      protected com.vaadin.shared.ui.MarginInfo marginInfo
    • captionWrap

      public com.google.gwt.dom.client.Element captionWrap
    • expander

      public com.google.gwt.dom.client.Element expander
    • contextHelpIcon

      protected com.google.gwt.dom.client.Element contextHelpIcon
    • contextHelpClickHandler

      protected Consumer<com.google.gwt.user.client.Event> contextHelpClickHandler
    • requiredIcon

      protected com.google.gwt.dom.client.Element requiredIcon
    • captionStartDeco

      public com.google.gwt.dom.client.Element captionStartDeco
    • captionEndDeco

      public com.google.gwt.dom.client.Element captionEndDeco
    • captionTextNode

      public com.google.gwt.dom.client.Element captionTextNode
  • Constructor Details

    • JmixGroupBoxWidget

      public JmixGroupBoxWidget(String primaryStyleName)
    • JmixGroupBoxWidget

      public JmixGroupBoxWidget()
  • Method Details

    • init

      public void init()
    • setCaption

      public void setCaption(String text, boolean captionAsHtml)
      Overrides:
      setCaption in class com.vaadin.client.ui.VPanel
    • isExpanded

      public boolean isExpanded()
    • setExpanded

      public void setExpanded(boolean expanded)
    • isCollapsable

      public boolean isCollapsable()
    • setCollapsable

      public void setCollapsable(boolean collapsable)
    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface com.google.gwt.user.client.ui.HasEnabled
    • setEnabled

      public void setEnabled(boolean enabled)
      Specified by:
      setEnabled in interface com.google.gwt.user.client.ui.HasEnabled
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.vaadin.client.ui.VPanel
    • toggleExpanded

      protected void toggleExpanded(com.google.gwt.user.client.Event event)
    • setShowAsPanel

      public void setShowAsPanel(boolean showAsPanel)
    • isShowAsPanel

      public boolean isShowAsPanel()
    • setIconUri

      public void setIconUri(String iconUri, com.vaadin.client.ApplicationConnection client)
      Overrides:
      setIconUri in class com.vaadin.client.ui.VPanel
    • hasAnyOuterMargin

      public boolean hasAnyOuterMargin()
    • getMarginInfo

      public com.vaadin.shared.ui.MarginInfo getMarginInfo()
    • setOuterMargin

      public void setOuterMargin(com.vaadin.shared.ui.MarginInfo marginInfo)