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

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static int
     
    protected com.google.gwt.user.client.Timer
     
     
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     
    void
     
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFERRED_DELAY_MS

      protected static int DEFERRED_DELAY_MS
    • rpc

      protected JmixTimerServerRpc 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 class com.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 interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.AbstractConnector
    • getState

      public JmixTimerState getState()
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractConnector