All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.fsp.FSGraphics
java.lang.Object
   |
   +----java.awt.Graphics
           |
           +----bmsi.fsp.FSGraphics

  Summary

abstract class  FSGraphics
     extends java.awt.Graphics
{
          // Fields 11
     static final char BTEE;
     static final char HLINE;
     static final char LLCORNER;
     static final char LRCORNER;
     static final char LTEE;
     static final char PLUS;
     static final char RTEE;
     static final char TTEE;
     static final char ULCORNER;
     static final char URCORNER;
     static final char VLINE;

          // Constructors 1
     FSGraphics(FSComponent);

          // Methods 39
     public void clearRect(int, int, int, int);
     public void clipRect(int, int, int, int);
     public void copyArea(int, int, int, int, int, int);
     public Graphics create();
     public void dispose();
     public void draw3DRect(int, int, int, int, boolean);
     public void drawArc(int, int, int, int, int, int);
     public boolean drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver);
     public boolean drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver);
     public boolean drawImage(Image, int, int, int, int, Color, ImageObserver);
     public boolean drawImage(Image, int, int, int, int, ImageObserver);
     public boolean drawImage(Image, int, int, Color, ImageObserver);
     public boolean drawImage(Image, int, int, ImageObserver);
     public void drawLine(int, int, int, int);
     public void drawOval(int, int, int, int);
     public void drawPolygon(int[], int[], int);
     public void drawPolyline(int[], int[], int);
     public void drawRect(int, int, int, int);
     public void drawRoundRect(int, int, int, int, int, int);
     public void drawString(String, int, int);
     public void fill3DRect(int, int, int, int, boolean);
     public void fillArc(int, int, int, int, int, int);
     public void fillOval(int, int, int, int);
     public void fillPolygon(int[], int[], int);
     public void fillRect(int, int, int, int);
     public void fillRoundRect(int, int, int, int, int, int);
     public Shape getClip();
     public Rectangle getClipBounds();
     public final Rectangle getClipRect();
     public Color getColor();
     public Font getFont();
     public FontMetrics getFontMetrics(Font);
     public void setClip(int, int, int, int);
     public void setClip(Shape);
     public void setColor(Color);
     public void setFont(Font);
     public void setPaintMode();
     public void setXORMode(Color);
     public void translate(int, int);
}

A TUI implementation of java.awt.Graphics. This class is abstract so that it will compile in JDK1.1 or Java 2. The appropriate instance of FSToolkit will create a compatible instance of this class.

See Also: createGraphics


  Cross Reference

Returned By:
FSToolkit1.createGraphics(), FSToolkit.createGraphics()





  Fields

· ULCORNER

Summary  |  Top
   static final char ULCORNER


· URCORNER

Summary  |  Top
   static final char URCORNER


· LLCORNER

Summary  |  Top
   static final char LLCORNER


· LRCORNER

Summary  |  Top
   static final char LRCORNER


· VLINE

Summary  |  Top
   static final char VLINE


· HLINE

Summary  |  Top
   static final char HLINE


· PLUS

Summary  |  Top
   static final char PLUS


· BTEE

Summary  |  Top
   static final char BTEE


· TTEE

Summary  |  Top
   static final char TTEE


· LTEE

Summary  |  Top
   static final char LTEE


· RTEE

Summary  |  Top
   static final char RTEE


  Constructors

· FSGraphics

Summary  |  Top

   FSGraphics(FSComponent comp) 

We send all graphics commands to the remote component.



  Methods

· create

Summary  |  Top
   public Graphics create() 
Overrides:
create in class Graphics


· translate

Summary  |  Top
   public void translate(int x, 
                         int y) 
Overrides:
translate in class Graphics


· getClipRect

Summary  |  Top
   public final Rectangle getClipRect() 
Overrides:
getClipRect in class Graphics


· getClipBounds

Summary  |  Top
   public Rectangle getClipBounds() 
Overrides:
getClipBounds in class Graphics


· clipRect

Summary  |  Top
   public void clipRect(int x, 
                        int y, 
                        int width, 
                        int height) 
Overrides:
clipRect in class Graphics


· setClip

Summary  |  Top
   public void setClip(int x, 
                       int y, 
                       int width, 
                       int height) 
Overrides:
setClip in class Graphics


· setClip

Summary  |  Top
   public void setClip(Shape s) 
Overrides:
setClip in class Graphics


· getClip

Summary  |  Top
   public Shape getClip() 
Overrides:
getClip in class Graphics


· getColor

Summary  |  Top
   public Color getColor() 
Overrides:
getColor in class Graphics


· setColor

Summary  |  Top
   public void setColor(Color c) 
Overrides:
setColor in class Graphics


· setPaintMode

Summary  |  Top
   public void setPaintMode() 
Overrides:
setPaintMode in class Graphics


· setXORMode

Summary  |  Top
   public void setXORMode(Color c) 
Overrides:
setXORMode in class Graphics


· getFont

Summary  |  Top
   public Font getFont() 
Overrides:
getFont in class Graphics


· setFont

Summary  |  Top
   public void setFont(Font f) 
Overrides:
setFont in class Graphics


· getFontMetrics

Summary  |  Top
   public FontMetrics getFontMetrics(Font f) 
Overrides:
getFontMetrics in class Graphics


· copyArea

Summary  |  Top
   public void copyArea(int x, 
                        int y, 
                        int width, 
                        int height, 
                        int dx, 
                        int dy) 
Overrides:
copyArea in class Graphics


· drawLine

Summary  |  Top
   public void drawLine(int x1, 
                        int y1, 
                        int x2, 
                        int y2) 
Overrides:
drawLine in class Graphics


· fillRect

Summary  |  Top
   public void fillRect(int x, 
                        int y, 
                        int width, 
                        int height) 
Overrides:
fillRect in class Graphics


· fill3DRect

Summary  |  Top
   public void fill3DRect(int x, 
                          int y, 
                          int width, 
                          int height, 
                          boolean raised) 
Overrides:
fill3DRect in class Graphics


· drawRect

Summary  |  Top
   public void drawRect(int x, 
                        int y, 
                        int width, 
                        int height) 
Overrides:
drawRect in class Graphics


· draw3DRect

Summary  |  Top
   public void draw3DRect(int x, 
                          int y, 
                          int width, 
                          int height, 
                          boolean raised) 
Overrides:
draw3DRect in class Graphics


· clearRect

Summary  |  Top
   public void clearRect(int x, 
                         int y, 
                         int width, 
                         int height) 

Clear area to background color. On screen drawing gets background color from component.

Overrides:
clearRect in class Graphics


· drawRoundRect

Summary  |  Top
   public void drawRoundRect(int x, 
                             int y, 
                             int w, 
                             int h, 
                             int arcw, 
                             int arch) 
Overrides:
drawRoundRect in class Graphics


· fillRoundRect

Summary  |  Top
   public void fillRoundRect(int x, 
                             int y, 
                             int w, 
                             int h, 
                             int arcw, 
                             int arch) 
Overrides:
fillRoundRect in class Graphics


· drawString

Summary  |  Top
   public void drawString(String str, 
                          int x, 
                          int y) 
Overrides:
drawString in class Graphics


· drawPolyline

Summary  |  Top
   public void drawPolyline(int[] x, 
                            int[] y, 
                            int n) 
Overrides:
drawPolyline in class Graphics


· drawPolygon

Summary  |  Top
   public void drawPolygon(int[] x, 
                           int[] y, 
                           int n) 
Overrides:
drawPolygon in class Graphics


· drawOval

Summary  |  Top
   public void drawOval(int x, 
                        int y, 
                        int width, 
                        int height) 
Overrides:
drawOval in class Graphics


· fillOval

Summary  |  Top
   public void fillOval(int x, 
                        int y, 
                        int width, 
                        int height) 
Overrides:
fillOval in class Graphics


· drawArc

Summary  |  Top
   public void drawArc(int x, 
                       int y, 
                       int w, 
                       int h, 
                       int startang, 
                       int arcang) 
Overrides:
drawArc in class Graphics


· fillArc

Summary  |  Top
   public void fillArc(int x, 
                       int y, 
                       int w, 
                       int h, 
                       int startang, 
                       int arcang) 
Overrides:
fillArc in class Graphics


· fillPolygon

Summary  |  Top
   public void fillPolygon(int[] xpoints, 
                           int[] ypoints, 
                           int npoints) 
Overrides:
fillPolygon in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int x, 
                            int y, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int x, 
                            int y, 
                            int w, 
                            int h, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int x, 
                            int y, 
                            Color c, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int x, 
                            int y, 
                            int w, 
                            int h, 
                            Color c, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int dx1, 
                            int dy1, 
                            int dx2, 
                            int dy2, 
                            int sx1, 
                            int sy1, 
                            int sx2, 
                            int sy2, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· drawImage

Summary  |  Top
   public boolean drawImage(Image img, 
                            int dx1, 
                            int dy1, 
                            int dx2, 
                            int dy2, 
                            int sx1, 
                            int sy1, 
                            int sx2, 
                            int sy2, 
                            Color c, 
                            ImageObserver obs) 
Overrides:
drawImage in class Graphics


· dispose

Summary  |  Top
   public void dispose() 

null out references to speed GC

Overrides:
dispose in class Graphics


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7