Top Description Methods
com.openhtmltopdf.layout

public Interface Styleable

Known Direct Implementers
com.openhtmltopdf.newtable.TableColumn, com.openhtmltopdf.render.Box, com.openhtmltopdf.render.InlineBox
Imports
org.w3c.dom.Element, com.openhtmltopdf.css.style.CalculatedStyle

All objects appearing the layout tree must implement this interface. It can roughly be thought of as a styled element (although an InlineBoxing 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 TypeMethod and Description
public Element
public String
public CalculatedStyle
public void
public void

Method Detail

getElementback to summary
public Element getElement()
getPseudoElementOrClassback to summary
public String getPseudoElementOrClass()
getStyleback to summary
public CalculatedStyle getStyle()
setElementback to summary
public void setElement(Element e)
setStyleback to summary
public void setStyle(CalculatedStyle style)