Enum Class SourceEditor.I18nString
java.lang.Object
java.lang.Enum<SourceEditor.I18nString>
org.openstreetmap.josm.gui.preferences.SourceEditor.I18nString
- All Implemented Interfaces:
Serializable,Comparable<SourceEditor.I18nString>,Constable
- Enclosing class:
- SourceEditor
Identifiers for strings that need to be provided.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdd the selected available (styles|presets|rules) to the list of active (styles|presets|rules)Active (styles|presets|rules)Available (styles|presets|rules)Edit the filename or URL for the selected active (style|preset|rule)Failed to load the list of (style|preset|rule) sources/Preferences/(Styles|Presets|Rules)#FailedToLoad(Style|Preset|Rule)SourcesIllegal format of entry in (style|preset|rule) listLoading (style|preset|rule) sourcesNew (style|preset|rule) entryAdd a new (style|preset|rule) by entering filename or URLReloads the list of available (styles|presets|rules)Remove the selected (styles|presets|rules) from the list of active (styles|presets|rules) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceEditor.I18nStringReturns the enum constant of this class with the specified name.static SourceEditor.I18nString[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE_SOURCES
Available (styles|presets|rules) -
ACTIVE_SOURCES
Active (styles|presets|rules) -
NEW_SOURCE_ENTRY_TOOLTIP
Add a new (style|preset|rule) by entering filename or URL -
NEW_SOURCE_ENTRY
New (style|preset|rule) entry -
REMOVE_SOURCE_TOOLTIP
Remove the selected (styles|presets|rules) from the list of active (styles|presets|rules) -
EDIT_SOURCE_TOOLTIP
Edit the filename or URL for the selected active (style|preset|rule) -
ACTIVATE_TOOLTIP
Add the selected available (styles|presets|rules) to the list of active (styles|presets|rules) -
RELOAD_ALL_AVAILABLE
Reloads the list of available (styles|presets|rules) -
LOADING_SOURCES_FROM
Loading (style|preset|rule) sources -
FAILED_TO_LOAD_SOURCES_FROM
Failed to load the list of (style|preset|rule) sources -
FAILED_TO_LOAD_SOURCES_FROM_HELP_TOPIC
/Preferences/(Styles|Presets|Rules)#FailedToLoad(Style|Preset|Rule)Sources -
ILLEGAL_FORMAT_OF_ENTRY
Illegal format of entry in (style|preset|rule) list
-
-
Constructor Details
-
I18nString
private I18nString()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-