info.informatica.doc.style.css.j2d
Class Java2DRenderer

java.lang.Object
  extended by info.informatica.doc.style.css.j2d.Java2DRenderer

public class Java2DRenderer
extends Object


Constructor Summary
Java2DRenderer()
           
 
Method Summary
static void configureGraphics(Graphics2D g2, CSSContainerBox box)
           
static Font createFont(CSS2ComputedProperties styledecl)
           
protected  float drawInlineBox(Graphics2D g2, CSSInlineBox box, float x, float y)
           
protected  void drawStaticBlockBox(Graphics2D g2, CSSContainerBox box, float x, float initialY)
           
 float getHeight()
           
 float getWidth()
           
 void paint(Graphics2D g2)
           
 void setDocument(XHTMLDocument xdoc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Java2DRenderer

public Java2DRenderer()
Method Detail

setDocument

public void setDocument(XHTMLDocument xdoc)
                 throws CSSStyleException
Throws:
CSSStyleException

paint

public void paint(Graphics2D g2)

drawStaticBlockBox

protected void drawStaticBlockBox(Graphics2D g2,
                                  CSSContainerBox box,
                                  float x,
                                  float initialY)

drawInlineBox

protected float drawInlineBox(Graphics2D g2,
                              CSSInlineBox box,
                              float x,
                              float y)

createFont

public static Font createFont(CSS2ComputedProperties styledecl)

configureGraphics

public static void configureGraphics(Graphics2D g2,
                                     CSSContainerBox box)

getWidth

public float getWidth()

getHeight

public float getHeight()


Copyright © 2011 informatica.info. All Rights Reserved.