Package cronapp.reports.j4c.commons
Enum J4CPageFormat
- java.lang.Object
-
- java.lang.Enum<J4CPageFormat>
-
- cronapp.reports.j4c.commons.J4CPageFormat
-
- All Implemented Interfaces:
Serializable,Comparable<J4CPageFormat>
public enum J4CPageFormat extends Enum<J4CPageFormat>
Formato da página. Created by arthemus on 12/07/16.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String[]names()static J4CPageFormatvalueOf(String name)Returns the enum constant of this type with the specified name.static J4CPageFormat[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PORTRAIT
public static final J4CPageFormat PORTRAIT
-
LANDSCAPE
public static final J4CPageFormat LANDSCAPE
-
-
Method Detail
-
values
public static J4CPageFormat[] 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 (J4CPageFormat c : J4CPageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J4CPageFormat 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 nameNullPointerException- if the argument is null
-
names
public static String[] names()
-
-