Package org.xhtmlrenderer.render
Class AbstractOutputDevice
- java.lang.Object
-
- org.xhtmlrenderer.render.AbstractOutputDevice
-
- All Implemented Interfaces:
OutputDevice
- Direct Known Subclasses:
ITextOutputDevice
,Java2DOutputDevice
public abstract class AbstractOutputDevice extends java.lang.Object implements OutputDevice
An abstract implementation of anOutputDevice
. It provides complete implementations for manyOutputDevice
methods.
-
-
Constructor Summary
Constructors Constructor Description AbstractOutputDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
drawDebugOutline(RenderingContext c, Box box, FSColor color)
void
drawText(RenderingContext c, InlineText inlineText)
void
drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)
void
drawTextDecoration(RenderingContext c, LineBox lineBox)
void
paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer)
void
paintBackground(RenderingContext c, Box box)
void
paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)
void
paintBorder(RenderingContext c, Box box)
void
paintCollapsedBorder(RenderingContext c, BorderPropertySet border, java.awt.Rectangle bounds, int side)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xhtmlrenderer.extend.OutputDevice
clip, drawBorderLine, drawImage, drawOval, drawRect, drawSelection, fill, fillOval, fillRect, getClip, getRenderingHint, getStroke, isSupportsCMYKColors, isSupportsSelection, paintReplacedElement, setClip, setColor, setFont, setRenderingHint, setStroke, translate
-
-
-
-
Method Detail
-
drawText
public void drawText(RenderingContext c, InlineText inlineText)
- Specified by:
drawText
in interfaceOutputDevice
-
drawTextDecoration
public void drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)
- Specified by:
drawTextDecoration
in interfaceOutputDevice
-
drawTextDecoration
public void drawTextDecoration(RenderingContext c, LineBox lineBox)
- Specified by:
drawTextDecoration
in interfaceOutputDevice
-
drawDebugOutline
public void drawDebugOutline(RenderingContext c, Box box, FSColor color)
- Specified by:
drawDebugOutline
in interfaceOutputDevice
-
paintCollapsedBorder
public void paintCollapsedBorder(RenderingContext c, BorderPropertySet border, java.awt.Rectangle bounds, int side)
- Specified by:
paintCollapsedBorder
in interfaceOutputDevice
-
paintBorder
public void paintBorder(RenderingContext c, Box box)
- Specified by:
paintBorder
in interfaceOutputDevice
-
paintBorder
public void paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)
- Specified by:
paintBorder
in interfaceOutputDevice
-
paintBackground
public void paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer)
- Specified by:
paintBackground
in interfaceOutputDevice
-
paintBackground
public void paintBackground(RenderingContext c, Box box)
- Specified by:
paintBackground
in interfaceOutputDevice
-
-