public abstract class TimelineUpdater extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
id
The same id of the Timeline component in terms of findComponent() as in
getCurrentInstance(String) |
Constructor and Description |
---|
TimelineUpdater() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(TimelineEvent event) |
abstract void |
clear() |
abstract void |
delete(int index) |
static TimelineUpdater |
getCurrentInstance(String id)
Gets the current thread-safe TimelineUpdater instance by Id.
|
abstract void |
select(int index) |
abstract void |
update(TimelineEvent event,
int index) |
protected String id
getCurrentInstance(String)
public static TimelineUpdater getCurrentInstance(String id)
id
- Id of the Timeline component in terms of findComponent()javax.faces.FacesException
- if the Timeline component can not be found by the given Idpublic abstract void add(TimelineEvent event)
public abstract void update(TimelineEvent event, int index)
public abstract void delete(int index)
public abstract void select(int index)
public abstract void clear()
Copyright © 2019. All rights reserved.