org.gnu.glib
public class Value extends MemStruct
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 have an equivalent in java-gnome 4.0,
but it serves a rather different purpose.
See 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.
Constructor Summary | |
---|---|
Value(Type type)
Construct a new Value from a given org.gnu.glib.Type. | |
Value(Handle aHandle)
Construct a new Value object using a handle to a native object.
|
Method Summary | |
---|---|
Value | copy()
Create a copy of this Value object.
|
boolean | getBoolean()
Used internally by Java-Gnome |
Boxed | getBoxed() |
double | getDouble()
Used internally by Java-Gnome |
double | getFloat()
Used internally by Java-Gnome |
int | getInt()
Used internally by Java-Gnome |
Object | getJavaObject()
Get the data held by this Value object.
|
long | getLong()
Used internally by Java-Gnome |
String | getString()
Used internally by Java-Gnome |
protected static Handle | g_value_copy(Handle srcValue) |
protected static boolean | g_value_get_boolean(Handle value) |
protected static Handle | g_value_get_boxed(Handle value) |
protected static byte | g_value_get_char(Handle value) |
protected static double | g_value_get_double(Handle value) |
protected static double | g_value_get_float(Handle value) |
protected static int | g_value_get_int(Handle value) |
protected static Object | g_value_get_java_object(Handle value) |
protected static long | g_value_get_long(Handle value) |
protected static Handle | g_value_get_pointer(Handle value) |
protected static String | g_value_get_string(Handle value) |
protected static Handle | g_value_init(int type) |
protected static Handle | g_value_reset(Handle value) |
protected static void | g_value_set_boolean(Handle value, boolean vBoolean) |
protected static void | g_value_set_boxed(Handle value, Handle box) |
protected static void | g_value_set_char(Handle value, byte vChar) |
protected static void | g_value_set_double(Handle value, double vDouble) |
protected static void | g_value_set_float(Handle value, double vFloat) |
protected static void | g_value_set_int(Handle value, int vInt) |
protected static void | g_value_set_java_object(Handle value, Object obj) |
protected static void | g_value_set_long(Handle value, long vLong) |
protected static void | g_value_set_pointer(Handle value, Handle ptr) |
protected static void | g_value_set_string(Handle value, String vString) |
protected static int | g_value_type(Handle value) |
protected static void | g_value_unset(Handle value) |
void | setBoolean(boolean value)
Used internally by Java-Gnome to set a boolean value |
void | setBoxed(Boxed value) |
void | setDouble(double value)
Used internally by Java-Gnome to set a double value |
void | setFloat(float value)
Used internally by Java-Gnome to set a float value |
void | setInteger(int value)
Used internally by Java-Gnome to set an integer value |
void | setJavaObject(Object obj)
Set the data held by this Value object with the given Object. |
void | setLong(long value)
Used internally by Java-Gnome to set a long value |
void | setString(String value)
Used internally by Java-Gnome to set a 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.
Construct a new Value from a given org.gnu.glib.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 new Value object using a handle to a native object.Parameters: aHandle The 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.
Create a copy of this Value object.Returns: An object of type Value that contains the same data as 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.
Used internally by Java-GnomeDeprecated: 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.
Used internally by Java-GnomeDeprecated: 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.
Used internally by Java-GnomeDeprecated: 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.
Used internally by Java-GnomeDeprecated: 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.
Get the data held by this Value object.NOTE: You probably don't want to use this directly. Prefer using a convenience method such as: GObject.
Returns: The data value held by this Value instance. If the data is held in the C GValue structure, the returned object is an instance of Handle. If the data is held locally in the Java object, that is returned, otherwise null is returned.
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.
Used internally by Java-GnomeDeprecated: 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.
Used internally by Java-GnomeDeprecated: 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.
Used internally by Java-Gnome to set a boolean valueDeprecated: 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.
Used internally by Java-Gnome to set a double valueDeprecated: 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.
Used internally by Java-Gnome to set a float valueDeprecated: 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.
Used internally by Java-Gnome to set an integer valueDeprecated: 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.
Set the data held by this Value object with the given Object. Objects will be set directly in the C GValue structure. Other "non-Glib" objects will also be kept locally in the Java object.NOTE: You probably don't want to use this directly. Prefer using a convenience method such as: GObject.
Parameters: obj The object to set as the data value for this Value instance.
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.
Used internally by Java-Gnome to set a long valueDeprecated: 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.
Used internally by Java-Gnome to set a string value