|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Status>
org.foray.pioneer.Status
public enum Status
Enumeration of the possible Pioneer Layout status of an FO.
| Enum Constant Summary | |
|---|---|
AREA_FULL_NONE
The status is that the area is full, and no layout was accomplished. |
|
AREA_FULL_SOME
The status is that the area is full, but that some layout was accomplished. |
|
FORCE_COLUMN_BREAK
The status is that we are at a forced column break. |
|
FORCE_PAGE_BREAK
The status is that we are at a forced page break. |
|
FORCE_PAGE_BREAK_EVEN
The status is that we are at a forced page break, and the next page must be even. |
|
FORCE_PAGE_BREAK_ODD
The status is that we are at a forced page break, and the next page must be odd. |
|
KEEP_WITH_NEXT
The status is that the current content must be kept with the next content. |
|
OK
The status is "OK" or complete. |
|
UNKNOWN
The status is "Unknown". |
|
| Method Summary | |
|---|---|
static Status |
checkBreakAfter(org.axsl.common.value.Break breakAfter)
Converts a given "break-after" value to the appropriate Status. |
boolean |
isIncomplete()
Indicates whether this instance means that layout is incomplete. |
boolean |
isPageBreak()
Indicates whether this instance means that a page break is required. |
boolean |
laidOutNone()
Indicates whether this instance means that no layout has been accomplished. |
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Status[] |
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 Status UNKNOWN
public static final Status OK
public static final Status AREA_FULL_NONE
public static final Status AREA_FULL_SOME
public static final Status FORCE_PAGE_BREAK
public static final Status FORCE_PAGE_BREAK_EVEN
public static final Status FORCE_PAGE_BREAK_ODD
public static final Status FORCE_COLUMN_BREAK
public static final Status KEEP_WITH_NEXT
| Method Detail |
|---|
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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 nullpublic boolean isIncomplete()
public boolean laidOutNone()
public boolean isPageBreak()
public static Status checkBreakAfter(org.axsl.common.value.Break breakAfter)
breakAfter - The "break-after" constant.
breakAfter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||