org.primefaces.extensions.component.timeline
Class TimelineUpdater
java.lang.Object
org.primefaces.extensions.component.timeline.TimelineUpdater
- Direct Known Subclasses:
- DefaultTimelineUpdater
public abstract class TimelineUpdater
- extends java.lang.Object
Server-side API to update the Timeline's UI.
- Since:
- 0.7
- Version:
- $Revision: 1.0 $
- Author:
- Oleg Varaksin / last modified by $Author: $
|
Field Summary |
protected java.lang.String |
id
The same id of the Timeline component in terms of findComponent() as in getCurrentInstance(String) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected java.lang.String id
- The same id of the Timeline component in terms of findComponent() as in
getCurrentInstance(String)
TimelineUpdater
public TimelineUpdater()
getCurrentInstance
public static TimelineUpdater getCurrentInstance(java.lang.String id)
- 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
public abstract void add(TimelineEvent event)
update
public abstract void update(TimelineEvent event,
int index)
delete
public abstract void delete(int index)
select
public abstract void select(int index)
clear
public abstract void clear()
Copyright © 2011-2013. All Rights Reserved.