org.gnu.gconf

Class ConfEntry

public class ConfEntry 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 probably may or may not have an equivalent in java-gnome 4.0; have a look for org.gnome.gconf.ConfEntry.

Stores an entry for a GConf "directory", including a key-value pair, the name of the schema applicable to this entry, whether the value is a default value, and whether GConf can write a new value at this time.
Constructor Summary
ConfEntry(String key, ConfValue value)
Construct a new ConfEntry object
ConfEntry(Handle handle)
Method Summary
StringgetKey()
Return the key field of the entry.
StringgetSchemaName()
ConfValuegetValue()
Return the value field of the entry.
booleanisDefault()
Returns if the value in this entry is a default value.
voidsetIsDefault(boolean isDefault)
voidsetSchemaName(String name)
voidsetValue(ConfValue value)
ConfValuestealValue()
Extract the value from this ConfEntry leaving the value set to null.

Constructor Detail

ConfEntry

public ConfEntry(String key, ConfValue value)

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Construct a new ConfEntry object

Parameters: key value

ConfEntry

public ConfEntry(Handle handle)

Method Detail

getKey

public String getKey()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Return the key field of the entry.

getSchemaName

public String getSchemaName()

getValue

public ConfValue getValue()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Return the value field of the entry.

isDefault

public boolean isDefault()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Returns if the value in this entry is a default value.

setIsDefault

public void setIsDefault(boolean isDefault)

setSchemaName

public void setSchemaName(String name)

setValue

public void setValue(ConfValue value)

stealValue

public ConfValue stealValue()

Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.

Extract the value from this ConfEntry leaving the value set to null.