public enum IconType extends Enum<IconType>
Modifier and Type | Method and Description |
---|---|
String |
toQualifiedUrl(String url,
String resURL)
Qualify the supplied icon url.
|
static IconType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IconType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IconType CORE
public static final IconType PLUGIN
public static IconType[] values()
for (IconType c : IconType.values()) System.out.println(c);
public static IconType 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 String toQualifiedUrl(String url, String resURL)
url
- The url to be qualified.resURL
- The url of resources.Copyright © 2004–2022. All rights reserved.