Enum SourceEditor.I18nString
- java.lang.Object
-
- java.lang.Enum<SourceEditor.I18nString>
-
- org.openstreetmap.josm.gui.preferences.SourceEditor.I18nString
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SourceEditor.I18nString>
- Enclosing class:
- SourceEditor
public static enum SourceEditor.I18nString extends java.lang.Enum<SourceEditor.I18nString>
Identifiers for strings that need to be provided.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATE_TOOLTIP
Add the selected available (styles|presets|rules) to the list of active (styles|presets|rules)ACTIVE_SOURCES
Active (styles|presets|rules)AVAILABLE_SOURCES
Available (styles|presets|rules)EDIT_SOURCE_TOOLTIP
Edit the filename or URL for the selected active (style|preset|rule)FAILED_TO_LOAD_SOURCES_FROM
Failed to load the list of (style|preset|rule) sourcesFAILED_TO_LOAD_SOURCES_FROM_HELP_TOPIC
/Preferences/(Styles|Presets|Rules)#FailedToLoad(Style|Preset|Rule)SourcesILLEGAL_FORMAT_OF_ENTRY
Illegal format of entry in (style|preset|rule) listLOADING_SOURCES_FROM
Loading (style|preset|rule) sourcesNEW_SOURCE_ENTRY
New (style|preset|rule) entryNEW_SOURCE_ENTRY_TOOLTIP
Add a new (style|preset|rule) by entering filename or URLRELOAD_ALL_AVAILABLE
Reloads the list of available (styles|presets|rules)REMOVE_SOURCE_TOOLTIP
Remove the selected (styles|presets|rules) from the list of active (styles|presets|rules)
-
Constructor Summary
Constructors Modifier Constructor Description private
I18nString()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SourceEditor.I18nString
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SourceEditor.I18nString[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AVAILABLE_SOURCES
public static final SourceEditor.I18nString AVAILABLE_SOURCES
Available (styles|presets|rules)
-
ACTIVE_SOURCES
public static final SourceEditor.I18nString ACTIVE_SOURCES
Active (styles|presets|rules)
-
NEW_SOURCE_ENTRY_TOOLTIP
public static final SourceEditor.I18nString NEW_SOURCE_ENTRY_TOOLTIP
Add a new (style|preset|rule) by entering filename or URL
-
NEW_SOURCE_ENTRY
public static final SourceEditor.I18nString NEW_SOURCE_ENTRY
New (style|preset|rule) entry
-
REMOVE_SOURCE_TOOLTIP
public static final SourceEditor.I18nString REMOVE_SOURCE_TOOLTIP
Remove the selected (styles|presets|rules) from the list of active (styles|presets|rules)
-
EDIT_SOURCE_TOOLTIP
public static final SourceEditor.I18nString EDIT_SOURCE_TOOLTIP
Edit the filename or URL for the selected active (style|preset|rule)
-
ACTIVATE_TOOLTIP
public static final SourceEditor.I18nString ACTIVATE_TOOLTIP
Add the selected available (styles|presets|rules) to the list of active (styles|presets|rules)
-
RELOAD_ALL_AVAILABLE
public static final SourceEditor.I18nString RELOAD_ALL_AVAILABLE
Reloads the list of available (styles|presets|rules)
-
LOADING_SOURCES_FROM
public static final SourceEditor.I18nString LOADING_SOURCES_FROM
Loading (style|preset|rule) sources
-
FAILED_TO_LOAD_SOURCES_FROM
public static final SourceEditor.I18nString FAILED_TO_LOAD_SOURCES_FROM
Failed to load the list of (style|preset|rule) sources
-
FAILED_TO_LOAD_SOURCES_FROM_HELP_TOPIC
public static final SourceEditor.I18nString FAILED_TO_LOAD_SOURCES_FROM_HELP_TOPIC
/Preferences/(Styles|Presets|Rules)#FailedToLoad(Style|Preset|Rule)Sources
-
ILLEGAL_FORMAT_OF_ENTRY
public static final SourceEditor.I18nString ILLEGAL_FORMAT_OF_ENTRY
Illegal format of entry in (style|preset|rule) list
-
-
Constructor Detail
-
I18nString
private I18nString()
-
-
Method Detail
-
values
public static SourceEditor.I18nString[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SourceEditor.I18nString c : SourceEditor.I18nString.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SourceEditor.I18nString valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-