|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arctorus.documents.Page
public final class Page
Page in a document.
Method Summary | |
---|---|
void |
addShape(Shape shape)
Add new shape to a page. |
java.lang.String |
getName()
Get name of the page. |
int |
getPageIndex()
Return 0-based index of a page in a document. |
java.util.List<Shape> |
getShapes()
Get list of all shapes on a page. |
Table |
getTable()
Get table on the page. |
PageVisibilityType |
getVisibility()
Get visibility of the page. |
void |
setName(java.lang.String pageName)
Set name of the page. |
void |
setVisibility(PageVisibilityType pageVisibility)
Set visibility of the page. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getPageIndex()
public void addShape(Shape shape)
shape
- shape to add.public java.util.List<Shape> getShapes()
public Table getTable()
public java.lang.String getName()
public void setName(java.lang.String pageName) throws java.lang.IllegalArgumentException
pageName
- new name of the page.
java.lang.IllegalArgumentException
- in case such page name already exists in a document.public PageVisibilityType getVisibility()
public void setVisibility(PageVisibilityType pageVisibility)
pageVisibility
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |