|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.vex.layout.CssBoxFactory
Implementation of the BoxFactory interface that returns boxes that represent CSS semantics.
Constructor Summary | |
CssBoxFactory()
Class constructor. |
Method Summary | |
Box |
createBox(BlockElementBox parent,
Element element)
Creates a box given an element. |
RootBox |
createRootBox(Element element)
Creates a box that is the root of the layout. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CssBoxFactory()
Method Detail |
public Box createBox(BlockElementBox parent, Element element)
BoxFactory
createBox
in interface BoxFactory
parent
- Parent box for the new box.element
- Element for which the box should be created.public RootBox createRootBox(Element element)
BoxFactory
createRootBox
in interface BoxFactory
element
- Root element of the document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |