Dead
[official-gcc.git] / gomp-20050608-branch / libjava / gnu / gcj / xlib / XConfigureEvent.java
blob0d069ea03dbacedeb8a158733bbd72e302f7370b
1 /* Copyright (C) 2000 Free Software Foundation
3 This file is part of libgcj.
5 This software is copyrighted work licensed under the terms of the
6 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
7 details. */
9 package gnu.gcj.xlib;
11 import java.awt.Rectangle;
13 /**
14 * Interprets and retrieves data from an Xlib XConfigureEvent.
16 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
18 public class XConfigureEvent extends XEvent
20 public XConfigureEvent(XAnyEvent event)
22 super(event);
23 // FIXME: Avoid double checking?
24 if (event.getType() != XAnyEvent.TYPE_CONFIGURE_NOTIFY)
25 throw new IllegalArgumentException("Wrong event type");
28 public native Rectangle getBounds();