public enum CssPosition extends Enum<CssPosition>
Modifier and Type | Method and Description |
---|---|
String |
getName() |
String |
toString() |
static CssPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CssPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CssPosition TOP
public static final CssPosition LEFT
public static final CssPosition RIGHT
public static final CssPosition BOTTOM
public static CssPosition[] values()
for (CssPosition c : CssPosition.values()) System.out.println(c);
public static CssPosition 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 getName()
public String toString()
toString
in class Enum<CssPosition>
Copyright © 2015. All rights reserved.