|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.txt.border.BorderManager
public class BorderManager
This keeps all information about borders for current processed page.
Constructor Summary | |
---|---|
BorderManager(int pageWidth,
int pageHeight,
TXTState state)
Constructs BorderManger, using pageWidth and
pageHeight for creating borderInfo . |
Method Summary | |
---|---|
void |
addBorderElement(int x,
int y,
int style,
int type)
Adds border element to borderInfo . |
java.lang.Character |
getCharacter(int x,
int y)
|
int |
getHeight()
|
int |
getStartX()
|
int |
getStartY()
|
int |
getWidth()
|
void |
setHeight(int height)
Sets height of current processed border. |
void |
setStartX(int startX)
Sets x-coordinate of upper left point of current processed border. |
void |
setStartY(int startY)
Sets y-coordinate of upper left point of current processed border. |
void |
setWidth(int width)
Sets width of current processed border. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BorderManager(int pageWidth, int pageHeight, TXTState state)
pageWidth
and
pageHeight
for creating borderInfo
.
pageWidth
- page widthpageHeight
- page heightstate
- TXTStateMethod Detail |
---|
public void addBorderElement(int x, int y, int style, int type)
borderInfo
.
x
- x-coordinatey
- y-coordinatestyle
- border-styletype
- border element type, binary representation of wich gives
information about availability or absence of corresponding side.public java.lang.Character getCharacter(int x, int y)
x
- x-coordinatey
- y-coordinate
public int getWidth()
public void setWidth(int width)
width
- width of borderpublic int getHeight()
public void setHeight(int height)
height
- height of borderpublic int getStartX()
public void setStartX(int startX)
startX
- x-coordinate of upper left border's point.public int getStartY()
public void setStartY(int startY)
startY
- y-coordinate of upper left border's point.
|
fop 0.95 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |