public static enum ImageAttributes.Align extends java.lang.Enum<ImageAttributes.Align>
Enum Constant and Description |
---|
Absbottom |
Absmiddle |
Baseline |
Bottom |
Center |
Left |
Middle |
Right |
Texttop |
Top |
Modifier and Type | Method and Description |
---|---|
static ImageAttributes.Align |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageAttributes.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageAttributes.Align Left
public static final ImageAttributes.Align Right
public static final ImageAttributes.Align Top
public static final ImageAttributes.Align Texttop
public static final ImageAttributes.Align Middle
public static final ImageAttributes.Align Absmiddle
public static final ImageAttributes.Align Baseline
public static final ImageAttributes.Align Bottom
public static final ImageAttributes.Align Absbottom
public static final ImageAttributes.Align Center
public static ImageAttributes.Align[] values()
for (ImageAttributes.Align c : ImageAttributes.Align.values()) System.out.println(c);
public static ImageAttributes.Align valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html