Package com.vaadin.ui

Class Grid.ColumnReorderEvent

    • Field Summary

      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor Description
      ColumnReorderEvent​(Grid<?> source, boolean userOriginated)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isUserOriginated()
      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 java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

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

      • ColumnReorderEvent

        public ColumnReorderEvent​(Grid<?> 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 Detail

      • 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.
        Specified by:
        isUserOriginated in interface HasUserOriginated
        Returns:
        true if event is a result of user interaction