|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.MemStruct
org.gnu.gconf.ConfEntry
public class 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(org.gnu.glib.Handle handle)
|
|
ConfEntry(java.lang.String key,
ConfValue value)
Construct a new ConfEntry object |
Method Summary | |
---|---|
java.lang.String |
getKey()
Return the key field of the entry. |
java.lang.String |
getSchemaName()
|
ConfValue |
getValue()
Return the value field of the entry. |
boolean |
isDefault()
Returns if the value in this entry is a default value. |
void |
setIsDefault(boolean isDefault)
|
void |
setSchemaName(java.lang.String name)
|
void |
setValue(ConfValue value)
|
ConfValue |
stealValue()
Extract the value from this ConfEntry leaving the value set to null. |
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, toString, wait, wait, wait |
Constructor Detail |
---|
public ConfEntry(java.lang.String key, ConfValue value)
key
- value
- public ConfEntry(org.gnu.glib.Handle handle)
Method Detail |
---|
public java.lang.String getKey()
public ConfValue getValue()
public void setValue(ConfValue value)
public ConfValue stealValue()
public java.lang.String getSchemaName()
public void setSchemaName(java.lang.String name)
public boolean isDefault()
public void setIsDefault(boolean isDefault)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |