Package com.io7m.jwheatsheaf.ui.internal
Class JWStrings
java.lang.Object
com.io7m.jwheatsheaf.ui.internal.JWStrings
The default application string provider.
-
Method Summary
Modifier and TypeMethodDescriptionfileConfirmReplace
(String name) static ResourceBundle
Retrieve the resource bundle for the current locale.static ResourceBundle
getResourceBundle
(Locale locale) Retrieve the resource bundle for the given locale.static JWStrings
of
(ResourceBundle bundle) Create a new string provider from the given bundle.open()
save()
tooltipDirectory
(Path path) tooltipFile
(Path path)
-
Method Details
-
getResourceBundle
Retrieve the resource bundle for the given locale.- Parameters:
locale
- The locale- Returns:
- The resource bundle
-
getResourceBundle
Retrieve the resource bundle for the current locale.- Returns:
- The resource bundle
-
of
Create a new string provider from the given bundle.- Parameters:
bundle
- The resource bundle- Returns:
- A string provider
-
createDirectoryTitle
- Returns:
- "ui.directoryCreateTitle"
-
recentItems
- Returns:
- "ui.recentItems"
-
filterAllFilesDescription
- Returns:
- "ui.filterAllFilesDescription"
-
filterOnlyDirectoriesDescription
- Returns:
- "ui.filterOnlyDirectoriesDescription"
-
enterDirectoryName
- Returns:
- "ui.directoryName"
-
fileSelect
- Returns:
- "ui.fileSelect"
-
filesSelect
- Returns:
- "ui.filesSelect"
-
open
- Returns:
- "ui.open"
-
save
- Returns:
- "ui.save"
-
enterPathTitle
- Returns:
- "ui.enterPathTitle"
-
enterPath
- Returns:
- "ui.enterPath"
-
tooltipDirectory
- Parameters:
path
- The directory target- Returns:
- "ui.tooltip.directory"
-
tooltipFile
- Parameters:
path
- The file target- Returns:
- "ui.tooltip.file"
-
fileConfirmReplace
- Parameters:
name
- The file to replace- Returns:
- "ui.fileConfirmReplace"
-
fileConfirmReplaceButton
- Returns:
- "ui.fileConfirmReplaceButton"
-
fileConfirmReplaceTitle
- Returns:
- "ui.fileConfirmReplaceTitle"
-