com.jgoodies.validation.extras
Enum CompoundIcon.Anchor
java.lang.Object
java.lang.Enum<CompoundIcon.Anchor>
com.jgoodies.validation.extras.CompoundIcon.Anchor
- All Implemented Interfaces:
- Serializable, Comparable<CompoundIcon.Anchor>
- Enclosing class:
- CompoundIcon
public static enum CompoundIcon.Anchor
- extends Enum<CompoundIcon.Anchor>
Describes how to position the foreground icon to the background icon.
CENTER
public static final CompoundIcon.Anchor CENTER
NORTH
public static final CompoundIcon.Anchor NORTH
NORTHEAST
public static final CompoundIcon.Anchor NORTHEAST
EAST
public static final CompoundIcon.Anchor EAST
SOUTHEAST
public static final CompoundIcon.Anchor SOUTHEAST
SOUTH
public static final CompoundIcon.Anchor SOUTH
SOUTHWEST
public static final CompoundIcon.Anchor SOUTHWEST
WEST
public static final CompoundIcon.Anchor WEST
NORTHWEST
public static final CompoundIcon.Anchor NORTHWEST
values
public static CompoundIcon.Anchor[] 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 (CompoundIcon.Anchor c : CompoundIcon.Anchor.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompoundIcon.Anchor valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.