com.michaelbaranov.microba.calendar
Interface CalendarResources

All Known Implementing Classes:
DefaultCalendarResources

public interface CalendarResources

An interface is used to provide localized string resources for CalendarPane and DatePicker classes.

Author:
Michael Baranov

Field Summary
static java.lang.String KEY_NONE
          A key for "none" word
static java.lang.String KEY_TODAY
          A key for "today" word
 
Method Summary
 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.
 

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 for CalendarPane and DatePicker classes. Should not return null.

Parameters:
key - one of the keys defined by CalendarResources
locale - a Locale
Returns:
localized string resource for a given key