1 /* Copyright (C) 2000, 2001, 2002 Free Software Foundation
3 This file is part of GNU Classpath.
5 GNU Classpath is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
10 GNU Classpath is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with GNU Classpath; see the file COPYING. If not, write to the
17 Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
20 As a special exception, if you link this library with other files to
21 produce an executable, this library does not by itself cause the
22 resulting executable to be covered by the GNU General Public License.
23 This exception does not however invalidate any other reasons why the
24 executable file might be covered by the GNU General Public License. */
26 /* Status: Complete, but commented out until we have the required
31 import java.awt.image.BufferedImage;
32 import java.awt.image.ColorModel;
33 import java.awt.geom.AffineTransform;
35 public abstract class GraphicsConfiguration
37 // Can't instantiate directly. Having a protected constructor seems
38 // redundant, but that is what the docs specify.
39 protected GraphicsConfiguration ()
44 public abstract GraphicsDevice getDevice();
47 public abstract BufferedImage createCompatibleImage(int width, int height);
48 public abstract BufferedImage createCompatibleImage(int width, int height,
50 public abstract ColorModel getColorModel();
51 public abstract ColorModel getColorModel(int transparency);
52 public abstract AffineTransform getDefaultTransform();
53 public abstract AffineTransform getNormalizingTransform();
56 public abstract Rectangle getBounds();