|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.engine.typesetter.page.PageImpl
public class PageImpl
This class provides a transport object for pages. Beside the nodes it contains additional administrative information.
| Constructor Summary | |
|---|---|
PageImpl(NodeList nodes,
FixedCount[] pageNo)
Creates a new object. |
|
| Method Summary | |
|---|---|
Color |
getColor()
Getter for the background color. |
Dimen |
getMediaHeight()
Getter for the height of the media. |
Dimen |
getMediaHOffset()
Getter for the horizontal offset of the media. |
Dimen |
getMediaVOffset()
Getter for the vertical offset of the media. |
Dimen |
getMediaWidth()
Getter for the width of the media. |
NodeList |
getNodes()
Getter for nodes. |
FixedCount[] |
getPageNo()
Getter for the array of page numbers. |
void |
setColor(Color bg)
Setter for the background color. |
void |
setMediaHeight(Dimen mediaHeight)
Setter for mediaHeight. |
void |
setMediaHOffset(Dimen offset)
Setter for the horizontal offset of the media. |
void |
setMediaVOffset(Dimen offset)
Setter for the vertical offset of the media. |
void |
setMediaWidth(Dimen width)
Setter for media width. |
java.lang.String |
toString()
Get the string representation of this object for debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageImpl(NodeList nodes,
FixedCount[] pageNo)
nodes - the nodes to transportpageNo - the array of page numbers| Method Detail |
|---|
public Color getColor()
getColor in interface PagePage.getColor()public Dimen getMediaHeight()
getMediaHeight in interface PagePage.getMediaHeight()public Dimen getMediaHOffset()
getMediaHOffset in interface PagePage.getMediaHOffset()public Dimen getMediaVOffset()
getMediaVOffset in interface PagePage.getMediaVOffset()public Dimen getMediaWidth()
getMediaWidth in interface PagePage.getMediaWidth()public NodeList getNodes()
getNodes in interface Pagepublic FixedCount[] getPageNo()
getPageNo in interface PagePage.getPageNo()public void setColor(Color bg)
setColor in interface Pagebg - the background colorPage.setColor( org.extex.color.Color)public void setMediaHeight(Dimen mediaHeight)
setMediaHeight in interface PagemediaHeight - the mediaHeight to setpublic void setMediaHOffset(Dimen offset)
setMediaHOffset in interface Pageoffset - the media horizontal offsetPage.setMediaHOffset(
org.extex.core.dimen.Dimen)public void setMediaVOffset(Dimen offset)
setMediaVOffset in interface Pageoffset - the media vertical offsetPage.setMediaVOffset(
org.extex.core.dimen.Dimen)public void setMediaWidth(Dimen width)
setMediaWidth in interface Pagewidth - the mediaWidth to setPage.setMediaWidth(
org.extex.core.dimen.Dimen)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||