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
Element getElement()
setElement
void setElement(Element e)
getPseudoElementOrClass
String getPseudoElementOrClass()
Copyright © 2013. All Rights Reserved.