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
11 import gnu
.gcj
.RawData
;
14 * Base class for interpreters of specific X event types. For methods
15 * concerning all X events, see XAnyEvent.
17 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
21 public XEvent(XAnyEvent event
)
26 public XEvent(int type
, Display display
)
28 this(new XAnyEvent(display
));
34 public XAnyEvent
getXAnyEvent()
39 public String
toString()
42 return super.toString();
43 return event
.toString();