Class AppHeadroom.PinnedChangeEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<AppHeadroom>
org.vaadin.addons.joelpop.appheadroom.ui.component.AppHeadroom.PinnedChangeEvent
All Implemented Interfaces:
Serializable
Enclosing class:
AppHeadroom

@DomEvent("pinned-changed") public static class AppHeadroom.PinnedChangeEvent extends com.vaadin.flow.component.ComponentEvent<AppHeadroom>
Fired whenever the chrome's pinned/unpinned state changes, whether driven by scrolling on the client or by a server-initiated reset (e.g. detaching this instance via AppHeadroom.remove()).
See Also:
  • Constructor Details

    • PinnedChangeEvent

      public PinnedChangeEvent(AppHeadroom source, boolean fromClient, @EventData("event.detail.pinned") boolean pinned)
      Constructed by Flow when the client fires pinned-changed, or directly by AppHeadroom itself for a server-initiated reset; not meant to be constructed by application code.
  • Method Details