public enum LegendPosition extends java.lang.Enum<LegendPosition> implements Enumeration
| Modifier and Type | Method and Description |
|---|---|
javax.swing.Icon |
getListIcon()
An icon can be provided that will be shown in a list
along with the textual description of the element.
|
static LegendPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LegendPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfgetClass, notify, notifyAll, toString, wait, wait, waittoStringpublic static final LegendPosition NW
public static final LegendPosition NE
public static final LegendPosition SW
public static final LegendPosition SE
public static final LegendPosition OutsideNE
public static LegendPosition[] values()
for (LegendPosition c : LegendPosition.values()) System.out.println(c);
public static LegendPosition valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic javax.swing.Icon getListIcon()
Enumerationnull if there
is no icon available.getListIcon in interface Enumeration