|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HolidayPolicy
This interface is used by CalendarPane
and DatePicker
to
provide means to define hollidays and optionally provide descriptions to
them.
Method Summary | |
---|---|
java.lang.String |
getHollidayName(java.lang.Object source,
java.util.Calendar date)
This method is used to query a description for a holliday date. |
boolean |
isHolliday(java.lang.Object source,
java.util.Calendar date)
This method is used to check if a date is a holliday. |
boolean |
isWeekend(java.lang.Object source,
java.util.Calendar date)
This method is used to check if a date is a weekend date. |
Methods inherited from interface com.michaelbaranov.microba.common.Policy |
---|
addVetoPolicyListener, removeVetoPolicyListener |
Method Detail |
---|
boolean isHolliday(java.lang.Object source, java.util.Calendar date)
source
- a control calling this methoddate
- a date to check
true
if given date
is a holliday
false
otherwiseboolean isWeekend(java.lang.Object source, java.util.Calendar date)
source
- a control calling this methoddate
- a date to check
true
if given date
is weekend date
false
otherwisejava.lang.String getHollidayName(java.lang.Object source, java.util.Calendar date)
source
- a control calling this methoddate
- a holliday date to get the description for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |