Class JmixAmchartsSceneConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
io.jmix.charts.widget.client.amcharts.connector.JmixAmchartsSceneConnector
- 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 JmixAmchartsSceneConnector
extends com.vaadin.client.ui.AbstractComponentConnector
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected com.vaadin.client.ui.layout.ElementResizeListener
protected JmixAmchartsServerRpc
Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector
SIGNIFICANT_MOVE_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
bindClickEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindCoordinateChartEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindCursorEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindLegendEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindSerialChartEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindSlicedChartEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected void
bindXYChartEvents
(AmchartsEvents amchartsEvents, Set<String> events) protected AmchartsEvents
createEvents
(AmchartsConfig config) protected void
protected void
protected com.google.gwt.core.client.JavaScriptObject
getJsonAsObject
(String json) getState()
protected void
updateChart
(String json) 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 -
dataReady
protected boolean dataReady -
afterDataReady
-
-
Constructor Details
-
JmixAmchartsSceneConnector
public JmixAmchartsSceneConnector()
-
-
Method Details
-
updateChart
-
executeAfterDataReady
protected void executeAfterDataReady() -
drawChart
-
getJsonAsObject
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ComponentConnector
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.AbstractComponentConnector
-
getWidget
- Specified by:
getWidget
in interfacecom.vaadin.client.HasWidget
- Overrides:
getWidget
in classcom.vaadin.client.ui.AbstractComponentConnector
-
createEvents
-
bindClickEvents
-
bindXYChartEvents
-
bindCursorEvents
-
bindLegendEvents
-
bindSlicedChartEvents
-
bindSerialChartEvents
-
bindCoordinateChartEvents
-