Enum ResourceType

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

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ACCELERATOR  
    ICON  
    PROMPTTEXT  
    TEXT  
    TOOLTIP  
  • Method Summary

    Modifier and Type Method Description
    static ResourceType fromValue​(java.lang.String v)  
    java.lang.String value()  
    static ResourceType valueOf​(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.

    Methods inherited from class java.lang.Enum

    compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static ResourceType[] 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

      public static ResourceType 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 name
      java.lang.NullPointerException - if the argument is null
    • value

      public java.lang.String value()
    • fromValue

      public static ResourceType fromValue​(java.lang.String v)