public static enum Compass.Property extends java.lang.Enum<Compass.Property>
PropertyChangeListener
s added
to a wall will be notified under a property name equal to the string value of one these properties.Enum Constant and Description |
---|
DIAMETER |
LATITUDE |
LONGITUDE |
NORTH_DIRECTION |
TIME_ZONE |
VISIBLE |
X |
Y |
Modifier and Type | Method and Description |
---|---|
static Compass.Property |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Compass.Property[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Compass.Property X
public static final Compass.Property Y
public static final Compass.Property DIAMETER
public static final Compass.Property VISIBLE
public static final Compass.Property NORTH_DIRECTION
public static final Compass.Property LATITUDE
public static final Compass.Property LONGITUDE
public static final Compass.Property TIME_ZONE
public static Compass.Property[] values()
for (Compass.Property c : Compass.Property.values()) System.out.println(c);
public static Compass.Property 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 null
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License