org.gnu.glib
public class Type extends Object
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,
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 |
Constructor Summary | |
---|---|
Type(int handle)
Construct a new Type from a integer that represents the type. | |
Type(String name)
Construct a Type by its' name. |
Method Summary | |
---|---|
static Type | BOOLEAN()
Return a Type instance initialized as BOOLEAN. |
static Type | BOXED()
Return a Type instance initialized as BOXED. |
static Type | CHAR()
Return a Type instance initialized as CHAR. |
static Type | DOUBLE()
Return a Type instance initialized as DOUBLE. |
static Type | FLAGS()
Return a Type instance initialized as FLAGS. |
static Type | FLOAT()
Return a Type instance initialized as FLOAT. |
int | getTypeHandle()
Returns the unique identifyer used to identify a type in the native
libraries. |
protected static int | get_BOOLEAN() |
protected static int | get_BOXED() |
protected static int | get_CHAR() |
protected static int | get_DOUBLE() |
protected static int | get_FLAGS() |
protected static int | get_FLOAT() |
protected static int | get_INT() |
protected static int | get_INTERFACE() |
protected static int | get_INVALID() |
protected static int | get_JAVA_OBJECT()
NATIVE METHODS - represent macros in the libs
|
protected static int | get_LONG() |
protected static int | get_NONE() |
protected static int | get_OBJECT() |
protected static int | get_PARAM() |
protected static int | get_POINTER() |
protected static int | get_STRING() |
protected static int | g_type_depth(int type) |
protected static int | g_type_from_name(String name) |
protected static void | g_type_init()
BEGINNING OF JNI CODE
|
protected static boolean | g_type_is_a(int type, int type_is_a) |
protected static String | g_type_name(int type) |
protected static int | g_type_parent(int type) |
protected static int | g_type_qname(int type) |
static Type | INT()
Return a Type instance initialized as INT. |
static Type | INTERFACE()
Return a Type instance initialized as INTERFACE. |
static Type | INVALID()
Return a Type instance initialized as INVALID. |
static Type | JAVA_OBJECT()
Return a Type instance initialized as JAVA_OBJECT. |
static Type | LONG()
Return a Type instance initialized as LONG. |
static Type | NONE()
Return a Type instance initialized as NONE. |
static Type | OBJECT()
Return a Type instance initialized as OBJECT.
|
static Type | PARAM()
Return a Type instance initialized as PARAM. |
static Type | STRING()
Return a Type instance initialized as STRING. |
boolean | typeEquals(Type aType)
Compares a Type with the current object. |
boolean | typeIsA(Type aType)
Determine if the Type parameter is a derivable type, checking
whether this Type object is a descendant of the Type
parameter. |
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.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.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.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.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.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.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.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.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.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.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.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.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.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.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.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: Type
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.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.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.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.