## devisor2.grid.GUI.framework
Class PSGraphics

    java.lang.Object
      java.awt.Graphics
          devisor2.grid.GUI.framework.PSGraphics

public class PSGraphics
extends java.awt.Graphics

This class DrawingArea represent the place where the domains are to be drawn. It is part of the MainFrame and connected to the rest of the application via the centerfold reference.
It does not have any real functionality, this is left to the GridListener instance responsible attached to it. See there for details. the only thing supported is managing the horizontal and vertival scrollbars.

Constructor Summary
`PSGraphics()`
`PSGraphics(java.lang.String file, int ufw, int ufh, boolean ls)`

Method Summary
`void` `clearRect(int x, int y, int width, int height)`
`void` `clipRect(int x, int y, int width, int height)`
`void` `close()` closes an output
`void` `copyArea(int x, int y, int width, int height, int dx, int dy)`
`java.awt.Graphics` `create()`
`void` `dispose()`
`void` `drawArc(int x, int y, int width, int height, int sstartAngle, int sarcAngle)`
`boolean` `drawImage(java.awt.Image img, int x, int y, java.awt.Color bgcolor, java.awt.image.ImageObserver observer)`
`boolean` `drawImage(java.awt.Image img, int x, int y, java.awt.image.ImageObserver observer)`
`boolean` `drawImage(java.awt.Image img, int x, int y, int width, int height, java.awt.Color bgcolor, java.awt.image.ImageObserver observer)`
`boolean` `drawImage(java.awt.Image img, int x, int y, int width, int height, java.awt.image.ImageObserver observer)`
`boolean` `drawImage(java.awt.Image img, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, java.awt.Color c, java.awt.image.ImageObserver observer)`
`boolean` `drawImage(java.awt.Image img, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4, java.awt.image.ImageObserver observer)`
`void` `drawLine(int x1, int y1, int x2, int y2)`
`void` `drawOval(int x, int y, int width, int height)`
`void` `drawPolygon(int[] xPoints, int[] yPoints, int nPoints)`
`void` `drawPolygon(java.awt.Polygon p)`
`void` `drawPolyline(int[] xPoints, int[] yPoints, int nPoints)`
`void` `drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)`
`void` `drawString(java.text.AttributedCharacterIterator str, int x, int y)`
`void` `drawString(java.lang.String str, int x, int y)`
`void` `fillArc(int x, int y, int width, int height, int startAngle, int arcAngle)`
`void` `fillOval(int x, int y, int width, int height)`
`void` `fillPolygon(int[] xPoints, int[] yPoints, int nPoints)`
`void` `fillPolygon(java.awt.Polygon p)`
`void` `fillRect(int x, int y, int width, int height)`
`void` `fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight)`
`java.awt.Shape` `getClip()`
`java.awt.Rectangle` `getClipBounds()`
`java.awt.Color` `getColor()`
`java.awt.Font` `getFont()`
`java.awt.FontMetrics` `getFontMetrics()`
`java.awt.FontMetrics` `getFontMetrics(java.awt.Font f)`
`void` `setClip(int x, int y, int width, int height)`
`void` `setClip(java.awt.Shape s)`
`void` `setColor(java.awt.Color c)`
`void` `setFont(java.awt.Font f)`
`void` `setPaintMode()`
`void` `setXORMode(java.awt.Color c1)`
`void` `translate(int x, int y)`

Methods inherited from class java.awt.Graphics
`create, draw3DRect, drawBytes, drawChars, drawRect, fill3DRect, finalize, getClipBounds, getClipRect, hitClip, toString`

Methods inherited from class java.lang.Object
`clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### PSGraphics

    public PSGraphics()

### PSGraphics

    public PSGraphics(java.lang.String file,
                      int ufw,
                      int ufh,
                      boolean ls)

Method Detail

### close

    public void close()

  closes an output

### drawLine

    public void drawLine(int x1,
                         int y1,
                         int x2,
                         int y2)

### dispose

    public void dispose()

### drawImage

    public boolean drawImage(java.awt.Image img,
                             int x,
                             int y,
                             java.awt.image.ImageObserver observer)

### drawImage

    public boolean drawImage(java.awt.Image img,
                             int x1,
                             int y1,
                             int x2,
                             int y2,
                             int x3,
                             int y3,
                             int x4,
                             int y4,
                             java.awt.image.ImageObserver observer)

### drawImage

    public boolean drawImage(java.awt.Image img,
                             int x1,
                             int y1,
                             int x2,
                             int y2,
                             int x3,
                             int y3,
                             int x4,
                             int y4,
                             java.awt.Color c,
                             java.awt.image.ImageObserver observer)

### drawImage

    public boolean drawImage(java.awt.Image img,
                             int x,
                             int y,
                             int width,
                             int height,
                             java.awt.image.ImageObserver observer)

### drawImage

    public boolean drawImage(java.awt.Image img,
                             int x,
                             int y,
                             java.awt.Color bgcolor,
                             java.awt.image.ImageObserver observer)

### 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)

### drawString

    public void drawString(java.lang.String str,
                           int x,
                           int y)

### drawString

    public void drawString(java.text.AttributedCharacterIterator str,
                           int x,
                           int y)

### fillPolygon

    public void fillPolygon(int[] xPoints,
                            int[] yPoints,
                            int nPoints)

### fillPolygon

    public void fillPolygon(java.awt.Polygon p)

### drawPolygon

    public void drawPolygon(int[] xPoints,
                            int[] yPoints,
                            int nPoints)

### drawPolygon

    public void drawPolygon(java.awt.Polygon p)

### drawPolyline

    public void drawPolyline(int[] xPoints,
                             int[] yPoints,
                             int nPoints)

### fillArc

    public void fillArc(int x,
                        int y,
                        int width,
                        int height,
                        int startAngle,
                        int arcAngle)

### drawArc

    public void drawArc(int x,
                        int y,
                        int width,
                        int height,
                        int sstartAngle,
                        int sarcAngle)

### fillOval

    public void fillOval(int x,
                         int y,
                         int width,
                         int height)

### drawOval

    public void drawOval(int x,
                         int y,
                         int width,
                         int height)

### fillRoundRect

    public void fillRoundRect(int x,
                              int y,
                              int width,
                              int height,
                              int arcWidth,
                              int arcHeight)

### drawRoundRect

    public void drawRoundRect(int x,
                              int y,
                              int width,
                              int height,
                              int arcWidth,
                              int arcHeight)

### clearRect

    public void clearRect(int x,
                          int y,
                          int width,
                          int height)

### fillRect

    public void fillRect(int x,
                         int y,
                         int width,
                         int height)

### copyArea

    public void copyArea(int x,
                         int y,
                         int width,
                         int height,
                         int dx,
                         int dy)

### setClip

    public void setClip(java.awt.Shape s)

### setClip

    public void setClip(int x,
                        int y,
                        int width,
                        int height)

### getClipBounds

    public java.awt.Rectangle getClipBounds()

### getClip

    public java.awt.Shape getClip()

### clipRect

    public void clipRect(int x,
                         int y,
                         int width,
                         int height)

### getFontMetrics

    public java.awt.FontMetrics getFontMetrics()

### getFontMetrics

    public java.awt.FontMetrics getFontMetrics(java.awt.Font f)

### setFont

    public void setFont(java.awt.Font f)

### getFont

    public java.awt.Font getFont()

### setXORMode

    public void setXORMode(java.awt.Color c1)

### setPaintMode

    public void setPaintMode()

### getColor

    public java.awt.Color getColor()

### setColor

    public void setColor(java.awt.Color c)

### translate

    public void translate(int x,
                          int y)

### create

    public java.awt.Graphics create()