Package com.openhtmltopdf.layout
Interface Styleable
-
- All Known Implementing Classes:
AnonymousBlockBox,BlockBox,Box,FlowingColumnBox,FlowingColumnContainerBox,InlineBox,InlineLayoutBox,LineBox,MarginBox,TableBox,TableCellBox,TableColumn,TableRowBox,TableSectionBox,ViewportBox
public interface StyleableAll objects appearing the layout tree must implement this interface. It can roughly be thought of as a styled element (although anInlineBoxingmay be split across many lines) and someStyleableobjects may not define an element at all (e.g. anonymous inline boxes) and someStyleableobjects don't correspond to a real element (e.g.:beforeand:afterpseudo-elements))
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ElementgetElement()StringgetPseudoElementOrClass()CalculatedStylegetStyle()voidsetElement(Element e)voidsetStyle(CalculatedStyle style)
-
-
-
Method Detail
-
getStyle
CalculatedStyle getStyle()
-
setStyle
void setStyle(CalculatedStyle style)
-
getElement
Element getElement()
-
setElement
void setElement(Element e)
-
getPseudoElementOrClass
String getPseudoElementOrClass()
-
-