public static enum Icon.Origin extends Enum<Icon.Origin>
Enum Constant and Description |
---|
BOTTOM_LEFT |
BOTTOM_RIGHT |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Icon.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Icon.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Icon.Origin BOTTOM_LEFT
public static final Icon.Origin BOTTOM_RIGHT
public static final Icon.Origin TOP_LEFT
public static final Icon.Origin TOP_RIGHT
public static Icon.Origin[] values()
for (Icon.Origin c : Icon.Origin.values()) System.out.println(c);
public static Icon.Origin 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 toString()
toString
in class Enum<Icon.Origin>
Copyright © 2015. All rights reserved.