src/main/java/org/primefaces/model/timeline/TimelineModel.java
/**
     * Updates a given event in the model with UI update.
     *
     * @param event           event to be added
     * @param timelineUpdater TimelineUpdater instance to update the event in UI
     */
Updates a given event in the model with UI update.
@param event           event to be added
@param timelineUpdater TimelineUpdater instance to update the event in UI
Updates a given event in the model with UI update . @param event event to be added @param timelineUpdater TimelineUpdater instance to update the event in UI
public void update(TimelineEvent<E> event, TimelineUpdater timelineUpdater) {
        int index = getIndex(event);
        if (index >= 0) {
            events.set(index, event);
            if (timelineUpdater != null) {
                timelineUpdater.update(event);
            }
        }
    }
public void update ( TimelineEvent < E > event , TimelineUpdater timelineUpdater ) { int index = getIndex ( event ) ; if ( index >= 0 ) { events . set ( index , event ) ; if ( timelineUpdater != null ) { timelineUpdater . update ( event ) ; } } }
Updates a given event in the model with UI update.
Updates a given event in the model with UI update .
// update UI