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)
Deprecated.
|
abstract void |
delete(String id) |
static TimelineUpdater |
getCurrentInstance(String id)
Gets the current thread-safe TimelineUpdater instance by Id.
|
abstract void |
select(int index)
Deprecated.
|
abstract void |
select(String id) |
abstract void |
update(TimelineEvent<?> event) |
void |
update(TimelineEvent<?> event,
int index)
Deprecated.
|
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)
@Deprecated public void update(TimelineEvent<?> event, int index)
public abstract void update(TimelineEvent<?> event)
@Deprecated public abstract void delete(int index)
public abstract void delete(String id)
@Deprecated public abstract void select(int index)
public abstract void select(String id)
public abstract void clear()
Copyright © 2020. All rights reserved.