Class CalendarEvent
java.lang.Object
com.googlecode.wicket.jquery.ui.calendar.CalendarEvent
- All Implemented Interfaces:
Serializable
Provides a base bean that can be used with a
CalendarModel- Author:
- Sebastien Briquet - sebfz1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCalendarEvent(String id, String title, LocalDateTime date) CalendarEvent(String id, String title, LocalDateTime start, LocalDateTime end) CalendarEvent(String title, LocalDateTime date) CalendarEvent(String title, LocalDateTime start, LocalDateTime end) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaccept(ICalendarVisitor visitor) Visitor accept methodprotected com.googlecode.wicket.jquery.core.OptionsCreate anOptionsJSON-object that will embed the (default) properties of thisCalendarEventgetColor()getEnd()getId()getStart()getTitle()getUrl()isAllDay()Overrides the master editable option for this single event.voidvoidsetBackgroundColor(String backgroundColor) voidsetBorderColor(String borderColor) voidsetClassName(String className) voidvoidvoidsetEditable(Boolean editable) voidsetEnd(LocalDateTime end) voidvoidvoidsetStart(LocalDateTime start) voidsetTextColor(String textColor) voidvoidsetUrl(CharSequence url) toString()Gets the JSON representation of thisCalendarEvent
-
Constructor Details
-
CalendarEvent
-
CalendarEvent
-
CalendarEvent
-
CalendarEvent
-
-
Method Details
-
getId
-
setId
-
getUrl
-
setUrl
-
getTitle
-
setTitle
-
getSource
-
setSource
-
isAllDay
-
setAllDay
-
getStart
-
setStart
-
getEnd
-
setEnd
-
isEditable
Overrides the master editable option for this single event.- Returns:
- true or false
-
setEditable
-
getClassName
-
setClassName
-
getColor
-
setColor
-
setColor
-
getBackgroundColor
-
setBackgroundColor
-
getBorderColor
-
setBorderColor
-
getTextColor
-
setTextColor
-
createOptions
protected com.googlecode.wicket.jquery.core.Options createOptions()Create anOptionsJSON-object that will embed the (default) properties of thisCalendarEvent- Returns:
- a new
Optionsobject
-
toString
Gets the JSON representation of thisCalendarEvent -
accept
Visitor accept method- Parameters:
visitor- theICalendarVisitor
-