Package io.jmix.ui.widget.client.timer
Class JmixTimerConnector
java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
io.jmix.ui.widget.client.timer.JmixTimerConnector
- All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler
,com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
,com.vaadin.client.ServerConnector
,com.vaadin.shared.Connector
,Serializable
public class JmixTimerConnector
extends com.vaadin.client.extensions.AbstractExtensionConnector
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static int
protected com.google.gwt.user.client.Timer
protected JmixTimerServerRpc
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
extend
(com.vaadin.client.ServerConnector target) getState()
void
onStateChanged
(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) void
onTimer()
void
void
setRunning
(boolean running) Methods inherited from class com.vaadin.client.extensions.AbstractExtensionConnector
setParent
Methods inherited from class com.vaadin.client.ui.AbstractConnector
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
-
Field Details
-
DEFERRED_DELAY_MS
protected static int DEFERRED_DELAY_MS -
rpc
-
running
protected boolean running -
jsTimer
protected com.google.gwt.user.client.Timer jsTimer
-
-
Constructor Details
-
JmixTimerConnector
public JmixTimerConnector()
-
-
Method Details
-
extend
protected void extend(com.vaadin.client.ServerConnector target) - Specified by:
extend
in classcom.vaadin.client.extensions.AbstractExtensionConnector
-
setRunning
public void setRunning(boolean running) -
onTimer
public void onTimer() -
requestCompleted
public void requestCompleted() -
onStateChanged
public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent) - Specified by:
onStateChanged
in interfacecom.vaadin.client.communication.StateChangeEvent.StateChangeHandler
- Overrides:
onStateChanged
in classcom.vaadin.client.ui.AbstractConnector
-
getState
- Specified by:
getState
in interfacecom.vaadin.client.ServerConnector
- Overrides:
getState
in classcom.vaadin.client.ui.AbstractConnector
-