Package cronapp.reports.j4c.commons
Enum J4CBorderWidth
- java.lang.Object
-
- java.lang.Enum<J4CBorderWidth>
-
- cronapp.reports.j4c.commons.J4CBorderWidth
-
- All Implemented Interfaces:
Serializable,Comparable<J4CBorderWidth>
public enum J4CBorderWidth extends Enum<J4CBorderWidth>
Espessuras possÃveis para a borda dos componentes.Created by arthemus on 08/07/16.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static J4CBorderWidthgetByWidth(float width)floatgetWidth()static String[]names()static J4CBorderWidthvalueOf(String name)Returns the enum constant of this type with the specified name.static J4CBorderWidth[]values()Returns an array containing the constants of this enum type, in the order they are declared.static String[]widths()
-
-
-
Enum Constant Detail
-
NONE
public static final J4CBorderWidth NONE
-
THIN
public static final J4CBorderWidth THIN
-
POINT_1
public static final J4CBorderWidth POINT_1
-
POINT_2
public static final J4CBorderWidth POINT_2
-
POINT_4
public static final J4CBorderWidth POINT_4
-
-
Method Detail
-
values
public static J4CBorderWidth[] 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 (J4CBorderWidth c : J4CBorderWidth.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static J4CBorderWidth 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 float getWidth()
-
names
public static String[] names()
-
widths
public static String[] widths()
-
getByWidth
public static J4CBorderWidth getByWidth(float width)
-
-