Class CalendarEvent

java.lang.Object
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:
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String 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 LocalDateTime getStart()
    • setStart

      public void setStart(LocalDateTime start)
    • getEnd

      public LocalDateTime getEnd()
    • setEnd

      public void setEnd(LocalDateTime 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)
    • createOptions

      protected com.googlecode.wicket.jquery.core.Options createOptions()
      Create an Options JSON-object that will embed the (default) properties of this CalendarEvent
      Returns:
      a new Options object
    • 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 - the ICalendarVisitor