Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.memoire.dja
Class DjaGraphics1  view DjaGraphics1 download DjaGraphics1.java

java.lang.Object
  extended bycom.memoire.dja.DjaGraphics0
      extended bycom.memoire.dja.DjaGraphics1
All Implemented Interfaces:
DjaOptions

public class DjaGraphics1
extends DjaGraphics0

Implements some features of Graphics2D for JDK1.1.


Field Summary
 
Fields inherited from interface com.memoire.dja.DjaOptions
ABSOLUTE, anchorsColor, ANY, attachsColor, AUTO, BOTH, CENTER, closeX, closeY, controlsColor, defaultBigFont, defaultBoldFont, defaultPlainFont, defaultSmallFont, deltaX, deltaY, DISK_BG, DISK_EMPTY, DISK_FG, EAST, freesColor, handlesColor, HELPER, HORIZONTAL, LEFT, LEFT_TRIANGLE_BG, LEFT_TRIANGLE_EMPTY, LEFT_TRIANGLE_FG, LOSANGE_BG, LOSANGE_EMPTY, LOSANGE_FG, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_WEST, RELATIVE_ANCHOR, RELATIVE_ATTACH, RELATIVE_CONTROL, RELATIVE_NE, RELATIVE_NW, RELATIVE_SE, RELATIVE_SW, RELATIVE_TEXT_NE, RELATIVE_TEXT_NW, RELATIVE_TEXT_SE, RELATIVE_TEXT_SW, RIGHT, RIGHT_TRIANGLE_BG, RIGHT_TRIANGLE_EMPTY, RIGHT_TRIANGLE_FG, selectionBackground, selectionForeground, selectionTextColor, selectionZone, snap, SOUTH, SOUTH_EAST, SOUTH_WEST, SQUARE_BG, SQUARE_EMPTY, SQUARE_FG, VERTICAL, WEST
 
Constructor Summary
DjaGraphics1()
           
 
Method Summary
 void bresenham(java.awt.Graphics _g, int x1, int y1, int x2, int y2, DjaGraphics.BresenhamParams bp)
           
 void drawLine(java.awt.Graphics _g, int _x1, int _y1, int _x2, int _y2, DjaGraphics.BresenhamParams _bp)
           
 void drawOval(java.awt.Graphics _g, int _x, int _y, int _w, int _h, DjaGraphics.BresenhamParams _bp)
           
 void drawPolygon(java.awt.Graphics _g, int[] _xpoints, int[] _ypoints, int _npoints, DjaGraphics.BresenhamParams _bp)
           
 void drawPolyline(java.awt.Graphics _g, int[] _xpoints, int[] _ypoints, int _npoints, DjaGraphics.BresenhamParams _bp)
           
 void drawRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, DjaGraphics.BresenhamParams _bp)
           
 void drawRoundRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, int _rh, int _rv, DjaGraphics.BresenhamParams _bp)
           
 void fillOval(java.awt.Graphics _g, int _x, int _y, int _w, int _h)
           
 void fillRoundRect(java.awt.Graphics _g, int _x, int _y, int _w, int _h, int _rh, int _rv)
           
private  java.awt.Polygon getOval(int _x, int _y, int _w, int _h)
           
private  java.awt.Polygon getRoundRect(int _x, int _y, int _w, int _h, int _rh, int _rv)
           
 
Methods inherited from class com.memoire.dja.DjaGraphics0
drawPoint, drawPoint, drawPolygon, drawPolyline, fillPolygon, fillPolygon, fillRect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DjaGraphics1

public DjaGraphics1()
Method Detail

drawLine

public void drawLine(java.awt.Graphics _g,
                     int _x1,
                     int _y1,
                     int _x2,
                     int _y2,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawLine in class DjaGraphics0

drawRect

public void drawRect(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawRect in class DjaGraphics0

getRoundRect

private java.awt.Polygon getRoundRect(int _x,
                                      int _y,
                                      int _w,
                                      int _h,
                                      int _rh,
                                      int _rv)

drawRoundRect

public void drawRoundRect(java.awt.Graphics _g,
                          int _x,
                          int _y,
                          int _w,
                          int _h,
                          int _rh,
                          int _rv,
                          DjaGraphics.BresenhamParams _bp)
Specified by:
drawRoundRect in class DjaGraphics0

fillRoundRect

public void fillRoundRect(java.awt.Graphics _g,
                          int _x,
                          int _y,
                          int _w,
                          int _h,
                          int _rh,
                          int _rv)
Specified by:
fillRoundRect in class DjaGraphics0

getOval

private java.awt.Polygon getOval(int _x,
                                 int _y,
                                 int _w,
                                 int _h)

drawOval

public void drawOval(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h,
                     DjaGraphics.BresenhamParams _bp)
Specified by:
drawOval in class DjaGraphics0

fillOval

public void fillOval(java.awt.Graphics _g,
                     int _x,
                     int _y,
                     int _w,
                     int _h)
Specified by:
fillOval in class DjaGraphics0

drawPolyline

public void drawPolyline(java.awt.Graphics _g,
                         int[] _xpoints,
                         int[] _ypoints,
                         int _npoints,
                         DjaGraphics.BresenhamParams _bp)
Specified by:
drawPolyline in class DjaGraphics0

drawPolygon

public void drawPolygon(java.awt.Graphics _g,
                        int[] _xpoints,
                        int[] _ypoints,
                        int _npoints,
                        DjaGraphics.BresenhamParams _bp)
Specified by:
drawPolygon in class DjaGraphics0

bresenham

public void bresenham(java.awt.Graphics _g,
                      int x1,
                      int y1,
                      int x2,
                      int y2,
                      DjaGraphics.BresenhamParams bp)