org.gnu.gconf

Class ConfValue


public class ConfValue
extends Boxed

Represents a dynamically-typed value in GConf.

Constructor Summary

ConfValue(Handle handle)
ConfValue(ConfValueType type)
Construct a new ConfValue object of the type provided.

Method Summary

protected void
finalize()
protected static Handle
gconf_value_copy(Handle source)
protected static void
gconf_value_free(Handle value)
protected static boolean
gconf_value_get_bool(Handle value)
protected static Handle
gconf_value_get_car(Handle value)
protected static Handle
gconf_value_get_cdr(Handle value)
protected static double
gconf_value_get_float(Handle value)
protected static int
gconf_value_get_int(Handle value)
protected static Object[]
gconf_value_get_list(Handle value)
protected static int
gconf_value_get_list_type(Handle value)
protected static Handle
gconf_value_get_schema(Handle value)
protected static String
gconf_value_get_string(Handle value)
protected static Handle
gconf_value_new(int type)
protected static void
gconf_value_set_bool(Handle value, boolean theBool)
protected static void
gconf_value_set_car(Handle value, Handle theCar)
protected static void
gconf_value_set_cdr(Handle value, Handle theCdr)
protected static void
gconf_value_set_float(Handle value, double theFloat)
protected static void
gconf_value_set_int(Handle value, int theInt)
protected static void
gconf_value_set_list(Handle value, Object[] theList)
protected static void
gconf_value_set_list_type(Handle value, int type)
protected static void
gconf_value_set_schema(Handle value, Handle theSchema)
protected static void
gconf_value_set_string(Handle value, String theString)
protected static String
gconf_value_to_string(Handle value)
boolean
getBoolean()
ConfValue
getCar()
ConfValue
getCdr()
double
getDouble()
int
getInt()
List
getList()
ConfValueType
getListType()
ConfSchema
getSchema()
String
getString()
void
setBoolean(boolean theBoolean)
void
setCar(ConfValue theCar)
void
setCdr(ConfValue theCdr)
void
setDouble(double theDouble)
void
setInt(int theInt)
void
setList(List theList)
void
setListType(ConfValueType type)
void
setSchema(ConfSchema theSchema)
void
setString(String theString)
String
toString()

Constructor Details

ConfValue

public ConfValue(Handle handle)


ConfValue

public ConfValue(ConfValueType type)
Construct a new ConfValue object of the type provided.

Parameters:
type -

Method Details

finalize

protected void finalize()
            throws Throwable


gconf_value_copy

protected static final Handle gconf_value_copy(Handle source)


gconf_value_free

protected static final void gconf_value_free(Handle value)


gconf_value_get_bool

protected static final boolean gconf_value_get_bool(Handle value)


gconf_value_get_car

protected static final Handle gconf_value_get_car(Handle value)


gconf_value_get_cdr

protected static final Handle gconf_value_get_cdr(Handle value)


gconf_value_get_float

protected static final double gconf_value_get_float(Handle value)


gconf_value_get_int

protected static final int gconf_value_get_int(Handle value)


gconf_value_get_list

protected static final Object[] gconf_value_get_list(Handle value)


gconf_value_get_list_type

protected static final int gconf_value_get_list_type(Handle value)


gconf_value_get_schema

protected static final Handle gconf_value_get_schema(Handle value)


gconf_value_get_string

protected static final String gconf_value_get_string(Handle value)


gconf_value_new

protected static final Handle gconf_value_new(int type)


gconf_value_set_bool

protected static final void gconf_value_set_bool(Handle value,
                                                 boolean theBool)


gconf_value_set_car

protected static final void gconf_value_set_car(Handle value,
                                                Handle theCar)


gconf_value_set_cdr

protected static final void gconf_value_set_cdr(Handle value,
                                                Handle theCdr)


gconf_value_set_float

protected static final void gconf_value_set_float(Handle value,
                                                  double theFloat)


gconf_value_set_int

protected static final void gconf_value_set_int(Handle value,
                                                int theInt)


gconf_value_set_list

protected static final void gconf_value_set_list(Handle value,
                                                 Object[] theList)


gconf_value_set_list_type

protected static final void gconf_value_set_list_type(Handle value,
                                                      int type)


gconf_value_set_schema

protected static final void gconf_value_set_schema(Handle value,
                                                   Handle theSchema)


gconf_value_set_string

protected static final void gconf_value_set_string(Handle value,
                                                   String theString)


gconf_value_to_string

protected static final String gconf_value_to_string(Handle value)


getBoolean

public boolean getBoolean()


getCar

public ConfValue getCar()


getCdr

public ConfValue getCdr()


getDouble

public double getDouble()


getInt

public int getInt()


getList

public List getList()


getListType

public ConfValueType getListType()


getSchema

public ConfSchema getSchema()


getString

public String getString()


setBoolean

public void setBoolean(boolean theBoolean)


setCar

public void setCar(ConfValue theCar)


setCdr

public void setCdr(ConfValue theCdr)


setDouble

public void setDouble(double theDouble)


setInt

public void setInt(int theInt)


setList

public void setList(List theList)


setListType

public void setListType(ConfValueType type)


setSchema

public void setSchema(ConfSchema theSchema)


setString

public void setString(String theString)


toString

public String toString()