Class JmixCheckBoxConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
com.vaadin.client.ui.AbstractFieldConnector
com.vaadin.client.ui.checkbox.CheckBoxConnector
io.jmix.ui.widget.client.checkbox.JmixCheckBoxConnector
All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasContextHelpConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.client.ui.HasRequiredIndicator, com.vaadin.shared.Connector, Serializable

public class JmixCheckBoxConnector extends com.vaadin.client.ui.checkbox.CheckBoxConnector
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

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

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    protected boolean
     
    void
    onClick(com.google.gwt.event.dom.client.ClickEvent event)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    protected void
     

    Methods inherited from class com.vaadin.client.ui.checkbox.CheckBoxConnector

    init

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

    isReadOnly, isRequiredIndicatorVisible, updateWidgetStyleNames

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

    contextHelpIconClick, contextHelpIconClick, createWidget, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasContextHelpIconListeners, hasTooltip, isContextHelpIconEnabled, isContextHelpTooltipEnabled, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize

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

    addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.client.ComponentConnector

    flush, getLayoutManager, getTooltipInfo, hasTooltip, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, setWidgetEnabled

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.ServerConnector

    addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, onUnregister, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, updateEnabledState
  • Field Details

  • Constructor Details

    • JmixCheckBoxConnector

      public JmixCheckBoxConnector()
  • Method Details

    • delegateCaptionHandling

      public boolean delegateCaptionHandling()
      Specified by:
      delegateCaptionHandling in interface com.vaadin.client.ComponentConnector
      Overrides:
      delegateCaptionHandling in class com.vaadin.client.ui.checkbox.CheckBoxConnector
    • getWidget

      public JmixCheckBoxWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.checkbox.CheckBoxConnector
    • getState

      public JmixCheckBoxState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.checkbox.CheckBoxConnector
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.checkbox.CheckBoxConnector
    • 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.checkbox.CheckBoxConnector
    • updateWidgetReadOnlyState

      protected void updateWidgetReadOnlyState()
      Overrides:
      updateWidgetReadOnlyState in class com.vaadin.client.ui.checkbox.CheckBoxConnector
    • isCaptionManagedByLayout

      protected boolean isCaptionManagedByLayout()
      Overrides:
      isCaptionManagedByLayout in class com.vaadin.client.ui.checkbox.CheckBoxConnector