Enum ResourceBundleManager.BundleType
java.lang.Object
java.lang.Enum<ResourceBundleManager.BundleType>
com.dlsc.gemsfx.util.ResourceBundleManager.BundleType
- All Implemented Interfaces:
Serializable, Comparable<ResourceBundleManager.BundleType>
- Enclosing class:
ResourceBundleManager
Typed categories for the currently supported i18n bundle domains.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBundle type for arc progress indicator resources.Bundle type for avatar view resources.Bundle type for before-after view resources.Bundle type for calendar view resources.Bundle type for chip view resources.Bundle type for chips view container resources.Bundle type for date range picker resources.Bundle type for date range view resources.Bundle type for day-of-week picker resources.Bundle type for dialog pane resources.Bundle type for drawer stack pane resources.Bundle type for duration picker resources.Bundle type for email field resources.Bundle type for enhanced label resources.Bundle type for filter view resources.Bundle type for grid table column resources.Bundle type for grid table view resources.Bundle type for info center view resources.Bundle type for inner list view resources.Bundle type for item paging control resources.Bundle type for multi-column list view resources.Bundle type for notification view resources.Bundle type for paging control resources.Bundle type for photo view resources.Bundle type for pop-over resources.Bundle type for recent files resources.Bundle type for screens view resources.Bundle type for search field resources.Bundle type for search text field resources.Bundle type used for segmented bar localization lookups.Bundle type for selection box resources.Bundle type used for simple filter view localization lookups.Bundle type used for skeleton localization lookups.Bundle type for text view resources.Bundle type for time picker resources.Bundle type for time range picker resources.Bundle type for tree node view resources.Bundle type for year-month picker resources.Bundle type used for year-month view localization lookups.Bundle type used for year view localization lookups. -
Method Summary
Modifier and TypeMethodDescriptionFormats the localized string for the given key withMessageFormat.Returns the base name of the resource bundle.Returns the localized string for the given key from this bundle type.Returns the localized string for the given key from this bundle type.Returns the enum constant of this type with the specified name.static ResourceBundleManager.BundleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ARC_PROGRESS_INDICATOR
Bundle type for arc progress indicator resources. -
AVATAR_VIEW
Bundle type for avatar view resources. -
BEFORE_AFTER_VIEW
Bundle type for before-after view resources. -
CALENDAR_VIEW
Bundle type for calendar view resources. -
CHIP_VIEW
Bundle type for chip view resources. -
CHIPS_VIEW_CONTAINER
Bundle type for chips view container resources. -
DATE_RANGE_PICKER
Bundle type for date range picker resources. -
DATE_RANGE_VIEW
Bundle type for date range view resources. -
DAY_OF_WEEK_PICKER
Bundle type for day-of-week picker resources. -
DIALOG_PANE
Bundle type for dialog pane resources. -
DRAWER_STACK_PANE
Bundle type for drawer stack pane resources. -
DURATION_PICKER
Bundle type for duration picker resources. -
EMAIL_FIELD
Bundle type for email field resources. -
ENHANCED_LABEL
Bundle type for enhanced label resources. -
FILTER_VIEW
Bundle type for filter view resources. -
GRID_TABLE_COLUMN
Bundle type for grid table column resources. -
GRID_TABLE_VIEW
Bundle type for grid table view resources. -
INFO_CENTER_VIEW
Bundle type for info center view resources. -
INNER_LIST_VIEW
Bundle type for inner list view resources. -
ITEM_PAGING_CONTROL
Bundle type for item paging control resources. -
MULTI_COLUMN_LIST_VIEW
Bundle type for multi-column list view resources. -
NOTIFICATION_VIEW
Bundle type for notification view resources. -
PAGING_CONTROL
Bundle type for paging control resources. -
PHOTO_VIEW
Bundle type for photo view resources. -
POP_OVER
Bundle type for pop-over resources. -
RECENT_FILES
Bundle type for recent files resources. -
SCREENS_VIEW
Bundle type for screens view resources. -
SEARCH_FIELD
Bundle type for search field resources. -
SEARCH_TEXT_FIELD
Bundle type for search text field resources. -
SEGMENTED_BAR
Bundle type used for segmented bar localization lookups. -
SELECTION_BOX
Bundle type for selection box resources. -
SIMPLE_FILTER_VIEW
Bundle type used for simple filter view localization lookups. -
SKELETON
Bundle type used for skeleton localization lookups. -
TEXT_VIEW
Bundle type for text view resources. -
TIME_PICKER
Bundle type for time picker resources. -
TIME_RANGE_PICKER
Bundle type for time range picker resources. -
TREE_NODE_VIEW
Bundle type for tree node view resources. -
YEAR_MONTH_PICKER
Bundle type for year-month picker resources. -
YEAR_MONTH_VIEW
Bundle type used for year-month view localization lookups. -
YEAR_VIEW
Bundle type used for year view localization lookups.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getBaseName
-
getString
-
getString
Returns the localized string for the given key from this bundle type.- Parameters:
key- the resource keyfallbackValue- the fallback value used when the key or bundle is missing- Returns:
- the localized string, or the fallback value if it is missing
-
format
Formats the localized string for the given key withMessageFormat.- Parameters:
key- the resource keyargs- the arguments inserted into the localized pattern- Returns:
- the formatted localized string
-