Package cronapp.reports.j4c.commons
Enum J4CPageLeaf
- java.lang.Object
-
- java.lang.Enum<J4CPageLeaf>
-
- cronapp.reports.j4c.commons.J4CPageLeaf
-
- All Implemented Interfaces:
Serializable,Comparable<J4CPageLeaf>
public enum J4CPageLeaf extends Enum<J4CPageLeaf>
Pré-definições de tipos de papéis. Created by arthemus on 12/07/16.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetWidth()static String[]names()static J4CPageLeafvalueOf(String name)Returns the enum constant of this type with the specified name.static J4CPageLeaf[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A4
public static final J4CPageLeaf A4
-
LETTER
public static final J4CPageLeaf LETTER
-
-
Method Detail
-
values
public static J4CPageLeaf[] 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 (J4CPageLeaf c : J4CPageLeaf.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J4CPageLeaf 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
-
getWidth
public int getWidth()
-
getHeight
public int getHeight()
-
names
public static String[] names()
-
-