org.gnu.glib
Class Type

java.lang.Object
  extended by org.gnu.glib.Type

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class does not have an equivalent in java-gnome 4.0,

public class Type
extends java.lang.Object

This class represents the GLib Runtime type identification and management system. It provides the facilities for registering and managing all fundamental data types. It should be for internal use only and not be exposed outside of the library.


Field Summary
protected static boolean isInitialized
          Deprecated.  
 
Constructor Summary
Type(int handle)
          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.
Type(java.lang.String name)
          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.
 
Method Summary
static Type BOOLEAN()
          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.
static Type 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.
static Type CHAR()
          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.
static Type DOUBLE()
          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.
static Type FLAGS()
          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.
static Type FLOAT()
          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 static int g_type_depth(int type)
          Deprecated.  
protected static int g_type_from_name(java.lang.String name)
          Deprecated.  
protected static void g_type_init()
          Deprecated. BEGINNING OF JNI CODE
protected static boolean g_type_is_a(int type, int type_is_a)
          Deprecated.  
protected static java.lang.String g_type_name(int type)
          Deprecated.  
protected static int g_type_parent(int type)
          Deprecated.  
protected static int g_type_qname(int type)
          Deprecated.  
protected static int get_BOOLEAN()
          Deprecated.  
protected static int get_BOXED()
          Deprecated.  
protected static int get_CHAR()
          Deprecated.  
protected static int get_DOUBLE()
          Deprecated.  
protected static int get_FLAGS()
          Deprecated.  
protected static int get_FLOAT()
          Deprecated.  
protected static int get_INT()
          Deprecated.  
protected static int get_INTERFACE()
          Deprecated.  
protected static int get_INVALID()
          Deprecated.  
protected static int get_JAVA_OBJECT()
          Deprecated. NATIVE METHODS - represent macros in the libs
protected static int get_LONG()
          Deprecated.  
protected static int get_NONE()
          Deprecated.  
protected static int get_OBJECT()
          Deprecated.  
protected static int get_PARAM()
          Deprecated.  
protected static int get_POINTER()
          Deprecated.  
protected static int get_STRING()
          Deprecated.  
 int getTypeHandle()
          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.
static Type INT()
          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.
static Type INTERFACE()
          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.
static Type INVALID()
          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.
static Type JAVA_OBJECT()
          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.
static Type LONG()
          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.
static Type NONE()
          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.
static Type OBJECT()
          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.
static Type PARAM()
          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.
static Type STRING()
          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.
 boolean typeEquals(Type aType)
          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.
 boolean typeIsA(Type aType)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isInitialized

protected static boolean isInitialized
Deprecated. 
Constructor Detail

Type

public Type(int handle)
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.

Construct a new Type from a integer that represents the type.


Type

public Type(java.lang.String name)
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.

Construct a Type by its' name.

Method Detail

getTypeHandle

public int getTypeHandle()
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.

Returns the unique identifyer used to identify a type in the native libraries.


typeEquals

public boolean typeEquals(Type aType)
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.

Compares a Type with the current object.


typeIsA

public boolean typeIsA(Type aType)
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.

Determine if the Type parameter is a derivable type, checking whether this Type object is a descendant of the Type parameter. If the Type parameter is an interface, check whether this Type object conforms to it.

Parameters:
aType - the Type to compare this Type with.
Returns:
true if this type is equal or descendant of aType, false otherwise.

INVALID

public static final Type INVALID()
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.

Return a Type instance initialized as INVALID.


NONE

public static final Type NONE()
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.

Return a Type instance initialized as NONE.


INTERFACE

public static final Type INTERFACE()
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.

Return a Type instance initialized as INTERFACE.


CHAR

public static final Type CHAR()
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.

Return a Type instance initialized as CHAR.


BOOLEAN

public static final Type BOOLEAN()
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.

Return a Type instance initialized as BOOLEAN.


INT

public static final Type INT()
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.

Return a Type instance initialized as INT.


LONG

public static final Type LONG()
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.

Return a Type instance initialized as LONG.


FLAGS

public static final Type FLAGS()
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.

Return a Type instance initialized as FLAGS.


FLOAT

public static final Type FLOAT()
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.

Return a Type instance initialized as FLOAT.


DOUBLE

public static final Type DOUBLE()
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.

Return a Type instance initialized as DOUBLE.


STRING

public static final Type STRING()
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.

Return a Type instance initialized as STRING.


BOXED

public static final Type 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.

Return a Type instance initialized as BOXED.


PARAM

public static final Type PARAM()
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.

Return a Type instance initialized as PARAM.


OBJECT

public static final Type OBJECT()
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.

Return a Type instance initialized as OBJECT.

See Also:
JAVA_OBJECT()

JAVA_OBJECT

public static final Type JAVA_OBJECT()
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.

Return a Type instance initialized as JAVA_OBJECT.


get_JAVA_OBJECT

protected static final int get_JAVA_OBJECT()
Deprecated. 
NATIVE METHODS - represent macros in the libs


get_POINTER

protected static final int get_POINTER()
Deprecated. 

get_INVALID

protected static final int get_INVALID()
Deprecated. 

get_NONE

protected static final int get_NONE()
Deprecated. 

get_INTERFACE

protected static final int get_INTERFACE()
Deprecated. 

get_CHAR

protected static final int get_CHAR()
Deprecated. 

get_BOOLEAN

protected static final int get_BOOLEAN()
Deprecated. 

get_INT

protected static final int get_INT()
Deprecated. 

get_LONG

protected static final int get_LONG()
Deprecated. 

get_FLAGS

protected static final int get_FLAGS()
Deprecated. 

get_FLOAT

protected static final int get_FLOAT()
Deprecated. 

get_DOUBLE

protected static final int get_DOUBLE()
Deprecated. 

get_STRING

protected static final int get_STRING()
Deprecated. 

get_BOXED

protected static final int get_BOXED()
Deprecated. 

get_PARAM

protected static final int get_PARAM()
Deprecated. 

get_OBJECT

protected static final int get_OBJECT()
Deprecated. 

g_type_init

protected static final void g_type_init()
Deprecated. 
BEGINNING OF JNI CODE


g_type_name

protected static final java.lang.String g_type_name(int type)
Deprecated. 

g_type_qname

protected static final int g_type_qname(int type)
Deprecated. 

g_type_from_name

protected static final int g_type_from_name(java.lang.String name)
Deprecated. 

g_type_parent

protected static final int g_type_parent(int type)
Deprecated. 

g_type_depth

protected static final int g_type_depth(int type)
Deprecated. 

g_type_is_a

protected static final boolean g_type_is_a(int type,
                                           int type_is_a)
Deprecated.