Class EventSource.GoogleCalendar
- java.lang.Object
-
- com.googlecode.wicket.jquery.ui.calendar.EventSource
-
- com.googlecode.wicket.jquery.ui.calendar.EventSource.GoogleCalendar
-
- All Implemented Interfaces:
Serializable,org.apache.wicket.util.io.IClusterable
- Enclosing class:
- EventSource
public static class EventSource.GoogleCalendar extends EventSource
Provides a Google CalendarEventSource- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.googlecode.wicket.jquery.ui.calendar.EventSource
EventSource.GoogleCalendar
-
-
Constructor Summary
Constructors Constructor Description GoogleCalendar(String calendarId)ConstructorGoogleCalendar(String calendarId, String apiKey)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.googlecode.wicket.jquery.core.OptionscreateOptions()StringgetGoogleCalendarApiKey()Gets the calendar api keyStringgetGoogleCalendarError()Gets the error callbackStringgetGoogleCalendarId()Gets the calendar idEventSource.GoogleCalendarsetGoogleCalendarApiKey(String apiKey)Sets the calendar api keyEventSource.GoogleCalendarsetGoogleCalendarError(String callback)Sets the error callback-
Methods inherited from class com.googlecode.wicket.jquery.ui.calendar.EventSource
getAllDayDefault, getBackgroundColor, getBorderColor, getClassName, getColor, getConstraint, getDurationEditable, getEditable, getEventDataTransform, getOverlap, getRendering, getStartEditable, getTextColor, setAllDayDefault, setBackgroundColor, setBorderColor, setClassName, setColor, setConstraint, setDurationEditable, setEditable, setEventDataTransform, setOverlap, setRendering, setStartEditable, setTextColor, toString
-
-
-
-
Method Detail
-
getGoogleCalendarId
public String getGoogleCalendarId()
Gets the calendar id- Returns:
- the calendar id
-
getGoogleCalendarApiKey
public String getGoogleCalendarApiKey()
Gets the calendar api key- Returns:
- the calendar api key
-
setGoogleCalendarApiKey
public EventSource.GoogleCalendar setGoogleCalendarApiKey(String apiKey)
Sets the calendar api key- Parameters:
apiKey- the calendar api key- Returns:
- this, for chaining
-
getGoogleCalendarError
public String getGoogleCalendarError()
Gets the error callback- Returns:
- the callback
-
setGoogleCalendarError
public EventSource.GoogleCalendar setGoogleCalendarError(String callback)
Sets the error callback- Parameters:
callback- the callback, in case of error- Returns:
- this, for chaining
-
createOptions
protected com.googlecode.wicket.jquery.core.Options createOptions()
- Overrides:
createOptionsin classEventSource
-
-