org.richfaces.model

## Interface CalendarDataModelItem

-     public interface CalendarDataModelItem

  Author:
    Alexej Kushunin created 19.06.2007

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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.

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.