com.googlecode.wicket.jquery.ui.calendar
Class CalendarEvent

java.lang.Object
  extended by com.googlecode.wicket.jquery.ui.calendar.CalendarEvent
All Implemented Interfaces:
Serializable

public class CalendarEvent
extends Object
implements Serializable

Provides a base bean that can be used with a CalendarModel

Author:
Sebastien Briquet - sebfz1
See Also:
Serialized Form

Constructor Summary
CalendarEvent(int id, String title, Date date)
           
CalendarEvent(int id, String title, Date start, Date end)
           
 
Method Summary
 void accept(ICalendarVisitor visitor)
          Visitor accept method
 String getBackgroundColor()
           
 String getBorderColor()
           
 String getClassName()
           
 String getColor()
           
 Date getEnd()
           
 int getId()
           
 String getSource()
           
 Date getStart()
           
 String getTextColor()
           
 String getTitle()
           
 CharSequence getUrl()
           
 Boolean isAllDay()
           
 Boolean isEditable()
          Overrides the master editable option for this single event.
 void setAllDay(Boolean allDay)
           
 void setBackgroundColor(String backgroundColor)
           
 void setBorderColor(String borderColor)
           
 void setClassName(String className)
           
 void setColor(String color)
           
 void setColor(String backgroundColor, String borderColor)
           
 void setEditable(Boolean editable)
           
 void setEnd(Date end)
           
 void setId(int id)
           
 void setSource(String source)
           
 void setStart(Date start)
           
 void setTextColor(String textColor)
           
 void setTitle(String title)
           
 void setUrl(CharSequence url)
           
 String toString()
          Gets the JSON representation of this CalendarEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarEvent

public CalendarEvent(int id,
                     String title,
                     Date date)

CalendarEvent

public CalendarEvent(int id,
                     String title,
                     Date start,
                     Date end)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getUrl

public CharSequence getUrl()

setUrl

public void setUrl(CharSequence url)

getTitle

public String getTitle()

setTitle

public void setTitle(String title)

getSource

public String getSource()

setSource

public void setSource(String source)

isAllDay

public Boolean isAllDay()

setAllDay

public void setAllDay(Boolean allDay)

getStart

public Date getStart()

setStart

public void setStart(Date start)

getEnd

public Date getEnd()

setEnd

public void setEnd(Date end)

isEditable

public Boolean isEditable()
Overrides the master editable option for this single event.

Returns:
true or false

setEditable

public void setEditable(Boolean editable)

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getColor

public String getColor()

setColor

public void setColor(String color)

setColor

public void setColor(String backgroundColor,
                     String borderColor)

getBackgroundColor

public String getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(String backgroundColor)

getBorderColor

public String getBorderColor()

setBorderColor

public void setBorderColor(String borderColor)

getTextColor

public String getTextColor()

setTextColor

public void setTextColor(String textColor)

toString

public String toString()
Gets the JSON representation of this CalendarEvent

Overrides:
toString in class Object

accept

public final void accept(ICalendarVisitor visitor)
Visitor accept method

Parameters:
visitor -


Copyright © 2013 7thWeb. All Rights Reserved.