org.gnu.glib
org.gnome.glib.Boxed
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.public class Boxed extends Struct
Modifier | Constructor and Description |
---|---|
protected |
Boxed()
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
protected |
Boxed(Handle handle)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
protected void |
finalize()
Deprecated.
|
static Boxed |
getBoxedFromHandle(Handle hndl)
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
int |
hashCode()
Deprecated.
Superceeded by java-gnome 4.0; a method along these lines
may well exist in the new bindings, but if it does it likely
has a different name or signature due to the shift to an
algorithmic mapping of the underlying native libraries.
|
getHandle, getNullHandle, setHandle
protected Boxed()
protected Boxed(Handle handle)
public static Boxed getBoxedFromHandle(Handle hndl)
// Get a Handle from somewhere (typically as a parameter to a method // used as a callback and invoked from the C JNI side). SomeGtkClass finalobj = null; Boxed obj = Boxed.getBoxedFromHandle(handle); if (obj == null) { finalobj = new SomeGtkClass(handle); } else { finalobj = (SomeGtkClass) obj; }NOTE: This is for internal use only and should never need to be used in application code.
public boolean equals(java.lang.Object other)
public int hashCode()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable