Interface CalendarResources
-
- All Known Implementing Classes:
DefaultCalendarResources
public interface CalendarResourcesAn interface is used to provide localized string resources forCalendarPaneandDatePickerclasses.- Author:
- Michael Baranov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetResource(java.lang.String key, java.util.Locale locale)This method is used to query tring resources forCalendarPaneandDatePickerclasses.
-
-
-
Field Detail
-
KEY_TODAY
static final java.lang.String KEY_TODAY
A key for "today" word- See Also:
- Constant Field Values
-
KEY_NONE
static final java.lang.String KEY_NONE
A key for "none" word- See Also:
- Constant Field Values
-
-
Method Detail
-
getResource
java.lang.String getResource(java.lang.String key, java.util.Locale locale)This method is used to query tring resources forCalendarPaneandDatePickerclasses. Should not returnnull.- Parameters:
key- one of the keys defined byCalendarResourceslocale- aLocale- Returns:
- localized string resource for a given key
-
-