Class FGrid.ColumnReorderEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.featurepack.ui.Event
com.vaadin.featurepack.ui.FGrid.ColumnReorderEvent
All Implemented Interfaces:
Serializable
Enclosing class:
FGrid

public static class FGrid.ColumnReorderEvent extends Event
An event that is fired when the columns are reordered.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColumnReorderEvent(FGrid source, boolean userOriginated)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the column reorder was done by the user, false if not and it was triggered by server side code.

    Methods inherited from class com.vaadin.featurepack.ui.Event

    getComponent

    Methods inherited from class com.vaadin.flow.component.ComponentEvent

    getSource, getUI, isFromClient, unregisterListener

    Methods inherited from class java.util.EventObject

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ColumnReorderEvent

      public ColumnReorderEvent(FGrid source, boolean userOriginated)
      Parameters:
      source - the grid where the event originated from
      userOriginated - true if event is a result of user interaction, false if from API call
  • Method Details

    • isUserOriginated

      public boolean isUserOriginated()
      Returns true if the column reorder was done by the user, false if not and it was triggered by server side code.
      Returns:
      true if event is a result of user interaction