Java Calendar Component v3.1
www.java-calendar.com

com.imagine.component.calendar.renderers
Class CalendarRendererProviderRoundRect

java.lang.Object
  extended bycom.imagine.component.calendar.renderers.CalendarRendererProvider
      extended bycom.imagine.component.calendar.renderers.CalendarRendererProviderRoundRect

public class CalendarRendererProviderRoundRect
extends CalendarRendererProvider

Define an RoundRect renderer provider.


Field Summary
 
Fields inherited from class com.imagine.component.calendar.renderers.CalendarRendererProvider
calendarComponent
 
Constructor Summary
CalendarRendererProviderRoundRect()
           
 
Method Summary
 CalendarBackgroundRenderer getBackgroundRenderer(CalendarBackgroundInfo calendarBackgroundInfo)
          Get the background renderer which will be used to paint the calendar background.
 CalendarHeaderCellRenderer getHeaderCellRenderer(CalendarHeaderCellInfo calendarHeaderCellInfo)
          Get the header cell renderer which will be used to paint the header cell.
 java.lang.String getName()
          Get the name of the provider.
 CalendarStatusPanelRenderer getStatusPanelRenderer(CalendarStatusPanelInfo calendarStatusPanelInfo)
          Get the renderer for the status panel.
 CalendarTableCellRenderer getTableCellRenderer(CalendarTableCellInfo calendarTableCellInfo)
          Get the table cell renderer which will be used to paint the table cell.
 CalendarWeekCellRenderer getWeekCellRenderer(CalendarWeekCellInfo calendarWeekCellInfo)
          Get the week cell renderer which will be used to paint the week cell.
 boolean hasBackgroundRenderer()
          Returns true if the specified calendar component associated has a background renderer.
 
Methods inherited from class com.imagine.component.calendar.renderers.CalendarRendererProvider
getCalendarComponent, setCalendarComponent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CalendarRendererProviderRoundRect

public CalendarRendererProviderRoundRect()
Method Detail

getTableCellRenderer

public CalendarTableCellRenderer getTableCellRenderer(CalendarTableCellInfo calendarTableCellInfo)
Description copied from class: CalendarRendererProvider
Get the table cell renderer which will be used to paint the table cell.

Specified by:
getTableCellRenderer in class CalendarRendererProvider
Parameters:
calendarTableCellInfo - The calendar table cell info which contains informations about the current table cell.
Returns:
The cell renderer which will be used to paint the table cell.

getWeekCellRenderer

public CalendarWeekCellRenderer getWeekCellRenderer(CalendarWeekCellInfo calendarWeekCellInfo)
Description copied from class: CalendarRendererProvider
Get the week cell renderer which will be used to paint the week cell.

Specified by:
getWeekCellRenderer in class CalendarRendererProvider
Parameters:
calendarWeekCellInfo - The calendar week cell info which contains informations about the current week cell.
Returns:
The cell renderer which will be used to paint the week cell.

getHeaderCellRenderer

public CalendarHeaderCellRenderer getHeaderCellRenderer(CalendarHeaderCellInfo calendarHeaderCellInfo)
Description copied from class: CalendarRendererProvider
Get the header cell renderer which will be used to paint the header cell.

Specified by:
getHeaderCellRenderer in class CalendarRendererProvider
Parameters:
calendarHeaderCellInfo - The calendar header cell info which contains informations about the current header cell.
Returns:
The cell renderer which will be used to paint the header cell.

getBackgroundRenderer

public CalendarBackgroundRenderer getBackgroundRenderer(CalendarBackgroundInfo calendarBackgroundInfo)
Description copied from class: CalendarRendererProvider
Get the background renderer which will be used to paint the calendar background.

Specified by:
getBackgroundRenderer in class CalendarRendererProvider
Parameters:
calendarBackgroundInfo - The calendar background info which contains informations about the calendar background.
Returns:
The renderer which will be used to paint the background.

hasBackgroundRenderer

public boolean hasBackgroundRenderer()
Description copied from class: CalendarRendererProvider
Returns true if the specified calendar component associated has a background renderer.

Specified by:
hasBackgroundRenderer in class CalendarRendererProvider
Returns:
true if the specified calendar component associated has a background renderer.

getName

public java.lang.String getName()
Description copied from class: CalendarRendererProvider
Get the name of the provider.

Specified by:
getName in class CalendarRendererProvider
Returns:
The name of the provider.

getStatusPanelRenderer

public CalendarStatusPanelRenderer getStatusPanelRenderer(CalendarStatusPanelInfo calendarStatusPanelInfo)
Description copied from class: CalendarRendererProvider
Get the renderer for the status panel. The status panel contains the "Today" and "None" buttons. The "None" button is displayed only if empty selection is allowed.

Specified by:
getStatusPanelRenderer in class CalendarRendererProvider
Parameters:
calendarStatusPanelInfo - Contains informations about the status panel.
Returns:
The renderer which will be used to paint the status panel.

Java Calendar Component v3.1
www.java-calendar.com