Class JmixAmchartsIntegration

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
io.jmix.charts.widget.amcharts.JmixAmchartsIntegration
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.Connector, Serializable

public class JmixAmchartsIntegration extends com.vaadin.server.AbstractExtension
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.vaadin.server.AbstractClientConnector

    com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler

    Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector

    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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final com.google.gson.Gson
     
    protected Locale
     
     
    protected Settings
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    beforeClientResponse(boolean initial)
     
    get()
     
    get(com.vaadin.ui.UI ui)
     
     
     
     
     
     
    getState(boolean markAsDirty)
     
    void
    setChartMessages(String localeCode, Map<String,Object> localeMap)
     
    void
    setExportMessages(String localeCode, Map<String,String> localeMap)
     
    void
    setLocale(Locale locale)
     
    void
     

    Methods inherited from class com.vaadin.server.AbstractExtension

    extend, getParent, getSupportedParentType, remove, setParent

    Methods inherited from class com.vaadin.server.AbstractClientConnector

    addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addListener, addListener, addListener, addMethodInvocationToQueue, attach, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getIncorrectConcurrentAccessHandler, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setConnectorResource, setErrorHandler, setIncorrectConcurrentAccessHandler, setResource, updateDiffstate

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.vaadin.server.ClientConnector

    addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId
  • Field Details

    • gson

      protected static final com.google.gson.Gson gson
    • settings

      protected Settings settings
    • serializer

      protected ChartSettingsSerializer serializer
    • locale

      protected Locale locale
  • Constructor Details

    • JmixAmchartsIntegration

      public JmixAmchartsIntegration()
  • Method Details

    • getSettings

      public Settings getSettings()
    • setSettings

      public void setSettings(Settings settings)
    • getLocale

      public Locale getLocale()
    • setLocale

      public void setLocale(Locale locale)
    • applySettings

      public void applySettings()
    • getChartMessages

      public Map<String,String> getChartMessages(String localeCode)
    • setChartMessages

      public void setChartMessages(String localeCode, Map<String,Object> localeMap)
    • getExportMessages

      public Map<String,String> getExportMessages(String localeCode)
    • setExportMessages

      public void setExportMessages(String localeCode, Map<String,String> localeMap)
    • getState

      protected JmixAmchartsIntegrationState getState()
      Overrides:
      getState in class com.vaadin.server.AbstractClientConnector
    • getState

      protected JmixAmchartsIntegrationState getState(boolean markAsDirty)
      Overrides:
      getState in class com.vaadin.server.AbstractClientConnector
    • beforeClientResponse

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

      public static JmixAmchartsIntegration get(com.vaadin.ui.UI ui)
    • get

      public static JmixAmchartsIntegration get()