Interface CalendarResources
-
- All Known Implementing Classes:
DefaultCalendarResources
public interface CalendarResources
An interface is used to provide localized string resources forCalendarPane
andDatePicker
classes.- Author:
- Michael Baranov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getResource(java.lang.String key, java.util.Locale locale)
This method is used to query tring resources forCalendarPane
andDatePicker
classes.
-
-
-
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 forCalendarPane
andDatePicker
classes. Should not returnnull
.- Parameters:
key
- one of the keys defined byCalendarResources
locale
- aLocale
- Returns:
- localized string resource for a given key
-
-