public class JmixAmchartsIntegration
extends com.vaadin.server.AbstractExtension
com.vaadin.server.AbstractClientConnector.IncorrectConcurrentAccessHandler
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 com.google.gson.Gson |
gson |
protected java.util.Locale |
locale |
protected ChartSettingsSerializer |
serializer |
protected Settings |
settings |
Constructor and Description |
---|
JmixAmchartsIntegration() |
Modifier and Type | Method and Description |
---|---|
void |
applySettings() |
void |
beforeClientResponse(boolean initial) |
static JmixAmchartsIntegration |
get() |
static JmixAmchartsIntegration |
get(com.vaadin.ui.UI ui) |
java.util.Map<java.lang.String,java.lang.String> |
getChartMessages(java.lang.String localeCode) |
java.util.Map<java.lang.String,java.lang.String> |
getExportMessages(java.lang.String localeCode) |
java.util.Locale |
getLocale() |
Settings |
getSettings() |
protected JmixAmchartsIntegrationState |
getState() |
protected JmixAmchartsIntegrationState |
getState(boolean markAsDirty) |
void |
setChartMessages(java.lang.String localeCode,
java.util.Map<java.lang.String,java.lang.Object> localeMap) |
void |
setExportMessages(java.lang.String localeCode,
java.util.Map<java.lang.String,java.lang.String> localeMap) |
void |
setLocale(java.util.Locale locale) |
void |
setSettings(Settings settings) |
extend, getParent, getSupportedParentType, remove, setParent
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
protected static final com.google.gson.Gson gson
protected Settings settings
protected ChartSettingsSerializer serializer
protected java.util.Locale locale
public Settings getSettings()
public void setSettings(Settings settings)
public java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
public void applySettings()
public java.util.Map<java.lang.String,java.lang.String> getChartMessages(java.lang.String localeCode)
public void setChartMessages(java.lang.String localeCode, java.util.Map<java.lang.String,java.lang.Object> localeMap)
public java.util.Map<java.lang.String,java.lang.String> getExportMessages(java.lang.String localeCode)
public void setExportMessages(java.lang.String localeCode, java.util.Map<java.lang.String,java.lang.String> localeMap)
protected JmixAmchartsIntegrationState getState()
getState
in class com.vaadin.server.AbstractClientConnector
protected JmixAmchartsIntegrationState getState(boolean markAsDirty)
getState
in class com.vaadin.server.AbstractClientConnector
public void beforeClientResponse(boolean initial)
beforeClientResponse
in interface com.vaadin.server.ClientConnector
beforeClientResponse
in class com.vaadin.server.AbstractClientConnector
public static JmixAmchartsIntegration get(com.vaadin.ui.UI ui)
public static JmixAmchartsIntegration get()