Klasse javax.swing.DebugGraphics | 1.2 |
java.lang.Object | +--java.awt.Graphics | +--javax.swing.DebugGraphics
RepaintManager repaintManager = RepaintManager.currentManager(component); repaintManager.setDoubleBufferingEnabled(false);
Datenelemente | |
---|---|
public final static int | LOG_OPTION |
public final static int | FLASH_OPTION |
public final static int | BUFFERED_OPTION |
public final static int | NONE_OPTION |
Konstruktoren | |
---|---|
public | DebugGraphics() |
public | DebugGraphics(Graphics graphics, JComponent component) |
public | DebugGraphics(Graphics graphics) |
Methoden | |
---|---|
public Graphics | create() |
public Graphics | create(int x, int y, int width, int height) |
public static void | setFlashColor(Color flashColor) |
public static Color | flashColor() |
public static void | setFlashTime(int flashTime) |
public static int | flashTime() |
public static void | setFlashCount(int flashCount) |
public static int | flashCount() |
public static void | setLogStream(PrintStream stream) |
public static PrintStream | logStream() |
public void | setFont(Font aFont) |
public Font | getFont() |
public void | setColor(Color aColor) |
public Color | getColor() |
public FontMetrics | getFontMetrics() |
public FontMetrics | getFontMetrics(Font f) |
public void | translate(int x, int y) |
public void | setPaintMode() |
public void | setXORMode(Color aColor) |
public Rectangle | getClipBounds() |
public void | clipRect(int x, int y, int width, int height) |
public void | setClip(int x, int y, int width, int height) |
public Shape | getClip() |
public void | setClip(Shape clip) |
public void | drawRect(int x, int y, int width, int height) |
public void | fillRect(int x, int y, int width, int height) |
public void | clearRect(int x, int y, int width, int height) |
public void | drawRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) |
public void | fillRoundRect(int x, int y, int width, int height, int arcWidth, int arcHeight) |
public void | drawLine(int x1, int y1, int x2, int y2) |
public void | draw3DRect(int x, int y, int width, int height, boolean raised) |
public void | fill3DRect(int x, int y, int width, int height, boolean raised) |
public void | drawOval(int x, int y, int width, int height) |
public void | fillOval(int x, int y, int width, int height) |
public void | drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) |
public void | fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) |
public void | drawPolyline(int[] xPoints, int[] yPoints, int nPoints) |
public void | drawPolygon(int[] xPoints, int[] yPoints, int nPoints) |
public void | fillPolygon(int[] xPoints, int[] yPoints, int nPoints) |
public void | drawString(String aString, int x, int y) |
public void | drawString(AttributedCharacterIterator iterator, int x, int y) |
public void | drawBytes(byte[] data, int offset, int length, int x, int y) |
public void | drawChars(char[] data, int offset, int length, int x, int y) |
public boolean | drawImage(Image img, int x, int y, ImageObserver observer) |
public boolean | drawImage(Image img, int x, int y, int width, int height, ImageObserver observer) |
public boolean | drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) |
public boolean | drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) |
public boolean | drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) |
public boolean | drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) |
public void | copyArea(int x, int y, int width, int height, int destX, int destY) |
public void | dispose() |
public boolean | isDrawingBuffer() |
public void | setDebugOptions(int options) |
public int | getDebugOptions() |