|
fop 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.area.AreaTreeObject
org.apache.fop.area.PageSequence
public class PageSequence
Represents a page sequence in the area tree.
| Field Summary |
|---|
| Fields inherited from class org.apache.fop.area.AreaTreeObject |
|---|
extensionAttachments, foreignAttributes |
| Constructor Summary | |
|---|---|
PageSequence(LineArea title)
Main constructor |
|
| Method Summary | |
|---|---|
void |
addPage(PageViewport page)
Adds a new page to the page sequence |
java.util.Locale |
getLocale()
Returns the locale of this page-sequence. |
PageViewport |
getPage(int idx)
Returns the page at the given index. |
int |
getPageCount()
|
LineArea |
getTitle()
|
boolean |
isFirstPage(PageViewport page)
Indicates whether a page is the first in this page sequence. |
void |
setLocale(java.util.Locale locale)
Sets the locale that applies to this page-sequence. |
void |
setTitle(LineArea title)
Sets the page sequence's title. |
| Methods inherited from class org.apache.fop.area.AreaTreeObject |
|---|
addExtensionAttachment, clone, getExtensionAttachments, getForeignAttributes, getForeignAttributeValue, hasExtensionAttachments, setExtensionAttachments, setForeignAttribute, setForeignAttributes |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageSequence(LineArea title)
title - the title for the page-sequence, may be null| Method Detail |
|---|
public LineArea getTitle()
public void setTitle(LineArea title)
title - the titlepublic void addPage(PageViewport page)
page - the page to be addedpublic int getPageCount()
public PageViewport getPage(int idx)
idx - the index of the requested page
public boolean isFirstPage(PageViewport page)
page - the page to be inspected
public void setLocale(java.util.Locale locale)
locale - the locale to setpublic java.util.Locale getLocale()
null if not set
|
fop 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||