net.sf.dynamicreports.report.constant
Enum PageType

java.lang.Object
  extended by java.lang.Enum<PageType>
      extended by net.sf.dynamicreports.report.constant.PageType
All Implemented Interfaces:
Serializable, Comparable<PageType>

public enum PageType
extends Enum<PageType>

Author:
Ricardo Mariaca (r.mariaca@dynamicreports.org)

Enum Constant Summary
_11X17
           
A0
           
A1
           
A10
           
A2
           
A3
           
A4
           
A5
           
A6
           
A7
           
A8
           
A9
           
ARCH_A
           
ARCH_B
           
ARCH_C
           
ARCH_D
           
ARCH_E
           
B0
           
B1
           
B10
           
B2
           
B3
           
B4
           
B5
           
B6
           
B7
           
B8
           
B9
           
C0
           
C1
           
C10
           
C2
           
C3
           
C4
           
C5
           
C6
           
C7
           
C8
           
C9
           
FLSA
           
FLSE
           
HALFLETTER
           
LEDGER
           
LEGAL
           
LETTER
           
NOTE
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
static PageType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PageType[] 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

LETTER

public static final PageType LETTER

NOTE

public static final PageType NOTE

LEGAL

public static final PageType LEGAL

A0

public static final PageType A0

A1

public static final PageType A1

A2

public static final PageType A2

A3

public static final PageType A3

A4

public static final PageType A4

A5

public static final PageType A5

A6

public static final PageType A6

A7

public static final PageType A7

A8

public static final PageType A8

A9

public static final PageType A9

A10

public static final PageType A10

B0

public static final PageType B0

B1

public static final PageType B1

B2

public static final PageType B2

B3

public static final PageType B3

B4

public static final PageType B4

B5

public static final PageType B5

B6

public static final PageType B6

B7

public static final PageType B7

B8

public static final PageType B8

B9

public static final PageType B9

B10

public static final PageType B10

C0

public static final PageType C0

C1

public static final PageType C1

C2

public static final PageType C2

C3

public static final PageType C3

C4

public static final PageType C4

C5

public static final PageType C5

C6

public static final PageType C6

C7

public static final PageType C7

C8

public static final PageType C8

C9

public static final PageType C9

C10

public static final PageType C10

ARCH_E

public static final PageType ARCH_E

ARCH_D

public static final PageType ARCH_D

ARCH_C

public static final PageType ARCH_C

ARCH_B

public static final PageType ARCH_B

ARCH_A

public static final PageType ARCH_A

FLSA

public static final PageType FLSA

FLSE

public static final PageType FLSE

HALFLETTER

public static final PageType HALFLETTER

_11X17

public static final PageType _11X17

LEDGER

public static final PageType LEDGER
Method Detail

values

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

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

valueOf

public static PageType 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

getWidth

public int getWidth()

getHeight

public int getHeight()


Copyright © 2010-2014. All Rights Reserved.