public abstract class ShowEventCustomizer
extends java.lang.Object
Constructor and Description |
---|
ShowEventCustomizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeDefault(CalendarEvent event,
CalendarView calendarView)
Call executeDefault() to run the original method for default behavior
|
Calendar |
getCalendar()
Returns the Calendar being customized
|
void |
setCalendar(Calendar calendar) |
abstract boolean |
shouldShowEvent(CalendarEvent event,
CalendarView calendarView)
shouldShowEvent() should be implemented and return true if the passed event should be visible in the passed view
Use executeDefault() to run the original method to fall back on default behavior.
|
public void setCalendar(Calendar calendar)
public Calendar getCalendar()
public boolean executeDefault(CalendarEvent event, CalendarView calendarView)
public abstract boolean shouldShowEvent(CalendarEvent event, CalendarView calendarView)
event
- the event in questioncalendarView
- the view in which the event will appear