Package org.ical4j.integration
Interface CalendarListenerSupport
-
public interface CalendarListenerSupport
Provide support for notifying calendar listeners of events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
addCalendarAddListener(CalendarAddListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.ADD
events.default boolean
addCalendarCancelListener(CalendarCancelListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.CANCEL
events.default boolean
addCalendarCounterListener(CalendarCounterListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.COUNTER
events.default boolean
addCalendarDeclineCounterListener(CalendarDeclineCounterListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.DECLINE_COUNTER
events.default boolean
addCalendarPublishListener(CalendarPublishListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.PUBLISH
events.default boolean
addCalendarRefreshListener(CalendarRefreshListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REFRESH
events.default boolean
addCalendarReplyListener(CalendarReplyListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REPLY
events.default boolean
addCalendarRequestListener(CalendarRequestListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REQUEST
events.default void
fireCalendarEvent(net.fortuna.ical4j.model.Calendar calendar)
ListenerList<Object>
getCalendarListeners()
default boolean
removeCalendarAddListener(CalendarAddListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.ADD
events.default boolean
removeCalendarCancelListener(CalendarCancelListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.CANCEL
events.default boolean
removeCalendarCounterListener(CalendarCounterListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.COUNTER
events.default boolean
removeCalendarDeclineCounterListener(CalendarDeclineCounterListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.DECLINE_COUNTER
events.default boolean
removeCalendarPublishListener(CalendarPublishListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.PUBLISH
events.default boolean
removeCalendarRefreshListener(CalendarRefreshListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REFRESH
events.default boolean
removeCalendarReplyListener(CalendarReplyListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REPLY
events.default boolean
removeCalendarRequestListener(CalendarRequestListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REQUEST
events.
-
-
-
Method Detail
-
getCalendarListeners
ListenerList<Object> getCalendarListeners()
-
addCalendarPublishListener
default boolean addCalendarPublishListener(CalendarPublishListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.PUBLISH
events.- Parameters:
listener
- a calendar publish listener- Returns:
- true if listener was registered successfully
-
removeCalendarPublishListener
default boolean removeCalendarPublishListener(CalendarPublishListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.PUBLISH
events.- Parameters:
listener
- a calendar publish listener- Returns:
- true if listener was unregistered successfully
-
addCalendarRequestListener
default boolean addCalendarRequestListener(CalendarRequestListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REQUEST
events.- Parameters:
listener
- a calendar request listener- Returns:
- true if listener was registered successfully
-
removeCalendarRequestListener
default boolean removeCalendarRequestListener(CalendarRequestListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REQUEST
events.- Parameters:
listener
- a calendar request listener- Returns:
- true if listener was unregistered successfully
-
addCalendarReplyListener
default boolean addCalendarReplyListener(CalendarReplyListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REPLY
events.- Parameters:
listener
- a calendar reply listener- Returns:
- true if listener was registered successfully
-
removeCalendarReplyListener
default boolean removeCalendarReplyListener(CalendarReplyListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REPLY
events.- Parameters:
listener
- a calendar reply listener- Returns:
- true if listener was unregistered successfully
-
addCalendarAddListener
default boolean addCalendarAddListener(CalendarAddListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.ADD
events.- Parameters:
listener
- a calendar add listener- Returns:
- true if listener was registered successfully
-
removeCalendarAddListener
default boolean removeCalendarAddListener(CalendarAddListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.ADD
events.- Parameters:
listener
- a calendar add listener- Returns:
- true if listener was unregistered successfully
-
addCalendarCancelListener
default boolean addCalendarCancelListener(CalendarCancelListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.CANCEL
events.- Parameters:
listener
- a calendar cancel listener- Returns:
- true if listener was registered successfully
-
removeCalendarCancelListener
default boolean removeCalendarCancelListener(CalendarCancelListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.CANCEL
events.- Parameters:
listener
- a calendar cancel listener- Returns:
- true if listener was unregistered successfully
-
addCalendarRefreshListener
default boolean addCalendarRefreshListener(CalendarRefreshListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.REFRESH
events.- Parameters:
listener
- a calendar refresh listener- Returns:
- true if listener was registered successfully
-
removeCalendarRefreshListener
default boolean removeCalendarRefreshListener(CalendarRefreshListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.REFRESH
events.- Parameters:
listener
- a calendar refresh listener- Returns:
- true if listener was unregistered successfully
-
addCalendarCounterListener
default boolean addCalendarCounterListener(CalendarCounterListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.COUNTER
events.- Parameters:
listener
- a calendar counter listener- Returns:
- true if listener was registered successfully
-
removeCalendarCounterListener
default boolean removeCalendarCounterListener(CalendarCounterListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.COUNTER
events.- Parameters:
listener
- a calendar counter listener- Returns:
- true if listener was unregistered successfully
-
addCalendarDeclineCounterListener
default boolean addCalendarDeclineCounterListener(CalendarDeclineCounterListener listener)
Register listener for calendarnet.fortuna.ical4j.model.property.Method.DECLINE_COUNTER
events.- Parameters:
listener
- a calendar decline counter listener- Returns:
- true if listener was registered successfully
-
removeCalendarDeclineCounterListener
default boolean removeCalendarDeclineCounterListener(CalendarDeclineCounterListener listener)
Unregister listener for calendarnet.fortuna.ical4j.model.property.Method.DECLINE_COUNTER
events.- Parameters:
listener
- a calendar decline counter listener- Returns:
- true if listener was unregistered successfully
-
fireCalendarEvent
default void fireCalendarEvent(net.fortuna.ical4j.model.Calendar calendar)
-
-