net.sf.tacos.components.timeline
Class TimelineEvent

java.lang.Object
  extended by net.sf.tacos.components.timeline.TimelineEvent

public class TimelineEvent
extends Object

Simple bean holding event data for http://simile.mit.edu/timeline/ dhtml control.

Author:
Andreas Andreou, amplafi.com

Constructor Summary
TimelineEvent()
           
 
Method Summary
 org.apache.tapestry.json.JSONObject appendTo(org.apache.tapestry.json.JSONObject obj)
           
 String getDescription()
           
 Calendar getEnd()
           
 String getLink()
           
 Calendar getStart()
           
 String getTitle()
           
 void setDescription(String description)
           
 void setEnd(Calendar end)
          Sets the end of the event.
 void setLink(String link)
           
 void setStart(Calendar start)
          Sets the start of the event.
 void setTitle(String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimelineEvent

public TimelineEvent()
Method Detail

getStart

public Calendar getStart()

setStart

public void setStart(Calendar start)
Sets the start of the event. If the given date is after the ending, they're swapped.

Parameters:
start -

getEnd

public Calendar getEnd()

setEnd

public void setEnd(Calendar end)
Sets the end of the event. If the given date is before the starting, they're swapped.

Parameters:
end -

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getLink

public String getLink()

setLink

public void setLink(String link)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

appendTo

public org.apache.tapestry.json.JSONObject appendTo(org.apache.tapestry.json.JSONObject obj)


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.