Class Spreadsheet.ValueChangeEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
com.vaadin.flow.component.spreadsheet.Spreadsheet.ValueChangeEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Spreadsheet.CellValueChangeEvent, Spreadsheet.FormulaValueChangeEvent
Enclosing class:
Spreadsheet

public abstract static class Spreadsheet.ValueChangeEvent extends com.vaadin.flow.component.ComponentEvent<com.vaadin.flow.component.Component>
This is a parent class for value change events.
See Also:
  • Field Summary

    Fields inherited from class java.util.EventObject

    source
  • Constructor Summary

    Constructors
    Constructor
    Description
    ValueChangeEvent(com.vaadin.flow.component.Component source, Set<org.apache.poi.ss.util.CellReference> changedCells)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.apache.poi.ss.util.CellReference>
    Gets the changed cells.

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

    getSource, 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

    • ValueChangeEvent

      public ValueChangeEvent(com.vaadin.flow.component.Component source, Set<org.apache.poi.ss.util.CellReference> changedCells)
  • Method Details

    • getChangedCells

      public Set<org.apache.poi.ss.util.CellReference> getChangedCells()
      Gets the changed cells.

      When using Set.contains(Object), you should only use CellReferences with sheet names. Otherwise, it will throw an IllegalArgumentException.

      Returns:
      the changed cells
      See Also: