DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Enum RelativeTo

java.lang.Object
  extended by java.lang.Enum<RelativeTo>
      extended by com.cete.dynamicpdf.pageelements.RelativeTo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RelativeTo>

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

Represents a page element's placement.


Enum Constant Summary
BottomCenter
          Represents a bottom center.
BottomLeft
          Represents a bottom left.
BottomRight
          Represents a bottom right.
TopCenter
          Represents a top center.
TopLeft
          Represents a top left.
TopRight
          Represents a top right.
 
Method Summary
 int getValue()
          Gets the enumeration constant value.
static RelativeTo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RelativeTo[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TopLeft

public static final RelativeTo TopLeft
Represents a top left.


TopCenter

public static final RelativeTo TopCenter
Represents a top center.


TopRight

public static final RelativeTo TopRight
Represents a top right.


BottomLeft

public static final RelativeTo BottomLeft
Represents a bottom left.


BottomCenter

public static final RelativeTo BottomCenter
Represents a bottom center.


BottomRight

public static final RelativeTo BottomRight
Represents a bottom right.

Method Detail

values

public static final RelativeTo[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RelativeTo c : RelativeTo.values())
        System.out.println(c);

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

valueOf

public static RelativeTo 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.)

Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

getValue

public int getValue()
Gets the enumeration constant value.

Returns:
Returns the value of this enumeration constant.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v11.02 for Java generated on Sep 02, 2021
© Copyright 2021, ceTe Software