org.wicketstuff.simile.timeline.TimelineModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simile-timeline Show documentation
Show all versions of simile-timeline Show documentation
Simile Timeline widget for Wicket
package org.wicketstuff.simile.timeline;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
public class TimelineModel implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private List events = new ArrayList();
/* (non-Javadoc)
* @see org.wicketstuff.simile.timeline.ITimelineModel#getEvents()
*/
public List getEvents() {
return events;
}
/* (non-Javadoc)
* @see org.wicketstuff.simile.timeline.ITimelineModel#setEvents(java.util.List)
*/
public void setEvents(List events) {
this.events = events;
}
/* (non-Javadoc)
* @see org.wicketstuff.simile.timeline.ITimelineModel#addEvent(org.wicketstuff.simile.timeline.TimelineEventModel)
*/
public void addEvent(TimelineEventModel event)
{
events.add(event);
}
}