public class JmixTimerConnector
extends com.vaadin.client.extensions.AbstractExtensionConnector
Modifier and Type | Class and Description |
---|---|
protected class |
JmixTimerConnector.JmixTimerSource |
Modifier and Type | Field and Description |
---|---|
protected static int |
DEFERRED_DELAY_MS |
protected com.google.gwt.user.client.Timer |
jsTimer |
protected JmixTimerServerRpc |
rpc |
protected boolean |
running |
Constructor and Description |
---|
JmixTimerConnector() |
Modifier and Type | Method and Description |
---|---|
protected void |
extend(com.vaadin.client.ServerConnector target) |
JmixTimerState |
getState() |
void |
onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) |
void |
onTimer() |
void |
requestCompleted() |
void |
setRunning(boolean running) |
addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, onUnregister, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setTag, unregisterRpc, updateEnabledState
protected static int DEFERRED_DELAY_MS
protected JmixTimerServerRpc rpc
protected boolean running
protected com.google.gwt.user.client.Timer jsTimer
protected void extend(com.vaadin.client.ServerConnector target)
extend
in class com.vaadin.client.extensions.AbstractExtensionConnector
public void setRunning(boolean running)
public void onTimer()
public void requestCompleted()
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
onStateChanged
in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
onStateChanged
in class com.vaadin.client.ui.AbstractConnector
public JmixTimerState getState()
getState
in interface com.vaadin.client.ServerConnector
getState
in class com.vaadin.client.ui.AbstractConnector