Class DataGrid.ColumnReorderEvent

All Implemented Interfaces:
HasUserOriginated, Serializable
Enclosing interface:
DataGrid<E>

public static class DataGrid.ColumnReorderEvent extends DataGrid.AbstractDataGridEvent implements HasUserOriginated
An event that is fired when the columns are reordered.
See Also:
  • Field Details

    • userOriginated

      protected final boolean userOriginated
  • Constructor Details

    • ColumnReorderEvent

      public ColumnReorderEvent(DataGrid component)
      Constructor for a column reorder change event.
      Parameters:
      component - the DataGrid from which this event originates
    • ColumnReorderEvent

      public ColumnReorderEvent(DataGrid component, boolean userOriginated)
      Constructor for a column reorder change event.
      Parameters:
      component - the DataGrid from which this event originates
      userOriginated - true if an event is a result of user interaction, false if from the API call
  • Method Details

    • isUserOriginated

      public boolean isUserOriginated()
      Description copied from interface: HasUserOriginated
      Returns whether this event was triggered by user interaction or programmatically.
      Specified by:
      isUserOriginated in interface HasUserOriginated
      Returns:
      true if this event originates by user interaction, false otherwise.