Class CmsScrollPositionCssConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.extensions.AbstractExtensionConnector
org.opencms.ui.client.CmsScrollPositionCssConnector
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 CmsScrollPositionCssConnector extends com.vaadin.client.extensions.AbstractExtensionConnector
This connector will manipulate the CSS classes of the extended widget depending on the scroll position.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    extend(com.vaadin.client.ServerConnector target)
     
    org.opencms.ui.shared.components.CmsScrollPositionCssState
     
    protected void
    handleScroll(com.google.gwt.event.dom.client.ScrollEvent event)
    Handles the scroll event.

    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, onStateChanged, 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
  • Constructor Details

  • Method Details

    • getState

      public org.opencms.ui.shared.components.CmsScrollPositionCssState getState()
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractConnector
      See Also:
      • AbstractConnector.getState()
    • extend

      protected void extend(com.vaadin.client.ServerConnector target)
      Specified by:
      extend in class com.vaadin.client.extensions.AbstractExtensionConnector
      See Also:
      • AbstractExtensionConnector.extend(com.vaadin.client.ServerConnector)
    • handleScroll

      protected void handleScroll(com.google.gwt.event.dom.client.ScrollEvent event)
      Handles the scroll event.

      Parameters:
      event - the scroll event