|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Boxed
org.gnu.glib.Quark
A Quark is an association between a String and an integer identifier. Given either the String or the Quark it is possible to retrieve the other. This object is used primarily inside of the bindings. The external interface should use a standard java type like Property.
Field Summary |
Fields inherited from class org.gnu.glib.Boxed |
handle |
Constructor Summary | |
Quark(Handle handle)
This is the method that allows one to construct a Quark once a native peer has been provided. |
|
Quark(java.lang.String string)
Create a Quark object. |
Method Summary | |
static Quark |
findQuark(java.lang.String string)
Find a Quark that is associated with the given string. |
protected static Handle |
g_quark_from_string(java.lang.String str)
BEGINNING OF GENERATED CODE |
protected static java.lang.String |
g_quark_to_string(Handle quark)
|
protected static Handle |
g_quark_try_string(java.lang.String str)
|
java.lang.String |
getString()
Retrieve the string value associated with this Quark. |
Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle, hashCode, setHandle |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Quark(java.lang.String string)
string
- The string value associated with this Quark.public Quark(Handle handle)
handle
- The native peer that was returned from
a call to the native libraries.Method Detail |
public final java.lang.String getString()
public static final Quark findQuark(java.lang.String string)
string
- The string value to use for the search
protected static final Handle g_quark_from_string(java.lang.String str)
protected static final Handle g_quark_try_string(java.lang.String str)
protected static final java.lang.String g_quark_to_string(Handle quark)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |