Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
License Agreement. JBoss RichFaces - Ajax4jsf Component Library Copyright (C) 2007 Exadel, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
package org.richfaces.model;

Alexej Kushunin created 19.06.2007
public interface CalendarDataModelItem {

true if date is �selectable� on calendar, default implementation return true
    boolean isEnabled();


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.
    String getStyleClass();


any additional payload that must be JSON-serialazable object. May be used in custom date representation on calendar (inside custom facet).
    Object getData();


true if given date has an associated with it tooltip data. Default implementation return false.
    boolean hasToolTip();


tool tip data that will be used in �batch� tooltip loading mode.
    Object getToolTip();


day of the month on which data must be shown.
    int getDay();
New to GrepCode? Check out our FAQ X