Class JmixTimer

java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
io.jmix.ui.widget.JmixTimer
All Implemented Interfaces:
com.vaadin.event.MethodEventSource, com.vaadin.server.ClientConnector, com.vaadin.server.Extension, com.vaadin.shared.communication.ServerRpc, com.vaadin.shared.Connector, JmixTimerServerRpc, Serializable

public class JmixTimer extends com.vaadin.server.AbstractExtension implements JmixTimerServerRpc
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 List<Consumer<JmixTimer>>
     
    protected List<Consumer<JmixTimer>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    beforeClientResponse(boolean initial)
     
    void
    extend(com.vaadin.ui.AbstractComponent component)
     
    int
     
    protected String
     
     
    protected JmixTimerState
    getState(boolean markAsDirty)
     
    boolean
     
    void
     
    void
     
    void
     
    void
    setDelay(int delay)
     
    void
    setRepeating(boolean repeating)
     
    void
     
    void
     
    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

  • Constructor Details

    • JmixTimer

      public JmixTimer()
  • Method Details

    • extend

      public void extend(com.vaadin.ui.AbstractComponent component)
    • getState

      public JmixTimerState getState()
      Overrides:
      getState in class com.vaadin.server.AbstractClientConnector
    • getState

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

      public void setRepeating(boolean repeating)
    • isRepeating

      public boolean isRepeating()
    • getDelay

      public int getDelay()
    • setDelay

      public void setDelay(int delay)
    • start

      public void start()
    • stop

      public void stop()
    • onTimer

      public void onTimer()
      Specified by:
      onTimer in interface JmixTimerServerRpc
    • getLoggingTimerId

      protected String getLoggingTimerId()
    • beforeClientResponse

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

      public void setTimerId(@Nullable String id)
    • addActionListener

      public void addActionListener(Consumer<JmixTimer> listener)
    • removeActionListener

      public void removeActionListener(Consumer<JmixTimer> listener)
    • addStopListener

      public void addStopListener(Consumer<JmixTimer> listener)
    • removeStopListeners

      public void removeStopListeners(Consumer<JmixTimer> listener)