org.richfaces.model

## Interface CalendarDataModel

-     public interface CalendarDataModel

  Author:
    Alexej Kushunin created 19.06.2007

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `CalendarDataModelItem[]` | `getData(Date[] dateArray)`
    `Object` | `getToolTip(Date date)`

- - ### Method Detail

    - #### getData

          CalendarDataModelItem[] getData(Date[] dateArray)

      Returns:
        array of CalendarDataModelItems for selected dates. This method will be called every time when components will need next block of CalendarDataItems. That may happens when calendar rendered, or when user navigate to next(previous) month or in any other case when calendar renders. This method will be called in Ajax mode when Calendar renders new page.

    - #### getToolTip

          Object getToolTip(Date date)

      Returns:
        tool tip when it's used in "single" mode This method used when tool tips are displayed in "single" mode

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