All Packages This Package Class Hierarchy Class Search Index
Class bmsi.fsp.FSGraphics
java.lang.Object
|
+----java.awt.Graphics
|
+----bmsi.fsp.FSGraphics
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
- Returned By:
- FSToolkit1.createGraphics(), FSToolkit.createGraphics()
static final char ULCORNER
static final char URCORNER
static final char LLCORNER
static final char LRCORNER
static final char VLINE
static final char HLINE
static final char PLUS
static final char BTEE
static final char TTEE
static final char LTEE
static final char RTEE
FSGraphics(FSComponent comp)
We send all graphics commands to the remote component.
public Graphics create()
- Overrides:
- create in class Graphics
public void translate(int x,
int y)
- Overrides:
- translate in class Graphics
public final Rectangle getClipRect()
- Overrides:
- getClipRect in class Graphics
public Rectangle getClipBounds()
- Overrides:
- getClipBounds in class Graphics
public void clipRect(int x,
int y,
int width,
int height)
- Overrides:
- clipRect in class Graphics
public void setClip(int x,
int y,
int width,
int height)
- Overrides:
- setClip in class Graphics
public void setClip(Shape s)
- Overrides:
- setClip in class Graphics
public Shape getClip()
- Overrides:
- getClip in class Graphics
public Color getColor()
- Overrides:
- getColor in class Graphics
public void setColor(Color c)
- Overrides:
- setColor in class Graphics
public void setPaintMode()
- Overrides:
- setPaintMode in class Graphics
public void setXORMode(Color c)
- Overrides:
- setXORMode in class Graphics
public Font getFont()
- Overrides:
- getFont in class Graphics
public void setFont(Font f)
- Overrides:
- setFont in class Graphics
public FontMetrics getFontMetrics(Font f)
- Overrides:
- getFontMetrics in class Graphics
public void copyArea(int x,
int y,
int width,
int height,
int dx,
int dy)
- Overrides:
- copyArea in class Graphics
public void drawLine(int x1,
int y1,
int x2,
int y2)
- Overrides:
- drawLine in class Graphics
public void fillRect(int x,
int y,
int width,
int height)
- Overrides:
- fillRect in class Graphics
public void fill3DRect(int x,
int y,
int width,
int height,
boolean raised)
- Overrides:
- fill3DRect in class Graphics
public void drawRect(int x,
int y,
int width,
int height)
- Overrides:
- drawRect in class Graphics
public void draw3DRect(int x,
int y,
int width,
int height,
boolean raised)
- Overrides:
- draw3DRect in class Graphics
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
public void drawRoundRect(int x,
int y,
int w,
int h,
int arcw,
int arch)
- Overrides:
- drawRoundRect in class Graphics
public void fillRoundRect(int x,
int y,
int w,
int h,
int arcw,
int arch)
- Overrides:
- fillRoundRect in class Graphics
public void drawString(String str,
int x,
int y)
- Overrides:
- drawString in class Graphics
public void drawPolyline(int[] x,
int[] y,
int n)
- Overrides:
- drawPolyline in class Graphics
public void drawPolygon(int[] x,
int[] y,
int n)
- Overrides:
- drawPolygon in class Graphics
public void drawOval(int x,
int y,
int width,
int height)
- Overrides:
- drawOval in class Graphics
public void fillOval(int x,
int y,
int width,
int height)
- Overrides:
- fillOval in class Graphics
public void drawArc(int x,
int y,
int w,
int h,
int startang,
int arcang)
- Overrides:
- drawArc in class Graphics
public void fillArc(int x,
int y,
int w,
int h,
int startang,
int arcang)
- Overrides:
- fillArc in class Graphics
public void fillPolygon(int[] xpoints,
int[] ypoints,
int npoints)
- Overrides:
- fillPolygon in class Graphics
public boolean drawImage(Image img,
int x,
int y,
ImageObserver obs)
- Overrides:
- drawImage in class Graphics
public boolean drawImage(Image img,
int x,
int y,
int w,
int h,
ImageObserver obs)
- Overrides:
- drawImage in class Graphics
public boolean drawImage(Image img,
int x,
int y,
Color c,
ImageObserver obs)
- Overrides:
- drawImage in class Graphics
public boolean drawImage(Image img,
int x,
int y,
int w,
int h,
Color c,
ImageObserver obs)
- Overrides:
- drawImage in class Graphics
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
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
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