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
12 * Common base class for all resources that are stored on the server
13 * and refered to on the client side using XIDs.
15 * @author Rolf W. Rasmussen <rolfwr@ii.uib.no>
19 public XID(Display display
, int xid
)
21 this.display
= display
;
25 public final int getXID()
30 public final Display
getDisplay()
35 protected Display display
;
38 private Object clientData
;
39 public final Object
getClientData()
43 public final void setClientData(Object clientData
)
45 this.clientData
= clientData
;
48 protected String
params()
50 return "display=" + display
+ ",xid=" + Integer
.toHexString(xid
);
53 public String
toString()
55 return getClass().getName() +