| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private static Locale | |
| private static final String | |
| private static ResourceBundle | |
| private static Locale |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static final String | |
| public static final Locale | Returns: the global ControlsFX localeReturns the Locale object that is associated with ControlsFX. |
| private static final synchronized ResourceBundle | |
| public static final String | |
| public static final boolean | |
| public static String | |
| public static final void |
| KEY_PREFIX | back to summary |
|---|---|
| public static final String KEY_PREFIX | |
| locale | back to summary |
|---|---|
| private static Locale locale | |
| LOCALE_BUNDLE_NAME | back to summary |
|---|---|
| private static final String LOCALE_BUNDLE_NAME | |
| resourceBundle | back to summary |
|---|---|
| private static ResourceBundle resourceBundle | |
| resourceBundleLocale | back to summary |
|---|---|
| private static Locale resourceBundleLocale | |
| Localization | back to summary |
|---|---|
| private Localization() | |
| asKey | back to summary |
|---|---|
| public static final String asKey(String text) Converts text to localization key, currently by prepending it with the KEY_PREFIX
| |
| getLocale | back to summary |
|---|---|
| public static final Locale getLocale() Returns the Locale object that is associated with ControlsFX.
| |
| getLocaleBundle | back to summary |
|---|---|
| private static final synchronized ResourceBundle getLocaleBundle() | |
| getString | back to summary |
|---|---|
| public static final String getString(final String key) Returns a string localized using currently set locale | |
| isKey | back to summary |
|---|---|
| public static final boolean isKey(String text) Checks if the text is a localization key
| |
| localize | back to summary |
|---|---|
| public static String localize(String text) Tries to localize the text. If the text is a localization key - and attempt will be made to use it for localization, otherwise the text is returned as is | |
| setLocale | back to summary |
|---|---|
| public static final void setLocale(final Locale newLocale) Sets locale which will be used as ControlsFX locale
| |