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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [gcj/] [xlib/] [XExposeEvent.java] - Blame information for rev 756

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
/* Copyright (C) 2000  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.gcj.xlib;
10
 
11
import java.awt.Rectangle;
12
 
13
/**
14
 * Interprets data from an Xlib XExposeEvent.
15
 *
16
 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
17
 */
18
public class XExposeEvent extends XEvent
19
{
20
  public XExposeEvent(XAnyEvent event)
21
  {
22
    super(event);
23
 
24
    // FIXME: Avoid double checking?
25
    if (event.getType() != XAnyEvent.TYPE_EXPOSE)
26
      throw new IllegalArgumentException("Wrong event type");
27
  }
28
 
29
  public native Rectangle getBounds();
30
}
31
 
32
 
33
 

powered by: WebSVN 2.1.0

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