gcc/libjava/javax/swing/DebugGraphics.java
Michael Koch af0088587f AbstractAction.java, [...]: Reworked imports.
2004-01-09  Michael Koch  <konqueror@gmx.de>

	* javax/swing/AbstractAction.java,
	javax/swing/AbstractSet.java,
	javax/swing/Action.java,
	javax/swing/ActionMap.java,
	javax/swing/BoundedRangeModel.java,
	javax/swing/ButtonModel.java,
	javax/swing/CellEditor.java,
	javax/swing/CellRendererPane.java,
	javax/swing/ComboBoxEditor.java,
	javax/swing/DebugGraphics.java,
	javax/swing/DefaultCellEditor.java,
	javax/swing/DefaultCellRenderer.java,
	javax/swing/DefaultComboBoxModel.java,
	javax/swing/DefaultDesktopManager.java,
	javax/swing/DefaultFocusManager.java,
	javax/swing/DefaultListCellRenderer.java,
	javax/swing/Icon.java,
	javax/swing/JButton.java,
	javax/swing/JCheckBoxMenuItem.java,
	javax/swing/JDesktopPane.java,
	javax/swing/JEditorPane.java,
	javax/swing/JMenu.java,
	javax/swing/JPanel.java,
	javax/swing/JPasswordField.java,
	javax/swing/JPopupMenu.java,
	javax/swing/JProgressBar.java: Reworked imports.

From-SVN: r75572
2004-01-09 10:18:47 +00:00

726 lines
14 KiB
Java

/* DebugGraphics.java --
Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package javax.swing;
import java.awt.Color;
import java.awt.Font;
import java.awt.FontMetrics;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Rectangle;
import java.awt.Shape;
import java.awt.image.ImageObserver;
import java.io.PrintStream;
import java.text.AttributedCharacterIterator;
/**
* DebugGraphics
* @author Andrew Selkirk
* @version 1.0
*/
public class DebugGraphics extends Graphics {
//-------------------------------------------------------------
// Variables --------------------------------------------------
//-------------------------------------------------------------
/**
* graphics
*/
Graphics graphics;
/**
* buffer
*/
Image buffer;
/**
* debugOptions
*/
int debugOptions;
/**
* graphicsID
*/
int graphicsID;
/**
* xOffset
*/
int xOffset;
/**
* yOffset
*/
int yOffset;
/**
* LOG_OPTION
*/
public static final int LOG_OPTION = 1;
/**
* FLASH_OPTION
*/
public static final int FLASH_OPTION = 2;
/**
* BUFFERED_OPTION
*/
public static final int BUFFERED_OPTION = 4;
/**
* NONE_OPTION
*/
public static final int NONE_OPTION = -1;
//-------------------------------------------------------------
// Initialization ---------------------------------------------
//-------------------------------------------------------------
/**
* Constructor DebugGraphics
*/
public DebugGraphics() {
// TODO
} // DebugGraphics()
/**
* Constructor DebugGraphics
* @param graphics TODO
* @param component TODO
*/
public DebugGraphics(Graphics graphics, JComponent component) {
// TODO
} // DebugGraphics()
/**
* Constructor DebugGraphics
* @param graphics TODO
*/
public DebugGraphics(Graphics graphics) {
// TODO
} // DebugGraphics()
//-------------------------------------------------------------
// Methods ----------------------------------------------------
//-------------------------------------------------------------
/**
* setColor
* @param value0 TODO
*/
public void setColor(Color color) {
// TODO
} // setColor()
/**
* create
* @returns Graphics
*/
public Graphics create() {
return null; // TODO
} // create()
/**
* create
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @returns Graphics
*/
public Graphics create(int valx, int y, int w, int h) {
return null; // TODO
} // create()
/**
* flashColor
* @returns Color
*/
public static Color flashColor() {
return null; // TODO
} // flashColor()
/**
* setFlashColor
* @param color TODO
*/
public static void setFlashColor(Color color) {
// TODO
} // setFlashColor()
/**
* flashTime
* @returns int
*/
public static int flashTime() {
return 0; // TODO
} // flashTime()
/**
* setFlashTime
* @param time TODO
*/
public static void setFlashTime(int time) {
// TODO
} // setFlashTime()
/**
* flashCount
* @returns int
*/
public static int flashCount() {
return 0; // TODO
} // flashCount()
/**
* setFlashCount
* @param count TODO
*/
public static void setFlashCount(int count) {
// TODO
} // setFlashCount()
/**
* logStream
* @returns PrintStream
*/
public static PrintStream logStream() {
return null; // TODO
} // logStream()
/**
* setLogStream
* @param stream TODO
*/
public static void setLogStream(PrintStream stream) {
// TODO
} // setLogStream()
/**
* getFont
* @returns Font
*/
public Font getFont() {
return null; // TODO
} // getFont()
/**
* setFont
* @param font TODO
*/
public void setFont(Font font) {
// TODO
} // setFont()
/**
* getColor
* @returns Color
*/
public Color getColor() {
return null; // TODO
} // getColor()
/**
* getFontMetrics
* @returns FontMetrics
*/
public FontMetrics getFontMetrics() {
return null; // TODO
} // getFontMetrics()
/**
* getFontMetrics
* @param font TODO
* @returns FontMetrics
*/
public FontMetrics getFontMetrics(Font font) {
return null; // TODO
} // getFontMetrics()
/**
* translate
* @param x TODO
* @param y TODO
*/
public void translate(int x, int y) {
// TODO
} // translate()
/**
* setPaintMode
*/
public void setPaintMode() {
// TODO
} // setPaintMode()
/**
* setXORMode
* @param color TODO
*/
public void setXORMode(Color color) {
// TODO
} // setXORMode()
/**
* getClipBounds
* @returns Rectangle
*/
public Rectangle getClipBounds() {
return null; // TODO
} // getClipBounds()
/**
* clipRect
* @param value0 TODO
* @param value1 TODO
* @param value2 TODO
* @param value3 TODO
*/
public void clipRect(int value0, int value1, int value2, int value3) {
// TODO
} // clipRect()
/**
* setClip
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
*/
public void setClip(int x, int y, int w, int h) {
// TODO
} // setClip()
/**
* getClip
* @returns Shape
*/
public Shape getClip() {
return null; // TODO
} // getClip()
/**
* setClip
* @param shape TODO
*/
public void setClip(Shape shape) {
// TODO
} // setClip()
/**
* drawRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param valh TODO
*/
public void drawRect(int x, int y, int w, int h) {
// TODO
} // drawRect()
/**
* fillRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
*/
public void fillRect(int x, int y, int w, int h) {
// TODO
} // fillRect()
/**
* clearRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
*/
public void clearRect(int x, int y, int w, int h) {
// TODO
} // clearRect()
/**
* drawRoundRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param arcWidth TODO
* @param arcHeight TODO
*/
public void drawRoundRect(int x, int y, int w, int h,
int arcWidth, int arcHeight) {
// TODO
} // drawRoundRect()
/**
* fillRoundRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param arcWidth TODO
* @param arcHeight TODO
*/
public void fillRoundRect(int x, int y, int w, int h,
int arcWidth, int arcHeight) {
// TODO
} // fillRoundRect()
/**
* drawLine
* @param x1 TODO
* @param y1 TODO
* @param x2 TODO
* @param y2 TODO
*/
public void drawLine(int x1, int y1, int x2, int y2) {
// TODO
} // drawLine()
/**
* draw3DRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param raised TODO
*/
public void draw3DRect(int x, int y, int w, int h, boolean raised) {
// TODO
} // draw3DRect()
/**
* fill3DRect
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param raised TODO
*/
public void fill3DRect(int x, int y, int w, int h, boolean raised) {
// TODO
} // fill3DRect()
/**
* drawOval
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
*/
public void drawOval(int x, int y, int w, int h) {
// TODO
} // drawOval()
/**
* fillOval
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
*/
public void fillOval(int x, int y, int w, int h) {
// TODO
} // fillOval()
/**
* drawArc
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param startAngle TODO
* @param arcAngle TODO
*/
public void drawArc(int x, int y, int w, int h,
int startAngle, int arcAngle) {
// TODO
} // drawArc()
/**
* fillArc
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param startAngle TODO
* @param arcAngle TODO
*/
public void fillArc(int x, int y, int w, int h,
int startAngle, int arcAngle) {
// TODO
} // fillArc()
/**
* drawPolyline
* @param xpoints TODO
* @param ypoints TODO
* @param npoints TODO
*/
public void drawPolyline(int[] xpoints, int[] ypoints, int npoints) {
// TODO
} // drawPolyline()
/**
* drawPolygon
* @param xpoints TODO
* @param ypoints TODO
* @param npoints TODO
*/
public void drawPolygon(int[] xpoints, int[] ypoints, int npoints) {
// TODO
} // drawPolygon()
/**
* fillPolygon
* @param xpoints TODO
* @param ypoints TODO
* @param npoints TODO
*/
public void fillPolygon(int[] xpoints, int[] ypoints, int npoints) {
// TODO
} // fillPolygon()
/**
* drawString
* @param string TODO
* @param x TODO
* @param y TODO
*/
public void drawString(String string, int s, int y) {
// TODO
} // drawString()
/**
* drawString
* @param iterator TODO
* @param x TODO
* @param y TODO
*/
public void drawString(AttributedCharacterIterator iterator,
int x, int y) {
// TODO
} // drawString()
/**
* drawBytes
* @param data TODO
* @param offset TODO
* @param length TODO
* @param x TODO
* @param y TODO
*/
public void drawBytes(byte[] data, int offset, int length,
int x, int y) {
// TODO
} // drawBytes()
/**
* drawChars
* @param data TODO
* @param offset TODO
* @param length TODO
* @param value3 TODO
* @param value4 TODO
*/
public void drawChars(char[] data, int offset, int value2,
int x, int y) {
// TODO
} // drawChars()
/**
* drawImage
* @param image TODO
* @param x TODO
* @param y TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int x, int y,
ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* drawImage
* @param image TODO
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int x, int y, int w,
int h, ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* drawImage
* @param image TODO
* @param x TODO
* @param y TODO
* @param background TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int x, int y,
Color background, ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* drawImage
* @param image TODO
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param background TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int x, int y, int w, int h,
Color background, ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* drawImage
* @param image TODO
* @param dx1 TODO
* @param dy1 TODO
* @param dx2 TODO
* @param dy2 TODO
* @param sx1 TODO
* @param sy1 TODO
* @param sx2 TODO
* @param sy2 TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int dx1, int dy1,
int dx2, int dy2, int sx1, int sy1, int sx2, int sy2,
ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* drawImage
* @param image TODO
* @param dx1 TODO
* @param dy1 TODO
* @param dx2 TODO
* @param dy2 TODO
* @param sx1 TODO
* @param sy1 TODO
* @param sx2 TODO
* @param sy2 TODO
* @param background TODO
* @param observer TODO
* @returns boolean
*/
public boolean drawImage(Image image, int dx1, int dy1,
int dx2, int dy2, int sx1, int sy1, int sx2, int sy2,
Color background, ImageObserver observer) {
return false; // TODO
} // drawImage()
/**
* copyArea
* @param x TODO
* @param y TODO
* @param w TODO
* @param h TODO
* @param destx TODO
* @param desty TODO
*/
public void copyArea(int x, int y, int w, int h,
int destx, int desty) {
// TODO
} // copyArea()
/**
* dispose
*/
public void dispose() {
// TODO
} // dispose()
/**
* isDrawingBuffer
* @returns boolean
*/
public boolean isDrawingBuffer() {
return false; // TODO
} // isDrawingBuffer()
/**
* toShortString
* @returns String
*/
String toShortString() {
return null; // TODO
} // toShortString()
/**
* setDebugOptions
* @param options TODO
*/
public void setDebugOptions(int options) {
// TODO
} // setDebugOptions()
/**
* getDebugOptions
* @returns int
*/
public int getDebugOptions() {
return 0; // TODO
} // getDebugOptions()
} // DebugGraphics