|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.gnu.glib.GObject
Base class for all objects that participate in the GLib object system.
| Constructor Summary | |
GObject(int handle)
Create a new GObject with a handle to a native resource returned from a call to the native libraries. |
|
| Method Summary | |
int |
addEventHandler(java.lang.String name,
java.lang.Object cbrecv)
Connect an event to a callback method that has the same name as the event. |
int |
addEventHandler(java.lang.String name,
java.lang.Object cbrecv,
java.lang.Object data)
Connect a event to a callback method that has the same name as the event. |
int |
addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Class cbrecv)
Connect a event to a static callback method "func" in Class "cbrecv". |
int |
addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Class cbrecv,
java.lang.Object data)
Connect a event to a static callback method "func" in Class "cbrecv". |
int |
addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Object cbrecv)
Connect a event to a callback method "func" in object "cbrecv". |
int |
addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Object cbrecv,
java.lang.Object data)
Connect a event to a callback method "func" in object "cbrecv". |
boolean |
equals(java.lang.Object other)
|
java.lang.Object |
getData(java.lang.String key)
|
int |
getHandle()
Get the raw handle value. |
void |
removeEventHandler(int handler)
Disconnect a event from its' callback method. |
void |
setData(java.lang.String key,
java.lang.Object data)
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GObject(int handle)
handle - The handle that represents a pointer to a native resource.| Method Detail |
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic final int getHandle()
public int addEventHandler(java.lang.String name,
java.lang.Object cbrecv)
name - The name of the event to map.
public int addEventHandler(java.lang.String name,
java.lang.Object cbrecv,
java.lang.Object data)
name - The name of the event to map.data - User defined data that will be passed to the callback.
public int addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Object cbrecv)
name - The name of the event to map.func - The name of the callback method.
public int addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Object cbrecv,
java.lang.Object data)
name - The name of the event to map.func - The name of the callback method.data - User defined data that will be passed to the callback.
public int addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Class cbrecv)
name - The name of the event to map.func - The name of the static callback method.
public int addEventHandler(java.lang.String name,
java.lang.String func,
java.lang.Class cbrecv,
java.lang.Object data)
name - The name of the event to map.func - The name of the static callback method.data - User defined data that will be passed to the callback.
public void removeEventHandler(int handler)
public java.lang.Object getData(java.lang.String key)
public void setData(java.lang.String key,
java.lang.Object data)
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||