All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wicketstuff.simile.timeline.TimelineModel Maven / Gradle / Ivy

There is a newer version: 1.5-RC5.1
Show newest version
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);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy