org.gnu.gconf
Class ConfValue
java.lang.Object
org.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gconf.ConfValue
public class ConfValue
- extends org.gnu.glib.MemStruct
Represents a dynamically-typed value in GConf.
Methods inherited from class org.gnu.glib.MemStruct |
getMemStructFromHandle |
Methods inherited from class org.gnu.glib.Struct |
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ConfValue
public ConfValue(ConfValueType type)
- Construct a new ConfValue object of the type provided.
- Parameters:
type
-
ConfValue
public ConfValue(org.gnu.glib.Handle handle)
getString
public java.lang.String getString()
setString
public void setString(java.lang.String theString)
getInt
public int getInt()
setInt
public void setInt(int theInt)
getDouble
public double getDouble()
setDouble
public void setDouble(double theDouble)
getBoolean
public boolean getBoolean()
setBoolean
public void setBoolean(boolean theBoolean)
getListType
public ConfValueType getListType()
setListType
public void setListType(ConfValueType type)
getList
public java.util.List getList()
setList
public void setList(java.util.List theList)
getCar
public ConfValue getCar()
setCar
public void setCar(ConfValue theCar)
getCdr
public ConfValue getCdr()
setCdr
public void setCdr(ConfValue theCdr)
getSchema
public ConfSchema getSchema()
setSchema
public void setSchema(ConfSchema theSchema)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object