|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.glib.Value
org.gnome.glib.Value
.
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 Value
Value is a polymorphic type that can hold values of any other type. This is used internally and should not be exposed outside of the library.
Constructor Summary | |
---|---|
Value(Handle aHandle)
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. |
|
Value(Type 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. |
Method Summary | |
---|---|
Value |
copy()
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 Handle |
g_value_copy(Handle srcValue)
Deprecated. |
protected static boolean |
g_value_get_boolean(Handle value)
Deprecated. |
protected static Handle |
g_value_get_boxed(Handle value)
Deprecated. |
protected static byte |
g_value_get_char(Handle value)
Deprecated. |
protected static double |
g_value_get_double(Handle value)
Deprecated. |
protected static double |
g_value_get_float(Handle value)
Deprecated. |
protected static int |
g_value_get_int(Handle value)
Deprecated. |
protected static java.lang.Object |
g_value_get_java_object(Handle value)
Deprecated. |
protected static long |
g_value_get_long(Handle value)
Deprecated. |
protected static Handle |
g_value_get_pointer(Handle value)
Deprecated. |
protected static java.lang.String |
g_value_get_string(Handle value)
Deprecated. |
protected static Handle |
g_value_init(int type)
Deprecated. |
protected static Handle |
g_value_reset(Handle value)
Deprecated. |
protected static void |
g_value_set_boolean(Handle value,
boolean vBoolean)
Deprecated. |
protected static void |
g_value_set_boxed(Handle value,
Handle box)
Deprecated. |
protected static void |
g_value_set_char(Handle value,
byte vChar)
Deprecated. |
protected static void |
g_value_set_double(Handle value,
double vDouble)
Deprecated. |
protected static void |
g_value_set_float(Handle value,
double vFloat)
Deprecated. |
protected static void |
g_value_set_int(Handle value,
int vInt)
Deprecated. |
protected static void |
g_value_set_java_object(Handle value,
java.lang.Object obj)
Deprecated. |
protected static void |
g_value_set_long(Handle value,
long vLong)
Deprecated. |
protected static void |
g_value_set_pointer(Handle value,
Handle ptr)
Deprecated. |
protected static void |
g_value_set_string(Handle value,
java.lang.String vString)
Deprecated. |
protected static int |
g_value_type(Handle value)
Deprecated. |
protected static void |
g_value_unset(Handle value)
Deprecated. |
boolean |
getBoolean()
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. |
Boxed |
getBoxed()
Deprecated. |
double |
getDouble()
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. |
double |
getFloat()
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 |
getInt()
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. |
java.lang.Object |
getJavaObject()
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. |
long |
getLong()
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. |
java.lang.String |
getString()
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. |
void |
setBoolean(boolean value)
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. |
void |
setBoxed(Boxed value)
Deprecated. |
void |
setDouble(double value)
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. |
void |
setFloat(float value)
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. |
void |
setInteger(int value)
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. |
void |
setJavaObject(java.lang.Object obj)
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. |
void |
setLong(long value)
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. |
void |
setString(java.lang.String value)
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 org.gnu.glib.MemStruct |
---|
finalize, getMemStructFromHandle |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode, setHandle |
Methods inherited from class java.lang.Object |
---|
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Value(Type type)
public Value(Handle aHandle)
aHandle
- The handleMethod Detail |
---|
public Value copy()
public void setString(java.lang.String value)
public java.lang.String getString()
public void setBoolean(boolean value)
public boolean getBoolean()
public void setInteger(int value)
public int getInt()
public void setLong(long value)
public long getLong()
public void setFloat(float value)
public double getFloat()
public void setDouble(double value)
public double getDouble()
public Boxed getBoxed()
public void setBoxed(Boxed value)
public void setJavaObject(java.lang.Object obj)
NOTE: You probably don't want to use this directly. Prefer using
a convenience method such as: GObject.setJavaObjectProperty(java.lang.String, java.lang.Object)
.
obj
- The object to set as the data value for this Value instance.public java.lang.Object getJavaObject()
NOTE: You probably don't want to use this directly. Prefer using
a convenience method such as: GObject.getJavaObjectProperty(java.lang.String)
.
Handle
. If the data is held locally in the Java object,
that is returned, otherwise null is returned.protected static final Handle g_value_init(int type)
protected static final int g_value_type(Handle value)
protected static final Handle g_value_copy(Handle srcValue)
protected static final Handle g_value_reset(Handle value)
protected static final void g_value_unset(Handle value)
protected static final void g_value_set_char(Handle value, byte vChar)
protected static final byte g_value_get_char(Handle value)
protected static final void g_value_set_boolean(Handle value, boolean vBoolean)
protected static final boolean g_value_get_boolean(Handle value)
protected static final void g_value_set_int(Handle value, int vInt)
protected static final int g_value_get_int(Handle value)
protected static final void g_value_set_long(Handle value, long vLong)
protected static final long g_value_get_long(Handle value)
protected static final void g_value_set_float(Handle value, double vFloat)
protected static final double g_value_get_float(Handle value)
protected static final void g_value_set_double(Handle value, double vDouble)
protected static final double g_value_get_double(Handle value)
protected static final void g_value_set_string(Handle value, java.lang.String vString)
protected static final java.lang.String g_value_get_string(Handle value)
protected static final void g_value_set_boxed(Handle value, Handle box)
protected static final Handle g_value_get_boxed(Handle value)
protected static final void g_value_set_java_object(Handle value, java.lang.Object obj)
protected static final java.lang.Object g_value_get_java_object(Handle value)
protected static final void g_value_set_pointer(Handle value, Handle ptr)
protected static final Handle g_value_get_pointer(Handle value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |