org.gnu.gconf

Class ConfValue

public class ConfValue extends MemStruct

Represents a dynamically-typed value in GConf.
Constructor Summary
ConfValue(ConfValueType type)
Construct a new ConfValue object of the type provided.
ConfValue(Handle handle)
Method Summary
protected static Handlegconf_value_copy(Handle source)
protected static voidgconf_value_free(Handle value)
protected static booleangconf_value_get_bool(Handle value)
protected static Handlegconf_value_get_car(Handle value)
protected static Handlegconf_value_get_cdr(Handle value)
protected static doublegconf_value_get_float(Handle value)
protected static intgconf_value_get_int(Handle value)
protected static Object[]gconf_value_get_list(Handle value)
protected static intgconf_value_get_list_type(Handle value)
protected static Handlegconf_value_get_schema(Handle value)
protected static Stringgconf_value_get_string(Handle value)
protected static Handlegconf_value_new(int type)
protected static voidgconf_value_set_bool(Handle value, boolean theBool)
protected static voidgconf_value_set_car(Handle value, Handle theCar)
protected static voidgconf_value_set_cdr(Handle value, Handle theCdr)
protected static voidgconf_value_set_float(Handle value, double theFloat)
protected static voidgconf_value_set_int(Handle value, int theInt)
protected static voidgconf_value_set_list(Handle value, Object[] theList)
protected static voidgconf_value_set_list_type(Handle value, int type)
protected static voidgconf_value_set_schema(Handle value, Handle theSchema)
protected static voidgconf_value_set_string(Handle value, String theString)
protected static Stringgconf_value_to_string(Handle value)
booleangetBoolean()
ConfValuegetCar()
ConfValuegetCdr()
doublegetDouble()
intgetInt()
ListgetList()
ConfValueTypegetListType()
ConfSchemagetSchema()
StringgetString()
voidsetBoolean(boolean theBoolean)
voidsetCar(ConfValue theCar)
voidsetCdr(ConfValue theCdr)
voidsetDouble(double theDouble)
voidsetInt(int theInt)
voidsetList(List theList)
voidsetListType(ConfValueType type)
voidsetSchema(ConfSchema theSchema)
voidsetString(String theString)
StringtoString()

Constructor Detail

ConfValue

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

Parameters: type

ConfValue

public ConfValue(Handle handle)

Method Detail

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()