java.lang.Object
java.lang.Enum<ResourceType>
de.edgesoft.edgeutils.i18n.ResourceType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResourceType>,java.lang.constant.Constable
public enum ResourceType extends java.lang.Enum<ResourceType>
Resource types.
For enums I use the coding style of jaxb, so there will be no inconsistencies.
Legal stuff
Copyright 2010-2020 Ekkart Kleinod ekleinod@edgesoft.de
This file is part of edgeutils.
edgeutils is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
edgeutils is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with edgeutils. If not, see http://www.gnu.org/licenses/.
- Since:
- 0.13.0
- Author:
- Ekkart Kleinod
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCELERATORICONPROMPTTEXTTEXTTOOLTIP -
Method Summary
Modifier and Type Method Description static ResourceTypefromValue(java.lang.String v)java.lang.Stringvalue()static ResourceTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value() -
fromValue
-