Package 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)-
Method Summary
Modifier and TypeMethodDescription@Nullable Element
@Nullable String
@Nullable CalculatedStyle
getStyle()
void
setElement
(@Nullable Element e) void
setStyle
(@Nullable CalculatedStyle style)
-
Method Details
-
getStyle
-
setStyle
-
getElement
-
setElement
-
getPseudoElementOrClass
-