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 Calendar EventSource
See Also:
  • Constructor Details

    • GoogleCalendar

      public GoogleCalendar(String calendarId)
      Constructor
      Parameters:
      calendarId - the calendar id
    • GoogleCalendar

      public GoogleCalendar(String calendarId, String apiKey)
      Constructor
      Parameters:
      calendarId - the calendar id
      apiKey - the calendar api key
  • Method Details

    • 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:
      createOptions in class EventSource