public enum ImgAlign extends Enum<ImgAlign>
| Enum Constant and Description |
|---|
ABSBOTTOM |
ABSMIDDLE |
BASELINE |
BOTTOM |
CENTER |
DEFAULT |
LEFT |
MIDDLE |
RIGHT |
TEXTTOP |
TOP |
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
static ImgAlign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImgAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImgAlign TOP
public static final ImgAlign BOTTOM
public static final ImgAlign MIDDLE
public static final ImgAlign LEFT
public static final ImgAlign DEFAULT
public static final ImgAlign TEXTTOP
public static final ImgAlign ABSMIDDLE
public static final ImgAlign BASELINE
public static final ImgAlign ABSBOTTOM
public static final ImgAlign CENTER
public static final ImgAlign RIGHT
public static ImgAlign[] values()
for (ImgAlign c : ImgAlign.values()) System.out.println(c);
public static ImgAlign 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 getCode()
Copyright © 2017 etc.to. All rights reserved.