Class TimelineUpdater
java.lang.Object
org.primefaces.component.timeline.TimelineUpdater
- Direct Known Subclasses:
DefaultTimelineUpdater
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe same id of the Timeline component in terms of findComponent() as ingetCurrentInstance(String) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidadd(TimelineEvent<?> event) abstract voidclear()abstract voidstatic TimelineUpdaterGets the current thread-safe TimelineUpdater instance by Id.abstract voidabstract voidupdate(TimelineEvent<?> event)
-
Field Details
-
id
The same id of the Timeline component in terms of findComponent() as ingetCurrentInstance(String)
-
-
Constructor Details
-
TimelineUpdater
public TimelineUpdater()
-
-
Method Details
-
getCurrentInstance
Gets the current thread-safe TimelineUpdater instance by Id.- Parameters:
id- Id of the Timeline component in terms of findComponent()- Returns:
- TimelineUpdater instance.
- Throws:
javax.faces.FacesException- if the Timeline component can not be found by the given Id
-
add
-
update
-
delete
-
select
-
clear
public abstract void clear()
-