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 manyOutputDevicemethods.
-
-
Constructor Summary
Constructors Constructor Description AbstractOutputDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawDebugOutline(RenderingContext c, Box box, FSColor color)voiddrawText(RenderingContext c, InlineText inlineText)voiddrawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)voiddrawTextDecoration(RenderingContext c, LineBox lineBox)voidpaintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer)voidpaintBackground(RenderingContext c, Box box)voidpaintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)voidpaintBorder(RenderingContext c, Box box)voidpaintCollapsedBorder(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:
drawTextin interfaceOutputDevice
-
drawTextDecoration
public void drawTextDecoration(RenderingContext c, InlineLayoutBox iB, TextDecoration decoration)
- Specified by:
drawTextDecorationin interfaceOutputDevice
-
drawTextDecoration
public void drawTextDecoration(RenderingContext c, LineBox lineBox)
- Specified by:
drawTextDecorationin interfaceOutputDevice
-
drawDebugOutline
public void drawDebugOutline(RenderingContext c, Box box, FSColor color)
- Specified by:
drawDebugOutlinein interfaceOutputDevice
-
paintCollapsedBorder
public void paintCollapsedBorder(RenderingContext c, BorderPropertySet border, java.awt.Rectangle bounds, int side)
- Specified by:
paintCollapsedBorderin interfaceOutputDevice
-
paintBorder
public void paintBorder(RenderingContext c, Box box)
- Specified by:
paintBorderin interfaceOutputDevice
-
paintBorder
public void paintBorder(RenderingContext c, CalculatedStyle style, java.awt.Rectangle edge, int sides)
- Specified by:
paintBorderin interfaceOutputDevice
-
paintBackground
public void paintBackground(RenderingContext c, CalculatedStyle style, java.awt.Rectangle bounds, java.awt.Rectangle bgImageContainer)
- Specified by:
paintBackgroundin interfaceOutputDevice
-
paintBackground
public void paintBackground(RenderingContext c, Box box)
- Specified by:
paintBackgroundin interfaceOutputDevice
-
-