Source for gnu.gcj.xlib.XUnmapEvent

   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: /**
  12:  * Interprets data from an Xlib XUnmapEvent.
  13:  *
  14:  * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
  15:  */
  16: public class XUnmapEvent extends XEvent
  17: {
  18:   public XUnmapEvent(Display display, Window eventWindow,
  19:              Window unmappedWindow,
  20:              boolean fromConfigure)
  21:   {
  22:     super(XAnyEvent.TYPE_UNMAP_NOTIFY, display);
  23:     getXAnyEvent().setWindow(eventWindow);
  24:     setUnmappedWindow(unmappedWindow);
  25:     setFromConfigure(fromConfigure);
  26:   }
  27: 
  28:   public native void setUnmappedWindow(Window unmappedWindow);
  29:   public native void setFromConfigure(boolean fromConfigure);
  30: }
  31: 
  32: