org.sikuli.api.visual.element
Enum Element.VerticalAlignment

java.lang.Object
  extended by java.lang.Enum<Element.VerticalAlignment>
      extended by org.sikuli.api.visual.element.Element.VerticalAlignment
All Implemented Interfaces:
Serializable, Comparable<Element.VerticalAlignment>
Enclosing class:
Element

public static enum Element.VerticalAlignment
extends Enum<Element.VerticalAlignment>

The vertical alignment of the Element.


Enum Constant Summary
BOTTOM
          Vertical alignment at the bottom.
MIDDLE
          Vertical alignment in the middle.
TOP
          Vertical alignment at the top.
 
Method Summary
static Element.VerticalAlignment valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Element.VerticalAlignment[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, 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 Element.VerticalAlignment TOP
Vertical alignment at the top.


MIDDLE

public static final Element.VerticalAlignment MIDDLE
Vertical alignment in the middle.


BOTTOM

public static final Element.VerticalAlignment BOTTOM
Vertical alignment at the bottom.

Method Detail

values

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

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

valueOf

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


Copyright © 2014. All rights reserved.