public class DefaultCalendarResources extends java.lang.Object implements CalendarResources
CalendarResources
. Used by default by
CalendarPane
and DatePicker
classes. The resources are loaded
from 'DefaultCalendarResources.properties' file.KEY_NONE, KEY_TODAY
Constructor and Description |
---|
DefaultCalendarResources()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getResource(java.lang.String key,
java.util.Locale locale)
This method is used to query tring resources for
CalendarPane and
DatePicker classes. |
public java.lang.String getResource(java.lang.String key, java.util.Locale locale)
CalendarResources
CalendarPane
and
DatePicker
classes. Should not return null
.getResource
in interface CalendarResources
key
- one of the keys defined by CalendarResources
locale
- a Locale