Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.1.0.20111111-CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.model
Interface CalendarDataModelItem

    public interface CalendarDataModelItem

Author:
  Alexej Kushunin created 19.06.2007

Method Summary
`Object` | `getData()`
`int` | `getDay()`
`String` | `getStyleClass()`
`Object` | `getToolTip()`
`boolean` | `hasToolTip()`
`boolean` | `isEnabled()`

Method Detail

### isEnabled

    boolean isEnabled()

  Returns:
    true if date is �selectable� on calendar, default implementation return true

### getStyleClass

    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

    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

    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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.1.0.20111111-CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.