www.element4solution.com

e4s.html
Class VAlign

java.lang.Object
  extended by e4s.html.VAlign

public class VAlign
extends java.lang.Object

Vertical Aligmnent.

See Also:
TD.setVAlign(e4s.html.VAlign), Align

Field Summary
static VAlign ALIGN_BOTTOM
          Vertical alignment: bottom justified, to be used as align parameter in constructor E4TableColGroup or TD.
static VAlign ALIGN_MIDDLE
          Vertical alignment: center (middle) justified, to be used as align parameter in constructor E4TableColGroup or TD.
static VAlign ALIGN_TOP
          Vertical alignment: top justified, to be used as align parameter in constructor E4TableColGroup or TD.
static VAlign BOTTOM
          Vertical alignment: bottom justified, to be used as align parameter in constructor E4TableColGroup or TD.
static VAlign MIDDLE
          Vertical alignment: center (middle) justified, to be used as align parameter in constructor E4TableColGroup or TD.
static VAlign TOP
          Vertical alignment: top justified, to be used as align parameter in constructor E4TableColGroup or TD.
 
Constructor Summary
VAlign(VAlign align)
          Constructs an Align object, storing the given char internally.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
static E4SelectValues createVerticalAlignmentSelection()
          Create a vector intended for selections with objects of type e4s.html.input.extended.E4SelectValues.OPTION to create a SELECT input field for vertical values.
static VAlign fromString(java.lang.String s)
           
 java.lang.String getString()
          Get the String representation for this align.
 java.lang.String toString()
          Get the String representation for this align.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOP

public static final VAlign TOP
Vertical alignment: top justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as ALIGN_TOP.

See Also:
BOTTOM, MIDDLE, Align

ALIGN_TOP

public static final VAlign ALIGN_TOP
Vertical alignment: top justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as TOP.

See Also:
BOTTOM, MIDDLE, Align

BOTTOM

public static final VAlign BOTTOM
Vertical alignment: bottom justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as ALIGN_BOTTOM.

See Also:
TOP, MIDDLE, Align

ALIGN_BOTTOM

public static final VAlign ALIGN_BOTTOM
Vertical alignment: bottom justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as BOTTOM.

See Also:
ALIGN_TOP, ALIGN_MIDDLE, Align

MIDDLE

public static final VAlign MIDDLE
Vertical alignment: center (middle) justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as ALIGN_MIDDLE.

See Also:
BOTTOM, TOP, Align

ALIGN_MIDDLE

public static final VAlign ALIGN_MIDDLE
Vertical alignment: center (middle) justified, to be used as align parameter in constructor E4TableColGroup or TD. Same as MIDDLE.

See Also:
ALIGN_BOTTOM, ALIGN_TOP, Align
Constructor Detail

VAlign

public VAlign(VAlign align)
Constructs an Align object, storing the given char internally.

Parameters:
align - the source to be copied
Method Detail

toString

public java.lang.String toString()
Get the String representation for this align.

Overrides:
toString in class java.lang.Object
Returns:
the HTML compatible string as to be used in HTML tags like <IMG ALIGN="..".. this will be one of "TOP", "MIDDLE" or "BOTTOM"
See Also:
getString()

getString

public java.lang.String getString()
Get the String representation for this align.

Returns:
the HTML compatible string as to be used in HTML tags like <IMG ALIGN="..".. this will be one of "TOP", "MIDDLE" or "BOTTOM"

fromString

public static VAlign fromString(java.lang.String s)

createVerticalAlignmentSelection

public static E4SelectValues createVerticalAlignmentSelection()
Create a vector intended for selections with objects of type e4s.html.input.extended.E4SelectValues.OPTION to create a SELECT input field for vertical values.

Returns:
a Vector, containing TOP, MIDDLE and BOTTOM
See Also:
Align.createHorizontalAlignmentSelection(), SELECT

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com