|
Last change
on this file since 1519 was 2, checked in by bird, 23 years ago |
|
Initial revision
|
-
Property cvs2svn:cvs-rev
set to
1.1
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
717 bytes
|
| Line | |
|---|
| 1 | /* 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 and retrieves data from an Xlib XConfigureEvent.
|
|---|
| 15 | *
|
|---|
| 16 | * @author Rolf W. Rasmussen <[email protected]>
|
|---|
| 17 | */
|
|---|
| 18 | public class XConfigureEvent extends XEvent
|
|---|
| 19 | {
|
|---|
| 20 | public XConfigureEvent(XAnyEvent event)
|
|---|
| 21 | {
|
|---|
| 22 | super(event);
|
|---|
| 23 | // FIXME: Avoid double checking?
|
|---|
| 24 | if (event.getType() != XAnyEvent.TYPE_CONFIGURE_NOTIFY)
|
|---|
| 25 | throw new IllegalArgumentException("Wrong event type");
|
|---|
| 26 | }
|
|---|
| 27 |
|
|---|
| 28 | public native Rectangle getBounds();
|
|---|
| 29 | }
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.