Interface FilterModel.IncludedItems.ItemsListener

Enclosing interface:
FilterModel.IncludedItems<T>

public static interface FilterModel.IncludedItems.ItemsListener
Provides a way to respond to changes to the included items.

The index ranges reported are both indices inclusive, matching the standard table-model fireTableRowsInserted/Updated/Deleted contract.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when all items may have changed
    void
    deleted(int firstIndex, int lastIndex)
    Called when included items are deleted
    void
    inserted(int firstIndex, int lastIndex)
    Called when included items are inserted
    void
    updated(int firstIndex, int lastIndex)
    Called when included items are updated
  • Method Details

    • inserted

      void inserted(int firstIndex, int lastIndex)
      Called when included items are inserted
      Parameters:
      firstIndex - the first index, inclusive
      lastIndex - the last index, inclusive
    • updated

      void updated(int firstIndex, int lastIndex)
      Called when included items are updated
      Parameters:
      firstIndex - the first index, inclusive
      lastIndex - the last index, inclusive
    • deleted

      void deleted(int firstIndex, int lastIndex)
      Called when included items are deleted
      Parameters:
      firstIndex - the first index, inclusive
      lastIndex - the last index, inclusive
    • changed

      void changed()
      Called when all items may have changed