Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.glib.Value
public class Value
extends MemStruct
Constructor Summary | |
Method Summary | |
Value |
|
protected static Handle |
|
protected static boolean |
|
protected static Handle |
|
protected static byte |
|
protected static double |
|
protected static double |
|
protected static int |
|
protected static Object |
|
protected static long |
|
protected static Handle |
|
protected static String |
|
protected static Handle |
|
protected static Handle |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static void |
|
protected static int |
|
protected static void |
|
boolean |
|
Boxed |
|
double |
|
double |
|
int |
|
Object |
|
long |
|
String |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.glib.MemStruct | |
finalize , getMemStructFromHandle |
Methods inherited from class org.gnu.glib.Struct | |
equals , getHandle , getNullHandle , hashCode , setHandle |
public 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.
Construct a new Value object using a handle to a native object.
- Parameters:
aHandle
- The handle
public 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.
Construct a new Value from a given org.gnu.glib.Type.
public 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.
Create a copy of this Value object.
- Returns:
- An object of type Value that contains the same data as the current object.
protected static final void g_value_set_java_object(Handle value, Object obj)
public 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.
Used internally by Java-Gnome
public 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.
Used internally by Java-Gnome
public 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.
Used internally by Java-Gnome
public 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.
Used internally by Java-Gnome
public 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.
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.getJavaObjectProperty(String)
.
- 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.
public 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.
Used internally by Java-Gnome
public 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.
Used internally by Java-Gnome
public 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.
Used internally by Java-Gnome to set a boolean value
public 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.
Used internally by Java-Gnome to set a double value
public 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.
Used internally by Java-Gnome to set a float value
public 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.
Used internally by Java-Gnome to set an integer value
public void setJavaObject(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.
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.setJavaObjectProperty(String,Object)
.
- Parameters:
obj
- The object to set as the data value for this Value instance.
public 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.
Used internally by Java-Gnome to set a long value
public void setString(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.
Used internally by Java-Gnome to set a string value