org.xhtmlrenderer.layout
Interface Styleable
- All Known Implementing Classes:
- AnonymousBlockBox, BlockBox, Box, InlineBox, InlineLayoutBox, LineBox, MarginBox, TableBox, TableCellBox, TableColumn, TableRowBox, TableSectionBox, ViewportBox
public interface Styleable
All objects appearing the layout tree must implement this interface. It
can roughly be thought of as a styled element (although an InlineLayoutBox
may be split across many lines) and some Styleable
objects may not
define an element at all (e.g. anonymous inline boxes) and some
Styleable
objects don't correspond to a real element
(e.g. :before
and :after
pseudo-elements))
getStyle
CalculatedStyle getStyle()
setStyle
void setStyle(CalculatedStyle style)
getElement
org.w3c.dom.Element getElement()
setElement
void setElement(org.w3c.dom.Element e)
getPseudoElementOrClass
java.lang.String getPseudoElementOrClass()
Flying Saucer Project Home