Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jdesktop.swingx.plaf.basic
Interface CalendarRenderingHandler

All Known Implementing Classes:
  BasicMonthViewUI.RenderingHandler

    public interface CalendarRenderingHandler

The RenderingHandler responsible for text rendering. It provides and configures a rendering component for the given cell of a JXMonthView.

Author:
  Jeanette Winzenburg

Method Summary
`javax.swing.JComponent` | `prepareRenderingComponent(JXMonthView monthView, java.util.Calendar calendar, CalendarState state)` Configures and returns a component for rendering of the given monthView cell.
`void` | `setLocale(java.util.Locale locale)` Updates internal state to the given Locale.

Method Detail

### prepareRenderingComponent

    javax.swing.JComponent prepareRenderingComponent(JXMonthView monthView,
                                                     java.util.Calendar calendar,
                                                     CalendarState state)

  Configures and returns a component for rendering of the given monthView cell.

  Parameters:
    `monthView` - the JXMonthView to render onto
    `calendar` - the cell value
    `state` - the DayState of the cell
  Returns:
    a component configured for rendering the given cell

### setLocale

    void setLocale(java.util.Locale locale)

  Updates internal state to the given Locale. PENDING JW: ideally, the handler should be stateless and this method removed. Currently needed because there is no way to get the Locale from a Calendar.

  Parameters:
    `locale` - the new Locale.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010. All Rights Reserved.