|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Type
public class Type
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.
Constructor Summary | |
---|---|
Type(int handle)
Construct a new Type from a integer that represents the type. |
|
Type(java.lang.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. |
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 |
PIXBUF()
Deprecated. As of libgtk-java 2.8.5, this method has been replaced by Pixbuf.getType() . Future major version releases will
have this method removed, please use with caution. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Type(int handle)
public Type(java.lang.String name)
Method Detail |
---|
public int getTypeHandle()
public boolean typeEquals(Type aType)
public boolean typeIsA(Type aType)
aType
- the Type to compare this Type with.
true
if this type is equal or descendant of
aType
, false
otherwise.public static final Type INVALID()
public static final Type NONE()
public static final Type INTERFACE()
public static final Type CHAR()
public static final Type BOOLEAN()
public static final Type INT()
public static final Type LONG()
public static final Type FLAGS()
public static final Type FLOAT()
public static final Type DOUBLE()
public static final Type STRING()
public static final Type BOXED()
public static final Type PARAM()
public static final Type OBJECT()
JAVA_OBJECT()
public static final Type JAVA_OBJECT()
public static final Type PIXBUF()
Pixbuf.getType()
. Future major version releases will
have this method removed, please use with caution.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |