org.netbeans.api.visual.widget.general
Enum IconNodeWidget.TextOrientation
java.lang.Object
java.lang.Enum<IconNodeWidget.TextOrientation>
org.netbeans.api.visual.widget.general.IconNodeWidget.TextOrientation
- All Implemented Interfaces:
- Serializable, Comparable<IconNodeWidget.TextOrientation>
- Enclosing class:
- IconNodeWidget
public static enum IconNodeWidget.TextOrientation
- extends Enum<IconNodeWidget.TextOrientation>
The text orientation specified relatively to the image
BOTTOM_CENTER
public static final IconNodeWidget.TextOrientation BOTTOM_CENTER
RIGHT_CENTER
public static final IconNodeWidget.TextOrientation RIGHT_CENTER
values
public static IconNodeWidget.TextOrientation[] 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 (IconNodeWidget.TextOrientation c : IconNodeWidget.TextOrientation.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static IconNodeWidget.TextOrientation 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