primefaces/src/main/java/org/primefaces/model/timeline/TimelineModel.java
/**
     * Deletes a given event in the model with UI update.
     *
     * @param event           event to be deleted
     * @param timelineUpdater TimelineUpdater instance to delete the event in UI
     */
Deletes a given event in the model with UI update.
@param event           event to be deleted
@param timelineUpdater TimelineUpdater instance to delete the event in UI
Deletes a given event in the model with UI update . @param event event to be deleted @param timelineUpdater TimelineUpdater instance to delete the event in UI
public void delete(TimelineEvent<E> event, TimelineUpdater timelineUpdater) {
        events.remove(event);
        if (timelineUpdater != null) {
            timelineUpdater.delete(event.getId());
        }
    }
public void delete ( TimelineEvent < E > event , TimelineUpdater timelineUpdater ) { events . remove ( event ) ; if ( timelineUpdater != null ) { timelineUpdater . delete ( event . getId ( ) ) ; } }
Deletes a given event in the model with UI update.
Deletes a given event in the model with UI update .
// update UI