public static enum ImageConfig.ImageAlignment extends Enum<ImageConfig.ImageAlignment>
| Enum Constant and Description |
|---|
BOTTOM |
CENTER |
LEFT
The possible alignments for the image: block floated to the left or right or centered, in-line aligned on the
top, middle or bottom.
|
MIDDLE |
RIGHT |
TOP |
| Modifier and Type | Method and Description |
|---|---|
static ImageConfig.ImageAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageConfig.ImageAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageConfig.ImageAlignment LEFT
public static final ImageConfig.ImageAlignment CENTER
public static final ImageConfig.ImageAlignment RIGHT
public static final ImageConfig.ImageAlignment TOP
public static final ImageConfig.ImageAlignment MIDDLE
public static final ImageConfig.ImageAlignment BOTTOM
public static ImageConfig.ImageAlignment[] values()
for (ImageConfig.ImageAlignment c : ImageConfig.ImageAlignment.values()) System.out.println(c);
public static ImageConfig.ImageAlignment 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 nullCopyright © 2004–2016 XWiki. All rights reserved.