|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.swingx.plaf.basic.BasicMonthViewUI.RenderingHandler
protected static class BasicMonthViewUI.RenderingHandler
Empty subclass for backward compatibility. The original implementation was extracted as standalone class and renamed to BasicCalendarRenderingHandler.
This will be available for extension by LAF providers until all collaborators in the new rendering pipeline are ready for public exposure.
Constructor Summary | |
---|---|
protected |
BasicMonthViewUI.RenderingHandler()
|
Method Summary | |
---|---|
protected StringValue |
createDayStringValue(Locale locale)
Creates and returns a StringValue used for rendering days in a month. |
protected StringValue |
createMonthHeaderStringValue(Locale locale)
Creates and returns a StringValue used for rendering the title of a month box. |
protected StringValue |
createWeekOfYearStringValue(Locale locale)
Creates and returns a StringValue used for rendering the week of year. |
JComponent |
prepareRenderingComponent(JXMonthView monthView,
Calendar calendar,
CalendarState dayState)
Configures and returns a component for rendering of the given monthView cell. |
void |
setLocale(Locale locale)
Updates internal state to the given Locale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BasicMonthViewUI.RenderingHandler()
Method Detail |
---|
protected StringValue createMonthHeaderStringValue(Locale locale)
locale
- the Locale to use, might be null to indicate usage of the default
Locale
protected StringValue createWeekOfYearStringValue(Locale locale)
locale
- the Locale to use, might be null to indicate usage of the default
Locale
protected StringValue createDayStringValue(Locale locale)
locale
- the Locale to use, might be null to indicate usage of the default
Locale
public void setLocale(Locale locale)
setLocale
in interface CalendarRenderingHandler
locale
- the new Locale.public JComponent prepareRenderingComponent(JXMonthView monthView, Calendar calendar, CalendarState dayState)
prepareRenderingComponent
in interface CalendarRenderingHandler
monthView
- the JXMonthView to render ontocalendar
- the cell valuedayState
- the DayState of the cell
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |