to.etc.domui.dom.html
Enum ImgAlign

java.lang.Object
  extended by java.lang.Enum<ImgAlign>
      extended by to.etc.domui.dom.html.ImgAlign
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ImgAlign>

public enum ImgAlign
extends java.lang.Enum<ImgAlign>


Enum Constant Summary
ABSBOTTOM
           
ABSMIDDLE
           
BASELINE
           
BOTTOM
           
CENTER
           
DEFAULT
           
LEFT
           
MIDDLE
           
RIGHT
           
TEXTTOP
           
TOP
           
 
Method Summary
 java.lang.String getCode()
           
static ImgAlign valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOP

public static final ImgAlign TOP

BOTTOM

public static final ImgAlign BOTTOM

MIDDLE

public static final ImgAlign MIDDLE

LEFT

public static final ImgAlign LEFT

DEFAULT

public static final ImgAlign DEFAULT

TEXTTOP

public static final ImgAlign TEXTTOP

ABSMIDDLE

public static final ImgAlign ABSMIDDLE

BASELINE

public static final ImgAlign BASELINE

ABSBOTTOM

public static final ImgAlign ABSBOTTOM

CENTER

public static final ImgAlign CENTER

RIGHT

public static final ImgAlign RIGHT
Method Detail

values

public static ImgAlign[] 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 (ImgAlign c : ImgAlign.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ImgAlign valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getCode

public java.lang.String getCode()