Class FilterRowComboUpdateEvent

java.lang.Object
org.eclipse.nebula.widgets.nattable.filterrow.combobox.FilterRowComboUpdateEvent

public class FilterRowComboUpdateEvent extends Object
Event class that is used to inform about updates to the filter row combo box items.
  • Constructor Details

    • FilterRowComboUpdateEvent

      public FilterRowComboUpdateEvent(int columnIndex, Collection<?> addedItems, Collection<?> removedItems)
      Parameters:
      columnIndex - The column index of the column for which the filter row combo value cache was updated.
      addedItems - The items that was added to the value cache for the set column index.
      removedItems - The items that was removed from the value cache for the set column index.
  • Method Details

    • addUpdate

      public void addUpdate(int columnIndex, Collection<?> addedItems, Collection<?> removedItems)
      Parameters:
      columnIndex - The column index of the column for which the filter row combo value cache was updated.
      addedItems - The items that was added to the value cache for the set column index.
      removedItems - The items that was removed from the value cache for the set column index.
      Since:
      2.1
    • getColumnIndex

      public int getColumnIndex()
      Returns:
      The column index of the column for which the filter row combo value cache was updated.
    • getAddedItems

      public Collection<?> getAddedItems()
      Returns:
      The items that was added to the value cache for the set column index.
    • getRemovedItems

      public Collection<?> getRemovedItems()
      Returns:
      The items that was removed from the value cache for the set column index.
    • getColumnIndex

      public int getColumnIndex(int update)
      Parameters:
      update - The index of the update content transfered by this event.
      Returns:
      The column index of the column for which the filter row combo value cache was updated.
      Since:
      2.1
    • getAddedItems

      public Collection<?> getAddedItems(int update)
      Parameters:
      update - The index of the update content transfered by this event.
      Returns:
      The items that was added to the value cache for the set column index.
      Since:
      2.1
    • getRemovedItems

      public Collection<?> getRemovedItems(int update)
      Parameters:
      update - The index of the update content transfered by this event.
      Returns:
      The items that was removed from the value cache for the set column index.
      Since:
      2.1
    • updateContentSize

      public int updateContentSize()
      Returns:
      The number of update contents transfered by this event.
      Since:
      2.1
    • toString

      public String toString()
      Overrides:
      toString in class Object