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 anInlineLayoutBox
may be split across many lines) and someStyleable
objects may not define an element at all (e.g. anonymous inline boxes) and someStyleable
objects don't correspond to a real element (e.g.:before
and:after
pseudo-elements))
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.w3c.dom.Element
getElement()
java.lang.String
getPseudoElementOrClass()
CalculatedStyle
getStyle()
void
setElement(org.w3c.dom.Element e)
void
setStyle(CalculatedStyle style)
-
-
-
Method Detail
-
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()
-
-