Package org.primefaces.extensions.model.timeline

Examples of org.primefaces.extensions.model.timeline.DefaultTimelineEvent


        timelines = new ArrayList<Timeline>();

        Calendar cal = Calendar.getInstance();
        Timeline timeline = new DefaultTimeLine("prh", "Primefaces Release History");
        cal.set(2011, Calendar.MARCH, 10);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.1", cal.getTime()));
        cal.set(2012, Calendar.JANUARY, 23);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.2.0", cal.getTime()));
        cal.set(2012, Calendar.FEBRUARY, 2);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces Extensions 0.3.0", cal.getTime()));
        cal.set(2012, Calendar.FEBRUARY, 16);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.4.0", cal.getTime()));
        cal.set(2012, Calendar.APRIL, 10);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.5.0", cal.getTime()));
        cal.set(2012, Calendar.APRIL, 19);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.5.1", cal.getTime()));
        cal.set(2012, Calendar.JULY, 26);
        timeline.addEvent(new DefaultTimelineEvent("Primefaces-Extensions 0.6.0", cal.getTime()));
        timelines.add(timeline);
    }
View Full Code Here

TOP

Related Classes of org.primefaces.extensions.model.timeline.DefaultTimelineEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.