public enum CompassPoint extends Enum<CompassPoint>
See: http://www.graphviz.org/doc/info/attrs.html#k:portPos
Enum Constant and Description |
---|
CENTER |
EAST |
EXTERIOR_SIDE |
NORTH |
NORTH_EAST |
NORTH_WEST |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
WEST |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CompassPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompassPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompassPoint NORTH
public static final CompassPoint NORTH_EAST
public static final CompassPoint EAST
public static final CompassPoint SOUTH_EAST
public static final CompassPoint SOUTH
public static final CompassPoint SOUTH_WEST
public static final CompassPoint WEST
public static final CompassPoint NORTH_WEST
public static final CompassPoint CENTER
public static final CompassPoint EXTERIOR_SIDE
public static CompassPoint[] values()
for (CompassPoint c : CompassPoint.values()) System.out.println(c);
public static CompassPoint 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<CompassPoint>
Copyright © 2006–2018 Google, Inc.. All rights reserved.