Class JmixRadioButtonGroupWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
com.vaadin.client.widgets.FocusableFlowPanelComposite
com.vaadin.client.ui.VRadioButtonGroup
io.jmix.ui.widget.client.radiobuttongroup.JmixRadioButtonGroupWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.dom.client.HasAllFocusHandlers, com.google.gwt.event.dom.client.HasBlurHandlers, com.google.gwt.event.dom.client.HasFocusHandlers, com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean>, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, com.vaadin.client.Focusable, com.vaadin.client.ui.Field

public class JmixRadioButtonGroupWidget extends com.vaadin.client.ui.VRadioButtonGroup implements com.google.gwt.event.dom.client.KeyDownHandler, com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean>
  • 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
  • Field Summary

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

    CLASSNAME, CLASSNAME_OPTION, CLASSNAME_OPTION_SELECTED, client

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    buildOptions(List<elemental.json.JsonObject> items)
     
    void
    onClick(com.google.gwt.event.dom.client.ClickEvent event)
     
    void
    onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
     
    void
    onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Boolean> event)
     
    protected void
    updateItemEnabled(com.google.gwt.user.client.ui.RadioButton radioButton, boolean value)
     
    protected void
     

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

    addSelectionChangeHandler, focus, getItem, isEnabled, isHtmlContentAllowed, isReadonly, selectItemKey, setEnabled, setHtmlContentAllowed, setReadonly, setTabIndex, updateEnabledState, updateItemSelection

    Methods inherited from class com.vaadin.client.widgets.FocusableFlowPanelComposite

    addBlurHandler, addFocusHandler, getWidget

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

    claimElement, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget

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

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, 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, 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.event.shared.HasHandlers

    fireEvent
  • Constructor Details

    • JmixRadioButtonGroupWidget

      public JmixRadioButtonGroupWidget()
  • Method Details

    • buildOptions

      public void buildOptions(List<elemental.json.JsonObject> items)
      Overrides:
      buildOptions in class com.vaadin.client.ui.VRadioButtonGroup
    • onClick

      public void onClick(com.google.gwt.event.dom.client.ClickEvent event)
      Specified by:
      onClick in interface com.google.gwt.event.dom.client.ClickHandler
      Overrides:
      onClick in class com.vaadin.client.ui.VRadioButtonGroup
    • onKeyDown

      public void onKeyDown(com.google.gwt.event.dom.client.KeyDownEvent event)
      Specified by:
      onKeyDown in interface com.google.gwt.event.dom.client.KeyDownHandler
    • updateItemEnabled

      protected void updateItemEnabled(com.google.gwt.user.client.ui.RadioButton radioButton, boolean value)
      Overrides:
      updateItemEnabled in class com.vaadin.client.ui.VRadioButtonGroup
    • onValueChange

      public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<Boolean> event)
      Specified by:
      onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<Boolean>
    • updateItemsSelection

      protected void updateItemsSelection()