org.richfaces.model
Interface CalendarDataModelItem
public interface CalendarDataModelItem
- Author:
- Alexej Kushunin
created 19.06.2007
isEnabled
boolean isEnabled()
- Returns:
- true if date is ???selectable??? on calendar, default implementation return true
getStyleClass
java.lang.String getStyleClass()
- Returns:
- String that will be appended to style class for that date span.
For example it may be ???relevant holyday??? ??? that mean class will be like ???rich-cal-day relevant holyday???.
Default implementation return empty string.
getData
java.lang.Object getData()
- Returns:
- any additional payload that must be JSON-serialazable object.
May be used in custom date representation on calendar (inside custom facet).
hasToolTip
boolean hasToolTip()
- Returns:
- true if given date has an associated with it tooltip data.
Default implementation return false.
getToolTip
java.lang.Object getToolTip()
- Returns:
- tool tip data that will be used in ???batch??? tooltip loading mode.
getDay
int getDay()
- Returns:
- day of the month on which data must be shown.
Copyright © 2009. All Rights Reserved.