|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Display>
com.osbcp.css.constants.Display
public enum Display
Values for the display property.
Enum Constant Summary | |
---|---|
BLOCK
The element will generate a block box (a line break before and after the element). |
|
INHERIT
Specifies that the value of the display property should be inherited from the parent element. |
|
INLINE
The element will generate an inline box (no line break before or after the element). |
|
INLINE_BLOCK
The element will generate a block box, laid out as an inline box. |
|
INLINE_TABLE
The element will generate an inline box (like <table>, with no line break before or after). |
|
LIST_ITEM
The element will generate a block box, and an inline box for the list marker. |
|
NONE
The element will generate no box at all. |
|
RUN_IN
The element will generate a block or inline box, depending on context. |
|
TABLE
The element will behave like a table (like <table>, with a line break before and after). |
|
TABLE_CAPTION
The element will behave like a table caption (like <caption>). |
|
TABLE_CELL
The element will behave like a table cell. |
|
TABLE_COLUMN
The element will behave like a table column. |
|
TABLE_COLUMN_GROUP
The element will behave like a table column group (like <colgroup>). |
|
TABLE_FOOTER_GROUP
The element will behave like a table footer row group. |
|
TABLE_HEADER_GROUP
The element will behave like a table header row group. |
|
TABLE_ROW
The element will behave like a table row. |
|
TABLE_ROW_GROUP
The element will behave like a table row group. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static Display |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Display[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Display NONE
public static final Display BLOCK
public static final Display INLINE
public static final Display INLINE_BLOCK
public static final Display INLINE_TABLE
public static final Display LIST_ITEM
public static final Display RUN_IN
public static final Display TABLE
public static final Display TABLE_CAPTION
public static final Display TABLE_CELL
public static final Display TABLE_COLUMN
public static final Display TABLE_COLUMN_GROUP
public static final Display TABLE_FOOTER_GROUP
public static final Display TABLE_HEADER_GROUP
public static final Display TABLE_ROW
public static final Display TABLE_ROW_GROUP
public static final Display INHERIT
Method Detail |
---|
public static Display[] values()
for (Display c : Display.values()) System.out.println(c);
public static Display valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Display>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |