public class JmixAmchartsScene
extends com.vaadin.ui.AbstractComponent
Modifier and Type | Class and Description |
---|---|
protected class |
JmixAmchartsScene.JmixAmchartsServerRpcImpl |
protected static class |
JmixAmchartsScene.ProxyChangeForwarder |
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickEvent, com.vaadin.ui.Component.HasContextHelp.ContextHelpIconClickListener
com.vaadin.ui.Component.ErrorEvent, com.vaadin.ui.Component.Event, com.vaadin.ui.Component.Focusable, com.vaadin.ui.Component.HasContextHelp, com.vaadin.ui.Component.Listener
com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Modifier and Type | Field and Description |
---|---|
protected static java.lang.reflect.Method |
axisZoomMethod |
protected static java.lang.reflect.Method |
categoryItemClickMethod |
protected ChartIncrementalChanges |
changedItems |
protected DataChangeListener |
changeListener |
protected AbstractChart |
chart |
protected static java.lang.reflect.Method |
chartClickMethod |
protected static java.lang.reflect.Method |
chartRightClickMethod |
protected ChartSerializer |
chartSerializer |
protected static java.lang.reflect.Method |
cursorPeriodSelectMethod |
protected static java.lang.reflect.Method |
cursorZoomMethod |
protected java.util.function.Function<DataItem,java.lang.String> |
dataItemKeyMapper |
protected com.vaadin.server.KeyMapper<java.lang.Object> |
dataItemKeys |
protected boolean |
dirty |
protected static java.lang.reflect.Method |
graphClickMethod |
protected static java.lang.reflect.Method |
graphItemClickMethod |
protected static java.lang.reflect.Method |
graphItemRightClickMethod |
protected static java.lang.reflect.Method |
legendItemHideMethod |
protected static java.lang.reflect.Method |
legendItemShowMethod |
protected static java.lang.reflect.Method |
legendLabelClickMethod |
protected static java.lang.reflect.Method |
legendMarkerClickMethod |
protected static java.lang.reflect.Method |
rollOutGraphItemMethod |
protected static java.lang.reflect.Method |
rollOutGraphMethod |
protected static java.lang.reflect.Method |
rollOverGraphItemMethod |
protected static java.lang.reflect.Method |
rollOverGraphMethod |
protected static java.lang.reflect.Method |
sliceClickMethod |
protected static java.lang.reflect.Method |
slicePullInMethod |
protected static java.lang.reflect.Method |
slicePullOutMethod |
protected static java.lang.reflect.Method |
sliceRightClickMethod |
protected static java.lang.reflect.Method |
zoomMethod |
Constructor and Description |
---|
JmixAmchartsScene() |
addContextClickListener, addContextHelpIconClickListener, addListener, addShortcutListener, addStyleName, attach, detach, ensureContextHelpInitialized, findAncestor, fireComponentErrorEvent, fireComponentEvent, fireContextHelpClick, focus, getActionManager, getCaption, getComponentError, getComponentErrorProvider, getContextHelpText, getCustomAttributes, getData, getDebugId, getDescription, getErrorMessage, getHeight, getHeightUnits, getIcon, getId, getJTestId, getLocale, getParent, getPrimaryStyleName, getRequiredError, getStyleName, getWidth, getWidthUnits, isCaptionAsHtml, isConnectorEnabled, isContextHelpTextHtmlEnabled, isEnabled, isOrHasAncestor, isReadOnly, isRequiredIndicatorVisible, isResponsive, isVisible, readDesign, removeContextClickListener, removeListener, removeShortcutListener, removeStyleName, setCaption, setCaptionAsHtml, setComponentError, setComponentErrorProvider, setContextHelpText, setContextHelpTextHtmlEnabled, setData, setDebugId, setDescription, setDescription, setEnabled, setHeight, setHeight, setHeightFull, setHeightUndefined, setIcon, setId, setJTestId, setLocale, setParent, setPrimaryStyleName, setReadOnly, setRequiredError, setRequiredIndicatorVisible, setResponsive, setSizeFull, setSizeUndefined, setStyleName, setVisible, setWidth, setWidth, setWidthFull, setWidthUndefined, writeDesign
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, createState, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addStyleNames, getUI, removeStyleNames, setStyleName
addAttachListener, addDetachListener, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, handleConnectorRequest, isAttached, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected static final java.lang.reflect.Method chartClickMethod
protected static final java.lang.reflect.Method chartRightClickMethod
protected static final java.lang.reflect.Method graphClickMethod
protected static final java.lang.reflect.Method graphItemClickMethod
protected static final java.lang.reflect.Method graphItemRightClickMethod
protected static final java.lang.reflect.Method rollOutGraphMethod
protected static final java.lang.reflect.Method rollOutGraphItemMethod
protected static final java.lang.reflect.Method rollOverGraphMethod
protected static final java.lang.reflect.Method rollOverGraphItemMethod
protected static final java.lang.reflect.Method zoomMethod
protected static final java.lang.reflect.Method sliceClickMethod
protected static final java.lang.reflect.Method sliceRightClickMethod
protected static final java.lang.reflect.Method slicePullInMethod
protected static final java.lang.reflect.Method slicePullOutMethod
protected static final java.lang.reflect.Method legendLabelClickMethod
protected static final java.lang.reflect.Method legendMarkerClickMethod
protected static final java.lang.reflect.Method legendItemShowMethod
protected static final java.lang.reflect.Method legendItemHideMethod
protected static final java.lang.reflect.Method cursorZoomMethod
protected static final java.lang.reflect.Method cursorPeriodSelectMethod
protected static final java.lang.reflect.Method axisZoomMethod
protected static final java.lang.reflect.Method categoryItemClickMethod
protected final DataChangeListener changeListener
protected boolean dirty
protected AbstractChart chart
protected ChartIncrementalChanges changedItems
protected ChartSerializer chartSerializer
protected com.vaadin.server.KeyMapper<java.lang.Object> dataItemKeys
protected java.util.function.Function<DataItem,java.lang.String> dataItemKeyMapper
public void setChartSerializer(ChartSerializer chartSerializer)
protected JmixAmchartsSceneState getState()
getState
in class com.vaadin.ui.AbstractComponent
protected JmixAmchartsSceneState getState(boolean markAsDirty)
getState
in class com.vaadin.ui.AbstractComponent
public AbstractChart getChart()
public boolean isDirty()
public void setJson(java.lang.String json)
public java.lang.String getJson()
public void drawChart()
public void drawChart(AbstractChart chart)
protected void forgetChangedItems()
protected void addChangedItems(IncrementalUpdateType type, java.util.List<DataItem> items)
public void activateResponsivePlugin()
public AngularGaugeChartModelImpl gaugeChart()
public FunnelChartModelImpl funnelChart()
public PieChartModelImpl pieChart()
public RadarChartModelImpl radarChart()
public SerialChartModelImpl serialChart()
public XYChartModelImpl xyChart()
public GanttChartModelImpl ganttChart()
public void addChartClickListener(ChartClickListener listener)
public void removeChartClickListener(ChartClickListener listener)
public void addChartRightClickListener(ChartRightClickListener listener)
public void removeChartRightClickListener(ChartRightClickListener listener)
public void addGraphClickListener(GraphClickListener listener)
public void removeGraphClickListener(GraphClickListener listener)
public void addGraphItemClickListener(GraphItemClickListener listener)
public void removeGraphItemClickListener(GraphItemClickListener listener)
public void addGraphItemRightClickListener(GraphItemRightClickListener listener)
public void removeGraphItemRightClickListener(GraphItemRightClickListener listener)
public void addZoomListener(ZoomListener listener)
public void removeZoomListener(ZoomListener listener)
public void addSliceClickListener(SliceClickListener listener)
public void removeSliceClickListener(SliceClickListener listener)
public void addSliceRightClickListener(SliceRightClickListener listener)
public void removeSliceRightClickListener(SliceRightClickListener listener)
public void addSlicePullInListener(SlicePullInListener listener)
public void removeSlicePullInListener(SlicePullInListener listener)
public void addSlicePullOutListener(SlicePullOutListener listener)
public void removeSlicePullOutListener(SlicePullOutListener listener)
public void addLegendLabelClickListener(LegendLabelClickListener listener)
public void removeLegendLabelClickListener(LegendLabelClickListener listener)
public void addLegendMarkerClickListener(LegendMarkerClickListener listener)
public void removeLegendMarkerClickListener(LegendMarkerClickListener listener)
public void addLegendItemShowListener(LegendItemShowListener listener)
public void removeLegendItemShowListener(LegendItemShowListener listener)
public void addLegendItemHideListener(LegendItemHideListener listener)
public void removeLegendItemHideListener(LegendItemHideListener listener)
public void addCursorZoomListener(CursorZoomListener listener)
public void removeCursorZoomListener(CursorZoomListener listener)
public void addCursorPeriodSelectListener(CursorPeriodSelectListener listener)
public void removeCursorPeriodSelectListener(CursorPeriodSelectListener listener)
public void addAxisZoomListener(AxisZoomListener listener)
public void removeAxisZoomListener(AxisZoomListener listener)
public void addCategoryItemClickListener(CategoryItemClickListener listener)
public void removeCategoryItemClickListener(CategoryItemClickListener listener)
public void addRollOutGraphListener(RollOutGraphListener listener)
public void addRollOutGraphItemListener(RollOutGraphItemListener listener)
public void addRollOverGraphListener(RollOverGraphListener listener)
public void addRollOverGraphItemListener(RollOverGraphItemListener listener)
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.ui.AbstractComponent
protected void setupDefaults(AbstractChart chart)
protected void setupPaths(AbstractChart chart)
protected void forceStateChange()
public void zoomOut()
public void zoomToIndexes(int start, int end)
public void zoomToDates(java.util.Date start, java.util.Date end)
public void zoomOutValueAxes()
public void zoomOutValueAxis(java.lang.String id)
public void zoomOutValueAxis(int index)
protected java.lang.String convertObjectToString(java.lang.Object value)
public void zoomValueAxisToValues(java.lang.String id, java.lang.Object startValue, java.lang.Object endValue)
public void zoomValueAxisToValues(int index, java.lang.Object startValue, java.lang.Object endValue)