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 an OutputDevice
. It provides complete
implementations for many OutputDevice
methods.
Method Summary |
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,
Box box)
|
void |
paintBackground(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle bounds,
java.awt.Rectangle bgImageContainer)
|
void |
paintBorder(RenderingContext c,
Box box)
|
void |
paintBorder(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle edge,
int sides)
|
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 |
AbstractOutputDevice
public AbstractOutputDevice()
drawText
public void drawText(RenderingContext c,
InlineText inlineText)
- Specified by:
drawText
in interface OutputDevice
drawTextDecoration
public void drawTextDecoration(RenderingContext c,
InlineLayoutBox iB,
TextDecoration decoration)
- Specified by:
drawTextDecoration
in interface OutputDevice
drawTextDecoration
public void drawTextDecoration(RenderingContext c,
LineBox lineBox)
- Specified by:
drawTextDecoration
in interface OutputDevice
drawDebugOutline
public void drawDebugOutline(RenderingContext c,
Box box,
FSColor color)
- Specified by:
drawDebugOutline
in interface OutputDevice
paintCollapsedBorder
public void paintCollapsedBorder(RenderingContext c,
BorderPropertySet border,
java.awt.Rectangle bounds,
int side)
- Specified by:
paintCollapsedBorder
in interface OutputDevice
paintBorder
public void paintBorder(RenderingContext c,
Box box)
- Specified by:
paintBorder
in interface OutputDevice
paintBorder
public void paintBorder(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle edge,
int sides)
- Specified by:
paintBorder
in interface OutputDevice
paintBackground
public void paintBackground(RenderingContext c,
CalculatedStyle style,
java.awt.Rectangle bounds,
java.awt.Rectangle bgImageContainer)
- Specified by:
paintBackground
in interface OutputDevice
paintBackground
public void paintBackground(RenderingContext c,
Box box)
- Specified by:
paintBackground
in interface OutputDevice
Flying Saucer Project Home