Package | Description |
---|---|
org.primefaces.component.timeline | |
org.primefaces.event.timeline | |
org.primefaces.model.timeline |
Modifier and Type | Method and Description |
---|---|
abstract void |
TimelineUpdater.add(TimelineEvent<?> event) |
void |
DefaultTimelineUpdater.add(TimelineEvent<?> event) |
protected String |
TimelineRenderer.encodeEvent(javax.faces.context.FacesContext context,
FastStringWriter fsw,
FastStringWriter fswHtml,
Timeline timeline,
javax.faces.component.UIComponent eventTitleFacet,
ZoneId zoneId,
List<TimelineGroup<Object>> groups,
TimelineEvent<?> event) |
abstract void |
TimelineUpdater.update(TimelineEvent<?> event) |
void |
DefaultTimelineUpdater.update(TimelineEvent<?> event) |
void |
TimelineUpdater.update(TimelineEvent<?> event,
int index)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
TimelineEvent<T> |
TimelineModificationEvent.getTimelineEvent()
Gets a cloned
TimelineEvent with the modifications if any. |
TimelineEvent<T> |
TimelineSelectEvent.getTimelineEvent() |
Constructor and Description |
---|
TimelineModificationEvent(javax.faces.component.UIComponent component,
javax.faces.component.behavior.Behavior behavior,
TimelineEvent<T> timelineEvent) |
TimelineSelectEvent(javax.faces.component.UIComponent component,
javax.faces.component.behavior.Behavior behavior,
TimelineEvent<T> timelineEvent) |
Modifier and Type | Method and Description |
---|---|
TimelineEvent<T> |
TimelineEvent.Builder.build() |
TimelineEvent<E> |
TimelineModel.getEvent(int index)
Deprecated.
get event by id using
TimelineModel.getEvent(java.lang.String) instead. |
TimelineEvent<E> |
TimelineModel.getEvent(String id)
Gets event by its id property.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events)
Merge the given one event with the given collection of events without UI update.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Merge the given one event with the given collection of events with UI update.
|
Modifier and Type | Method and Description |
---|---|
List<TimelineEvent<E>> |
TimelineModel.getEvents()
Gets all events in this model
|
Set<TimelineEvent<E>> |
TimelineModel.getOverlappedEvents(TimelineEvent<E> event)
Gets all overlapped events to the given one.
|
Modifier and Type | Method and Description |
---|---|
void |
TimelineModel.add(TimelineEvent<E> event)
Adds a given event to the model without UI update.
|
void |
TimelineModel.add(TimelineEvent<E> event,
TimelineUpdater timelineUpdater)
Adds a given event to the model with UI update.
|
static <T> TimelineEvent.Builder<T> |
TimelineEvent.builder(TimelineEvent<T> event) |
void |
TimelineModel.delete(TimelineEvent<E> event)
Deletes a given event in the model without UI update.
|
void |
TimelineModel.delete(TimelineEvent<E> event,
TimelineUpdater timelineUpdater)
Deletes a given event in the model with UI update.
|
int |
TimelineModel.getIndex(TimelineEvent<E> event)
Deprecated.
The index property is no longer necessary with the addition of
getId() property.
This method could be changed to private in next releases.
See issue 5143 for more information. |
Set<TimelineEvent<E>> |
TimelineModel.getOverlappedEvents(TimelineEvent<E> event)
Gets all overlapped events to the given one.
|
boolean |
TimelineModel.hasEvent(TimelineEvent<E> event)
Check if current model has the event passed as parameter.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events)
Merge the given one event with the given collection of events without UI update.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Merge the given one event with the given collection of events with UI update.
|
void |
TimelineModel.select(TimelineEvent<E> event,
TimelineUpdater timelineUpdater)
Selects a given event in UI visually.
|
void |
TimelineModel.update(TimelineEvent<E> event)
Updates a given event in the model without UI update.
|
void |
TimelineModel.update(TimelineEvent<E> event,
TimelineUpdater timelineUpdater)
Updates a given event in the model with UI update.
|
Modifier and Type | Method and Description |
---|---|
void |
TimelineModel.addAll(Collection<TimelineEvent<E>> events)
Adds all given event to the model without UI update.
|
void |
TimelineModel.addAll(Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Adds all given events to the model with UI update.
|
void |
TimelineModel.deleteAll(Collection<TimelineEvent<E>> events)
Deletes all given events in the model without UI update.
|
void |
TimelineModel.deleteAll(Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Deletes all given events in the model with UI update.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events)
Merge the given one event with the given collection of events without UI update.
|
TimelineEvent<E> |
TimelineModel.merge(TimelineEvent<E> event,
Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Merge the given one event with the given collection of events with UI update.
|
void |
TimelineModel.setEvents(List<TimelineEvent<E>> events)
Sets events into this model
|
void |
TimelineModel.updateAll(Collection<TimelineEvent<E>> events)
Updates all given events in the model without UI update.
|
void |
TimelineModel.updateAll(Collection<TimelineEvent<E>> events,
TimelineUpdater timelineUpdater)
Updates all given events in the model with UI update.
|
Constructor and Description |
---|
TimelineEvent(TimelineEvent<T> event)
Deprecated.
Use
TimelineEvent.Builder instead. |
Constructor and Description |
---|
TimelineModel(List<TimelineEvent<E>> events) |
TimelineModel(List<TimelineEvent<E>> events,
List<TimelineGroup<G>> groups) |
Copyright © 2020. All rights reserved.