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