|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.vex.layout.LayoutUtils
Tools for layout and rendering of CSS-styled boxes
Constructor Summary | |
LayoutUtils()
|
Method Summary | |
static java.util.List |
createGeneratedInlines(LayoutContext context,
Element pseudoElement)
Create a List of generated inline boxes for the given pseudo-element. |
static void |
drawBox(LayoutContext context,
Box box,
int x,
int y)
Draws the background and borders of a CSS-styled box. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LayoutUtils()
Method Detail |
public static java.util.List createGeneratedInlines(LayoutContext context, Element pseudoElement)
context
- LayoutContext in usepseudoElement
- Element representing the generated content.public static void drawBox(LayoutContext context, Box box, int x, int y)
context
- LayoutContext used for drawing.box
- ElementBox around which to draw the box.x
- x-coordinate of the left side of the boxy
- y-coordinate of the top of the box
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |