Class GlazedListsRowObjectDeleteCommandHandler<T>

Type Parameters:
T - The type contained in the backing data list.
All Implemented Interfaces:

public class GlazedListsRowObjectDeleteCommandHandler<T> extends Object implements ILayerCommandHandler<RowObjectDeleteCommand>
Default command handler for the RowObjectDeleteCommand. Operates on a List to remove row objects. Therefore this command handler should be registered on the body DataLayer.

This command handler fires a RowObjectDeleteEvent on completion that carries the deleted object and the index it was stored before to be able to revert the change correctly.

  • Field Details

    • bodyData

      protected ca.odell.glazedlists.EventList<T> bodyData
  • Constructor Details

    • GlazedListsRowObjectDeleteCommandHandler

      public GlazedListsRowObjectDeleteCommandHandler(ca.odell.glazedlists.EventList<T> bodyData)
      bodyData - The backing data list on which the delete operation should be performed. Should be the same list that is used by the data provider.
  • Method Details