src/main/java/org/primefaces/model/timeline/TimelineModel.java
/**
     * Selects a given event in UI visually. To unselect all events, pass a null as event.
     *
     * @param event           event to be selected
     * @param timelineUpdater TimelineUpdater instance to select the event in UI
     */
Selects a given event in UI visually. To unselect all events, pass a null as event.
@param event           event to be selected
@param timelineUpdater TimelineUpdater instance to select the event in UI
Selects a given event in UI visually . To unselect all events pass a null as event . @param event event to be selected @param timelineUpdater TimelineUpdater instance to select the event in UI
public void select(TimelineEvent<E> event, TimelineUpdater timelineUpdater) {
        if (timelineUpdater != null) {
            timelineUpdater.select(event != null ? event.getId() : null);
        }
    }
public void select ( TimelineEvent < E > event , TimelineUpdater timelineUpdater ) { if ( timelineUpdater != null ) { timelineUpdater . select ( event != null ? event . getId ( ) : null ) ; } }
Selects a given event in UI visually.
Selects a given event in UI visually .
// update UI