Enum MaterialDesignX
- java.lang.Object
-
- java.lang.Enum<MaterialDesignX>
-
- org.kordamp.ikonli.materialdesign2.MaterialDesignX
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MaterialDesignX>,org.kordamp.ikonli.Ikon
public enum MaterialDesignX extends java.lang.Enum<MaterialDesignX> implements org.kordamp.ikonli.Ikon
- Author:
- Andres Almiray
-
-
Enum Constant Summary
Enum Constants Enum Constant Description XAMARINXAMARIN_OUTLINEXINGXMLXMPP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaterialDesignXfindByDescription(java.lang.String description)intgetCode()java.lang.StringgetDescription()static MaterialDesignXvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MaterialDesignX[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XAMARIN
public static final MaterialDesignX XAMARIN
-
XAMARIN_OUTLINE
public static final MaterialDesignX XAMARIN_OUTLINE
-
XING
public static final MaterialDesignX XING
-
XML
public static final MaterialDesignX XML
-
XMPP
public static final MaterialDesignX XMPP
-
-
Method Detail
-
values
public static MaterialDesignX[] 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 (MaterialDesignX c : MaterialDesignX.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaterialDesignX 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
-
findByDescription
public static MaterialDesignX findByDescription(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceorg.kordamp.ikonli.Ikon
-
getCode
public int getCode()
- Specified by:
getCodein interfaceorg.kordamp.ikonli.Ikon
-
-