Class JmixAmStockChartSceneConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
io.jmix.charts.widget.client.amstockcharts.JmixAmStockChartSceneConnector
All Implemented Interfaces:
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.shared.Connector, Serializable

public class JmixAmStockChartSceneConnector extends com.vaadin.client.ui.AbstractComponentConnector
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.vaadin.client.ui.layout.ElementResizeListener
     
     

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

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    bindClickEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
     
    protected void
     
    protected void
    bindPeriodSelectorEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
     
    protected void
    bindStockEventEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
     
    protected void
    bindStockGraphEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
     
    protected void
    bindStockGraphItemEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
     
     
    protected void
    drawChart(String chartJson)
     
    protected com.google.gwt.core.client.JavaScriptObject
     
     
     
    protected void
     

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

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

    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, init, 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.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.ServerConnector

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

    • rpc

    • resizeListener

      protected com.vaadin.client.ui.layout.ElementResizeListener resizeListener
  • Constructor Details

    • JmixAmStockChartSceneConnector

      public JmixAmStockChartSceneConnector()
  • Method Details

    • drawChart

      protected void drawChart(String chartJson)
    • updateChart

      protected void updateChart(String json)
    • getJsonAsObject

      protected com.google.gwt.core.client.JavaScriptObject getJsonAsObject(String json)
    • getState

      public JmixAmStockChartSceneState 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.AbstractComponentConnector
    • getWidget

      public JmixAmStockChartSceneWidget getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.AbstractComponentConnector
    • createEvents

      protected AmStockChartEvents createEvents(AmStockChartConfig config)
    • bindClickEvents

      protected void bindClickEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
    • bindStockEventEvents

      protected void bindStockEventEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
    • bindPeriodSelectorEvents

      protected void bindPeriodSelectorEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
    • bindDataSetSelectorEvents

      protected void bindDataSetSelectorEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
    • bindStockGraphEvents

      protected void bindStockGraphEvents(AmStockChartEvents amStockChartEvents, Set<String> events)
    • bindStockGraphItemEvents

      protected void bindStockGraphItemEvents(AmStockChartEvents amStockChartEvents, Set<String> events)