Class JmixAmchartsScene

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.ui.AbstractComponent
io.jmix.charts.widget.amcharts.JmixAmchartsScene
All Implemented Interfaces:
com.vaadin.event.ContextClickEvent.ContextClickNotifier, com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Sizeable, com.vaadin.shared.Connector, com.vaadin.ui.Component, com.vaadin.ui.Component.HasContextHelp, Serializable

public class JmixAmchartsScene extends com.vaadin.ui.AbstractComponent
See Also:
  • Field Details

    • chartClickMethod

      protected static final Method chartClickMethod
    • chartRightClickMethod

      protected static final Method chartRightClickMethod
    • graphClickMethod

      protected static final Method graphClickMethod
    • graphItemClickMethod

      protected static final Method graphItemClickMethod
    • graphItemRightClickMethod

      protected static final Method graphItemRightClickMethod
    • rollOutGraphMethod

      protected static final Method rollOutGraphMethod
    • rollOutGraphItemMethod

      protected static final Method rollOutGraphItemMethod
    • rollOverGraphMethod

      protected static final Method rollOverGraphMethod
    • rollOverGraphItemMethod

      protected static final Method rollOverGraphItemMethod
    • zoomMethod

      protected static final Method zoomMethod
    • sliceClickMethod

      protected static final Method sliceClickMethod
    • sliceRightClickMethod

      protected static final Method sliceRightClickMethod
    • slicePullInMethod

      protected static final Method slicePullInMethod
    • slicePullOutMethod

      protected static final Method slicePullOutMethod
    • legendLabelClickMethod

      protected static final Method legendLabelClickMethod
    • legendMarkerClickMethod

      protected static final Method legendMarkerClickMethod
    • legendItemShowMethod

      protected static final Method legendItemShowMethod
    • legendItemHideMethod

      protected static final Method legendItemHideMethod
    • cursorZoomMethod

      protected static final Method cursorZoomMethod
    • cursorPeriodSelectMethod

      protected static final Method cursorPeriodSelectMethod
    • axisZoomMethod

      protected static final Method axisZoomMethod
    • categoryItemClickMethod

      protected static final Method categoryItemClickMethod
    • changeListener

      protected final DataChangeListener changeListener
    • dirty

      protected boolean dirty
    • chart

      protected AbstractChart chart
    • changedItems

      protected ChartIncrementalChanges changedItems
    • chartSerializer

      protected ChartSerializer chartSerializer
    • dataItemKeys

      protected com.vaadin.server.KeyMapper<Object> dataItemKeys
    • dataItemKeyMapper

      protected Function<DataItem,String> dataItemKeyMapper
  • Constructor Details

    • JmixAmchartsScene

      public JmixAmchartsScene()
  • Method Details

    • setChartSerializer

      public void setChartSerializer(ChartSerializer chartSerializer)
    • getState

      protected JmixAmchartsSceneState getState()
      Overrides:
      getState in class com.vaadin.ui.AbstractComponent
    • getState

      protected JmixAmchartsSceneState getState(boolean markAsDirty)
      Overrides:
      getState in class com.vaadin.ui.AbstractComponent
    • getChart

      public AbstractChart getChart()
    • isDirty

      public boolean isDirty()
    • setJson

      public void setJson(String json)
    • getJson

      public String getJson()
    • drawChart

      public void drawChart()
    • drawChart

      public void drawChart(AbstractChart chart)
    • forgetChangedItems

      protected void forgetChangedItems()
    • addChangedItems

      protected void addChangedItems(IncrementalUpdateType type, List<DataItem> items)
    • activateResponsivePlugin

      public void activateResponsivePlugin()
    • gaugeChart

      public AngularGaugeChartModelImpl gaugeChart()
    • funnelChart

      public FunnelChartModelImpl funnelChart()
    • pieChart

      public PieChartModelImpl pieChart()
    • radarChart

      public RadarChartModelImpl radarChart()
    • serialChart

      public SerialChartModelImpl serialChart()
    • xyChart

      public XYChartModelImpl xyChart()
    • ganttChart

      public GanttChartModelImpl ganttChart()
    • addChartClickListener

      public void addChartClickListener(ChartClickListener listener)
    • removeChartClickListener

      public void removeChartClickListener(ChartClickListener listener)
    • addChartRightClickListener

      public void addChartRightClickListener(ChartRightClickListener listener)
    • removeChartRightClickListener

      public void removeChartRightClickListener(ChartRightClickListener listener)
    • addGraphClickListener

      public void addGraphClickListener(GraphClickListener listener)
    • removeGraphClickListener

      public void removeGraphClickListener(GraphClickListener listener)
    • addGraphItemClickListener

      public void addGraphItemClickListener(GraphItemClickListener listener)
    • removeGraphItemClickListener

      public void removeGraphItemClickListener(GraphItemClickListener listener)
    • addGraphItemRightClickListener

      public void addGraphItemRightClickListener(GraphItemRightClickListener listener)
    • removeGraphItemRightClickListener

      public void removeGraphItemRightClickListener(GraphItemRightClickListener listener)
    • addZoomListener

      public void addZoomListener(ZoomListener listener)
    • removeZoomListener

      public void removeZoomListener(ZoomListener listener)
    • addSliceClickListener

      public void addSliceClickListener(SliceClickListener listener)
    • removeSliceClickListener

      public void removeSliceClickListener(SliceClickListener listener)
    • addSliceRightClickListener

      public void addSliceRightClickListener(SliceRightClickListener listener)
    • removeSliceRightClickListener

      public void removeSliceRightClickListener(SliceRightClickListener listener)
    • addSlicePullInListener

      public void addSlicePullInListener(SlicePullInListener listener)
    • removeSlicePullInListener

      public void removeSlicePullInListener(SlicePullInListener listener)
    • addSlicePullOutListener

      public void addSlicePullOutListener(SlicePullOutListener listener)
    • removeSlicePullOutListener

      public void removeSlicePullOutListener(SlicePullOutListener listener)
    • addLegendLabelClickListener

      public void addLegendLabelClickListener(LegendLabelClickListener listener)
    • removeLegendLabelClickListener

      public void removeLegendLabelClickListener(LegendLabelClickListener listener)
    • addLegendMarkerClickListener

      public void addLegendMarkerClickListener(LegendMarkerClickListener listener)
    • removeLegendMarkerClickListener

      public void removeLegendMarkerClickListener(LegendMarkerClickListener listener)
    • addLegendItemShowListener

      public void addLegendItemShowListener(LegendItemShowListener listener)
    • removeLegendItemShowListener

      public void removeLegendItemShowListener(LegendItemShowListener listener)
    • addLegendItemHideListener

      public void addLegendItemHideListener(LegendItemHideListener listener)
    • removeLegendItemHideListener

      public void removeLegendItemHideListener(LegendItemHideListener listener)
    • addCursorZoomListener

      public void addCursorZoomListener(CursorZoomListener listener)
    • removeCursorZoomListener

      public void removeCursorZoomListener(CursorZoomListener listener)
    • addCursorPeriodSelectListener

      public void addCursorPeriodSelectListener(CursorPeriodSelectListener listener)
    • removeCursorPeriodSelectListener

      public void removeCursorPeriodSelectListener(CursorPeriodSelectListener listener)
    • addAxisZoomListener

      public void addAxisZoomListener(AxisZoomListener listener)
    • removeAxisZoomListener

      public void removeAxisZoomListener(AxisZoomListener listener)
    • addCategoryItemClickListener

      public void addCategoryItemClickListener(CategoryItemClickListener listener)
    • removeCategoryItemClickListener

      public void removeCategoryItemClickListener(CategoryItemClickListener listener)
    • addRollOutGraphListener

      public void addRollOutGraphListener(RollOutGraphListener listener)
    • addRollOutGraphItemListener

      public void addRollOutGraphItemListener(RollOutGraphItemListener listener)
    • addRollOverGraphListener

      public void addRollOverGraphListener(RollOverGraphListener listener)
    • addRollOverGraphItemListener

      public void addRollOverGraphItemListener(RollOverGraphItemListener listener)
    • beforeClientResponse

      public void beforeClientResponse(boolean initial)
      Specified by:
      beforeClientResponse in interface com.vaadin.server.ClientConnector
      Overrides:
      beforeClientResponse in class com.vaadin.ui.AbstractComponent
    • setupDefaults

      protected void setupDefaults(AbstractChart chart)
    • setupPaths

      protected void setupPaths(AbstractChart chart)
    • forceStateChange

      protected void forceStateChange()
    • zoomOut

      public void zoomOut()
    • zoomToIndexes

      public void zoomToIndexes(int start, int end)
    • zoomToDates

      public void zoomToDates(Date start, Date end)
    • zoomOutValueAxes

      public void zoomOutValueAxes()
    • zoomOutValueAxis

      public void zoomOutValueAxis(String id)
    • zoomOutValueAxis

      public void zoomOutValueAxis(int index)
    • convertObjectToString

      protected String convertObjectToString(Object value)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(String id, Object startValue, Object endValue)
    • zoomValueAxisToValues

      public void zoomValueAxisToValues(int index, Object startValue, Object endValue)