OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [awt/] [xlib/] [XGraphicsEnvironment.java] - Blame information for rev 830

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
/* Copyright (C) 2005  Free Software Foundation
2
 
3
   This file is part of libgcj.
4
 
5
This software is copyrighted work licensed under the terms of the
6
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
7
details.  */
8
 
9
package gnu.awt.xlib;
10
 
11
import java.awt.GraphicsEnvironment;
12
import java.awt.GraphicsDevice;
13
import java.awt.Graphics2D;
14
import java.awt.Font;
15
import java.awt.image.BufferedImage;
16
import java.util.Locale;
17
 
18
public class XGraphicsEnvironment extends GraphicsEnvironment
19
{
20
  private XToolkit toolkit;
21
  private XGraphicsDevice [] devices;
22
 
23
  XGraphicsEnvironment (XToolkit toolkit)
24
  {
25
    this.toolkit = toolkit;
26
    devices = new XGraphicsDevice [1];
27
    devices [0] = new XGraphicsDevice (0,toolkit);
28
  }
29
 
30
  public GraphicsDevice[] getScreenDevices ()
31
  {
32
    return devices;
33
  }
34
 
35
  public GraphicsDevice getDefaultScreenDevice ()
36
  {
37
    return devices [0];
38
  }
39
 
40
  public Graphics2D createGraphics (BufferedImage image)
41
  {
42
    throw new UnsupportedOperationException ("createGraphics not implemented yet in " + this.getClass ().getName ());
43
  }
44
 
45
  public Font[] getAllFonts()
46
  {
47
    throw new UnsupportedOperationException ("getAllFonts not implemented yet in " + this.getClass ().getName ());
48
  }
49
 
50
  public String[] getAvailableFontFamilyNames (Locale l)
51
  {
52
    throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());
53
  }
54
 
55
  public String[] getAvailableFontFamilyNames ()
56
  {
57
    throw new UnsupportedOperationException ("getAvailableFontFamilyNames not implemented yet in " + this.getClass ().getName ());
58
  }
59
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.