EspressReport
v 5.5

quadbase.common.util.internal
Class QbGraphics

java.lang.Object
  |
  +--java.awt.Graphics
        |
        +--quadbase.common.util.internal.QbGraphics
All Implemented Interfaces:
IQbGraphics
Direct Known Subclasses:
ZoomGraphics

public class QbGraphics
extends java.awt.Graphics
implements IQbGraphics


Constructor Summary
QbGraphics()
           
QbGraphics(int width, int height, java.io.DataOutputStream out)
           
QbGraphics(int width, int height, java.io.DataOutputStream out, boolean[] update)
           
 
Method Summary
 void clearRect(int x, int y, int width, int height)
          See Graphics.
 void clipRect(int x, int y, int width, int height)
          Not supported.
 void copyArea(int x, int y, int width, int height, int dx, int dy)
          Not supported.
 java.awt.Graphics create()
          Not supported.
 java.awt.Graphics create(int x, int y, int width, int height)
          Not supported.
 void dispose()
          See Graphics.
 void done()
           
 void draw3DRect(int x, int y, int width, int height, boolean raised)
          See Graphics.
 void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle)
          See Graphics.
 void drawArc2D(float x, float y, float w, float h, float start, float extent, int type)
           
 void drawImage(byte[] data, int option, int x, int y, int width, int height)
           
 boolean drawImage(java.awt.Image img, int x, int y, java.awt.Color bgcolor, java.awt.image.ImageObserver observer)
          See Graphics.
 boolean drawImage(java.awt.Image img, int x, int y, java.awt.image.ImageObserver observer)
          See Graphics.
 boolean drawImage(java.awt.Image img, int x, int y, int width, int height, java.awt.Color bgcolor, java.awt.image.ImageObserver observer)
          See Graphics.
 boolean drawImage(java.awt.Image img, int x, int y, int width, int height, java.awt.image.ImageObserver observer)
          See Graphics.
 boolean drawImage(java.awt.Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, java.awt.Color bgcolor, java.awt.image.ImageObserver observer)
          See Graphics.
 boolean drawImage(java.awt.Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, java.awt.image.ImageObserver observer)
          See Graphics.
 void drawImage(java.net.URL url, int option, int x, int y, int width, int height)
           
 void drawIntersect(java.awt.Polygon poly, double x, double y, double w, int thickness)
           
 void drawLine(int x1, int y1, int x2, int y2)
          See Graphics.
 void drawLine2D(float x1, float y1, float x2, float y2)
           
 void drawOval(int x, int y, int width, int height)
          See Graphics.
 void drawPolygon(int[] xPoints, int[] yPoints, int nPoints)
          See Graphics.
 void drawPolyline(int[] xPoints, int[] yPoints, int nPoints)
          See Graphics.
 void drawRect(int x, int y, int width, int height)
          See Graphics.
 void drawRotateString(java.lang.String str, java.awt.Font font, boolean isJ2DRotateText, java.awt.Color color, float angle, int x, int y)
           
 void drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
          See Graphics.
 void drawRoundRectangle(float x1, float y1, float x2, float y2, float rx, float ry)
           
 void drawSegment(java.lang.Object[] res, int x, int y)
           
 void drawString(java.text.AttributedCharacterIterator text, int x, int y)
          Not supported.
 void drawString(java.lang.String str, int x, int y)
          See Graphics.
 void drawString(java.lang.String str, int x, int w, short align, int y, boolean drawUnderline)
          See Graphics.
 void fill3DRect(int x, int y, int width, int height, boolean raised)
          See Graphics.
 void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)
          See Graphics.
 void fillIntersect(java.awt.Polygon poly, double x, double y, double w)
           
 void fillOval(int x, int y, int width, int height)
          See Graphics.
 void fillPolygon(int[] xPoints, int[] yPoints, int nPoints)
          See Graphics.
 void fillRect(int x, int y, int width, int height)
          See Graphics.
 void fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)
          See Graphics.
 void fillRoundRectangle(float x, float y, float w, float h, float r, float thickness, boolean drawTop, boolean drawBottom)
           
 java.awt.Shape getClip()
          Not supported.
 java.awt.Rectangle getClipBounds()
          Not supported.
 java.awt.Rectangle getClipRect()
          Not supported.
 java.awt.Color getColor()
          See Graphics.
 java.awt.Font getFont()
          See Graphics.
 java.awt.FontMetrics getFontMetrics(java.awt.Font f)
          See Graphics.
 void setBasicStroke(float width, int cap, int join, float miterlimit, float[] dash, float dash_phase)
           
 void setChartTab()
           
 void setClip(int x, int y, int width, int height)
          Not supported.
 void setClip(java.awt.Shape clip)
          Not supported.
 void setColor(java.awt.Color newcolor)
          See Graphics.
 void setCompositeSrcOver(float alpha)
           
 void setEndTab()
           
 void setFont(java.awt.Font newfont)
          See Graphics.
 void setGradientPaint(int x1, int y1, java.awt.Color color1, int x2, int y2, java.awt.Color color2, boolean cyclic)
           
 void setLegendTab()
           
 void setOriginalComposite()
           
 void setPaintMode()
          Not supported.
 void setTableTab()
           
 void setTexturePaint(int patternID, java.awt.Color color)
           
 void setXORMode(java.awt.Color c1)
          Not supported.
 void translate(int x, int y)
          See Graphics.
 
Methods inherited from class java.awt.Graphics
drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipBounds, getFontMetrics, hitClip, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QbGraphics

public QbGraphics()

QbGraphics

public QbGraphics(int width,
                  int height,
                  java.io.DataOutputStream out,
                  boolean[] update)

QbGraphics

public QbGraphics(int width,
                  int height,
                  java.io.DataOutputStream out)
Method Detail

done

public void done()
          throws java.lang.Exception

setChartTab

public void setChartTab()
Specified by:
setChartTab in interface IQbGraphics

setTableTab

public void setTableTab()
Specified by:
setTableTab in interface IQbGraphics

setLegendTab

public void setLegendTab()
Specified by:
setLegendTab in interface IQbGraphics

setEndTab

public void setEndTab()
Specified by:
setEndTab in interface IQbGraphics

clearRect

public void clearRect(int x,
                      int y,
                      int width,
                      int height)
See Graphics.
Overrides:
clearRect in class java.awt.Graphics
See Also:
Graphics

clipRect

public void clipRect(int x,
                     int y,
                     int width,
                     int height)
Not supported.
Overrides:
clipRect in class java.awt.Graphics
See Also:
Graphics

copyArea

public void copyArea(int x,
                     int y,
                     int width,
                     int height,
                     int dx,
                     int dy)
Not supported.
Overrides:
copyArea in class java.awt.Graphics
See Also:
Graphics

create

public java.awt.Graphics create()
Not supported.
Overrides:
create in class java.awt.Graphics
See Also:
Graphics

create

public java.awt.Graphics create(int x,
                                int y,
                                int width,
                                int height)
Not supported.
Overrides:
create in class java.awt.Graphics
See Also:
Graphics

dispose

public void dispose()
See Graphics.
Overrides:
dispose in class java.awt.Graphics
See Also:
Graphics

drawArc

public void drawArc(int x,
                    int y,
                    int width,
                    int height,
                    int startAngle,
                    int arcAngle)
See Graphics.
Overrides:
drawArc in class java.awt.Graphics
See Also:
Graphics

drawImage

public void drawImage(java.net.URL url,
                      int option,
                      int x,
                      int y,
                      int width,
                      int height)
Specified by:
drawImage in interface IQbGraphics

drawImage

public void drawImage(byte[] data,
                      int option,
                      int x,
                      int y,
                      int width,
                      int height)
Specified by:
drawImage in interface IQbGraphics

drawLine2D

public void drawLine2D(float x1,
                       float y1,
                       float x2,
                       float y2)

drawArc2D

public void drawArc2D(float x,
                      float y,
                      float w,
                      float h,
                      float start,
                      float extent,
                      int type)
Specified by:
drawArc2D in interface IQbGraphics

setBasicStroke

public void setBasicStroke(float width,
                           int cap,
                           int join,
                           float miterlimit,
                           float[] dash,
                           float dash_phase)
Specified by:
setBasicStroke in interface IQbGraphics

drawRoundRectangle

public void drawRoundRectangle(float x1,
                               float y1,
                               float x2,
                               float y2,
                               float rx,
                               float ry)

fillRoundRectangle

public void fillRoundRectangle(float x,
                               float y,
                               float w,
                               float h,
                               float r,
                               float thickness,
                               boolean drawTop,
                               boolean drawBottom)

fillIntersect

public void fillIntersect(java.awt.Polygon poly,
                          double x,
                          double y,
                          double w)
Specified by:
fillIntersect in interface IQbGraphics

drawIntersect

public void drawIntersect(java.awt.Polygon poly,
                          double x,
                          double y,
                          double w,
                          int thickness)
Specified by:
drawIntersect in interface IQbGraphics

setGradientPaint

public void setGradientPaint(int x1,
                             int y1,
                             java.awt.Color color1,
                             int x2,
                             int y2,
                             java.awt.Color color2,
                             boolean cyclic)
Specified by:
setGradientPaint in interface IQbGraphics

setTexturePaint

public void setTexturePaint(int patternID,
                            java.awt.Color color)
Specified by:
setTexturePaint in interface IQbGraphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int x,
                         int y,
                         java.awt.Color bgcolor,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int x,
                         int y,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int x,
                         int y,
                         int width,
                         int height,
                         java.awt.Color bgcolor,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int x,
                         int y,
                         int width,
                         int height,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int dx1,
                         int dy1,
                         int dx2,
                         int dy2,
                         int sx1,
                         int sy1,
                         int sx2,
                         int sy2,
                         java.awt.Color bgcolor,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

drawImage

public boolean drawImage(java.awt.Image img,
                         int dx1,
                         int dy1,
                         int dx2,
                         int dy2,
                         int sx1,
                         int sy1,
                         int sx2,
                         int sy2,
                         java.awt.image.ImageObserver observer)
See Graphics.
Overrides:
drawImage in class java.awt.Graphics
See Also:
Graphics

setCompositeSrcOver

public void setCompositeSrcOver(float alpha)
Specified by:
setCompositeSrcOver in interface IQbGraphics

setOriginalComposite

public void setOriginalComposite()
Specified by:
setOriginalComposite in interface IQbGraphics

drawLine

public void drawLine(int x1,
                     int y1,
                     int x2,
                     int y2)
See Graphics.
Overrides:
drawLine in class java.awt.Graphics
See Also:
Graphics

drawOval

public void drawOval(int x,
                     int y,
                     int width,
                     int height)
See Graphics.
Overrides:
drawOval in class java.awt.Graphics
See Also:
Graphics

drawPolygon

public void drawPolygon(int[] xPoints,
                        int[] yPoints,
                        int nPoints)
See Graphics.
Overrides:
drawPolygon in class java.awt.Graphics
See Also:
Graphics

drawPolyline

public void drawPolyline(int[] xPoints,
                         int[] yPoints,
                         int nPoints)
See Graphics.
Overrides:
drawPolyline in class java.awt.Graphics
See Also:
Graphics

drawRect

public void drawRect(int x,
                     int y,
                     int width,
                     int height)
See Graphics.
Overrides:
drawRect in class java.awt.Graphics
See Also:
Graphics

draw3DRect

public void draw3DRect(int x,
                       int y,
                       int width,
                       int height,
                       boolean raised)
See Graphics.
Overrides:
draw3DRect in class java.awt.Graphics
See Also:
Graphics

drawRoundRect

public void drawRoundRect(int x,
                          int y,
                          int width,
                          int height,
                          int arcWidth,
                          int arcHeight)
See Graphics.
Overrides:
drawRoundRect in class java.awt.Graphics
See Also:
Graphics

drawString

public void drawString(java.lang.String str,
                       int x,
                       int y)
See Graphics.
Overrides:
drawString in class java.awt.Graphics
See Also:
Graphics

drawString

public void drawString(java.lang.String str,
                       int x,
                       int w,
                       short align,
                       int y,
                       boolean drawUnderline)
See Graphics.
Specified by:
drawString in interface IQbGraphics
See Also:
Graphics

drawSegment

public void drawSegment(java.lang.Object[] res,
                        int x,
                        int y)
Specified by:
drawSegment in interface IQbGraphics

drawRotateString

public void drawRotateString(java.lang.String str,
                             java.awt.Font font,
                             boolean isJ2DRotateText,
                             java.awt.Color color,
                             float angle,
                             int x,
                             int y)
Specified by:
drawRotateString in interface IQbGraphics

drawString

public void drawString(java.text.AttributedCharacterIterator text,
                       int x,
                       int y)
Not supported.
Overrides:
drawString in class java.awt.Graphics
See Also:
Graphics

fillArc

public void fillArc(int x,
                    int y,
                    int width,
                    int height,
                    int startAngle,
                    int arcAngle)
See Graphics.
Overrides:
fillArc in class java.awt.Graphics
See Also:
Graphics

fillOval

public void fillOval(int x,
                     int y,
                     int width,
                     int height)
See Graphics.
Overrides:
fillOval in class java.awt.Graphics
See Also:
Graphics

fillPolygon

public void fillPolygon(int[] xPoints,
                        int[] yPoints,
                        int nPoints)
See Graphics.
Overrides:
fillPolygon in class java.awt.Graphics
See Also:
Graphics

fillRect

public void fillRect(int x,
                     int y,
                     int width,
                     int height)
See Graphics.
Overrides:
fillRect in class java.awt.Graphics
See Also:
Graphics

fill3DRect

public void fill3DRect(int x,
                       int y,
                       int width,
                       int height,
                       boolean raised)
See Graphics.
Overrides:
fill3DRect in class java.awt.Graphics
See Also:
Graphics

fillRoundRect

public void fillRoundRect(int x,
                          int y,
                          int width,
                          int height,
                          int arcWidth,
                          int arcHeight)
See Graphics.
Overrides:
fillRoundRect in class java.awt.Graphics
See Also:
Graphics

getClip

public java.awt.Shape getClip()
Not supported.
Overrides:
getClip in class java.awt.Graphics
See Also:
Graphics

getClipRect

public java.awt.Rectangle getClipRect()
Not supported.
Overrides:
getClipRect in class java.awt.Graphics
See Also:
Graphics

getClipBounds

public java.awt.Rectangle getClipBounds()
Not supported.
Overrides:
getClipBounds in class java.awt.Graphics
See Also:
Graphics

getColor

public java.awt.Color getColor()
See Graphics.
Overrides:
getColor in class java.awt.Graphics
See Also:
Graphics

getFont

public java.awt.Font getFont()
See Graphics.
Overrides:
getFont in class java.awt.Graphics
See Also:
Graphics

getFontMetrics

public java.awt.FontMetrics getFontMetrics(java.awt.Font f)
See Graphics.
Overrides:
getFontMetrics in class java.awt.Graphics
See Also:
Graphics

setClip

public void setClip(int x,
                    int y,
                    int width,
                    int height)
Not supported.
Overrides:
setClip in class java.awt.Graphics
See Also:
Graphics

setClip

public void setClip(java.awt.Shape clip)
Not supported.
Overrides:
setClip in class java.awt.Graphics
See Also:
Graphics

setColor

public void setColor(java.awt.Color newcolor)
See Graphics.
Overrides:
setColor in class java.awt.Graphics
See Also:
Graphics

setFont

public void setFont(java.awt.Font newfont)
See Graphics.
Overrides:
setFont in class java.awt.Graphics
See Also:
Graphics

setPaintMode

public void setPaintMode()
Not supported.
Overrides:
setPaintMode in class java.awt.Graphics
See Also:
Graphics

setXORMode

public void setXORMode(java.awt.Color c1)
Not supported.
Overrides:
setXORMode in class java.awt.Graphics
See Also:
Graphics

translate

public void translate(int x,
                      int y)
See Graphics.
Overrides:
translate in class java.awt.Graphics
See Also:
Graphics

EspressReport
v 5.5