|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AreaClass>
org.foray.area.AreaClass
public enum AreaClass
Enumeration of valid area classes.
Enum Constant Summary | |
---|---|
XSL_ABSOLUTE
The area is absolutely positioned, and will be placed by the FO generating the relevant reference-area. |
|
XSL_ANCHOR
The area is an anchor area, is placed arbitrarily, and does not affect stacking. |
|
XSL_BEFORE_FLOAT
The area is inside a before-float, and will be placed by the ancestor page-sequence, but is stackable. |
|
XSL_FIXED
The area is in a fixed location, and will be placed by the ancestor page-sequence. |
|
XSL_FOOTNOTE
The area is inside a footnote, and will be placed by the ancestor page-sequence, but is stackable. |
|
XSL_NORMAL
The area is stacked with other areas in sequence. |
|
XSL_SIDE_FLOAT
The area is part of a side-float, and will be placed by the FO generating the relevant reference-area. |
Method Summary | |
---|---|
protected boolean |
isAnchor()
Indicates whether the Area is an anchor area. |
protected boolean |
isNormal()
Indicates whether the Area is a normal area. |
protected boolean |
isPageLevelOutOfLine()
Indicates whether the Area is a page-level-out-of-line area. |
protected boolean |
isReferenceLevelOutOfLine()
Indicates whether the Area is a reference-level-out-of-line area. |
protected boolean |
isStackable()
Indicates whether the Area is stackable. |
static AreaClass |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AreaClass[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AreaClass XSL_NORMAL
public static final AreaClass XSL_FOOTNOTE
public static final AreaClass XSL_BEFORE_FLOAT
public static final AreaClass XSL_FIXED
public static final AreaClass XSL_SIDE_FLOAT
public static final AreaClass XSL_ABSOLUTE
public static final AreaClass XSL_ANCHOR
Method Detail |
---|
public static AreaClass[] values()
for (AreaClass c : AreaClass.values()) System.out.println(c);
public static AreaClass valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullprotected boolean isAnchor()
protected boolean isNormal()
protected boolean isPageLevelOutOfLine()
protected boolean isReferenceLevelOutOfLine()
protected boolean isStackable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |