public enum HtmlResourceType extends Enum<HtmlResourceType>
HTML resource type enumeration
Enum Constant and Description |
---|
Font
The font
|
Image
The image
|
Style
The style
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(HtmlResourceType engineTypes)
Equals boolean.
|
boolean |
equals(int id)
Equals boolean.
|
static HtmlResourceType |
fromValue(long id)
From value HTML resource type.
|
String |
toString()
Shows the object as String.
|
int |
value()
Value int.
|
static HtmlResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HtmlResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HtmlResourceType Image
The image
public static final HtmlResourceType Font
The font
public static final HtmlResourceType Style
The style
public static HtmlResourceType[] values()
for (HtmlResourceType c : HtmlResourceType.values()) System.out.println(c);
public static HtmlResourceType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static HtmlResourceType fromValue(long id)
id
- the idpublic boolean equals(HtmlResourceType engineTypes)
engineTypes
- the engine typespublic boolean equals(int id)
id
- the idpublic String toString()
toString
in class Enum<HtmlResourceType>
public int value()
Copyright © 2018. All rights reserved.