Package cz.vutbr.fit.layout.model
Enum Box.DisplayType
- java.lang.Object
-
- java.lang.Enum<Box.DisplayType>
-
- cz.vutbr.fit.layout.model.Box.DisplayType
-
- All Implemented Interfaces:
Serializable
,Comparable<Box.DisplayType>
- Enclosing interface:
- Box
public static enum Box.DisplayType extends Enum<Box.DisplayType>
CSS Display Type- Author:
- burgetr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK
INLINE
INLINE_BLOCK
INLINE_TABLE
LIST_ITEM
NONE
RUN_IN
TABLE
TABLE_CAPTION
TABLE_CELL
TABLE_COLUMN
TABLE_COLUMN_GROUP
TABLE_FOOTER_GROUP
TABLE_HEADER_GROUP
TABLE_ROW
TABLE_ROW_GROUP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Box.DisplayType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Box.DisplayType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Box.DisplayType NONE
-
INLINE
public static final Box.DisplayType INLINE
-
BLOCK
public static final Box.DisplayType BLOCK
-
LIST_ITEM
public static final Box.DisplayType LIST_ITEM
-
INLINE_BLOCK
public static final Box.DisplayType INLINE_BLOCK
-
RUN_IN
public static final Box.DisplayType RUN_IN
-
TABLE
public static final Box.DisplayType TABLE
-
INLINE_TABLE
public static final Box.DisplayType INLINE_TABLE
-
TABLE_ROW_GROUP
public static final Box.DisplayType TABLE_ROW_GROUP
-
TABLE_HEADER_GROUP
public static final Box.DisplayType TABLE_HEADER_GROUP
-
TABLE_FOOTER_GROUP
public static final Box.DisplayType TABLE_FOOTER_GROUP
-
TABLE_ROW
public static final Box.DisplayType TABLE_ROW
-
TABLE_COLUMN_GROUP
public static final Box.DisplayType TABLE_COLUMN_GROUP
-
TABLE_COLUMN
public static final Box.DisplayType TABLE_COLUMN
-
TABLE_CELL
public static final Box.DisplayType TABLE_CELL
-
TABLE_CAPTION
public static final Box.DisplayType TABLE_CAPTION
-
-
Method Detail
-
values
public static Box.DisplayType[] 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 (Box.DisplayType c : Box.DisplayType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Box.DisplayType 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
-
-