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
Provides a Google Calendar
EventSource- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.googlecode.wicket.jquery.ui.calendar.EventSource
EventSource.GoogleCalendar -
Constructor Summary
ConstructorsConstructorDescriptionGoogleCalendar(String calendarId) ConstructorGoogleCalendar(String calendarId, String apiKey) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected com.googlecode.wicket.jquery.core.OptionsGets the calendar api keyGets the error callbackGets the calendar idsetGoogleCalendarApiKey(String apiKey) Sets the calendar api keysetGoogleCalendarError(String callback) Sets the error callbackMethods 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
-
Constructor Details
-
GoogleCalendar
Constructor- Parameters:
calendarId- the calendar id
-
GoogleCalendar
Constructor- Parameters:
calendarId- the calendar idapiKey- the calendar api key
-
-
Method Details
-
getGoogleCalendarId
Gets the calendar id- Returns:
- the calendar id
-
getGoogleCalendarApiKey
Gets the calendar api key- Returns:
- the calendar api key
-
setGoogleCalendarApiKey
Sets the calendar api key- Parameters:
apiKey- the calendar api key- Returns:
- this, for chaining
-
getGoogleCalendarError
Gets the error callback- Returns:
- the callback
-
setGoogleCalendarError
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
-