public class ERCoreUserPreferences extends java.lang.Object implements NSKeyValueCoding
| Properties | |
er.corebusinesslogic.ERCoreUserPreferences.handlerClassName | er.corebusinesslogic.ERCoreUserPreferences.handlerClassName |
| Modifier and Type | Class and Description |
|---|---|
static class |
ERCoreUserPreferences._UserPreferenceHandler |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Logging support
|
static java.lang.String |
PreferenceDidChangeNotification
Notification that is posted when preferences change
|
_CLASS, NullValue| Constructor and Description |
|---|
ERCoreUserPreferences() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValueForKey(java.lang.String key) |
boolean |
booleanValueForKeyWithDefault(java.lang.String key,
boolean def) |
protected java.lang.Object |
decodedValue(java.lang.String encodedValue) |
protected java.lang.String |
encodedValue(java.lang.Object value) |
protected EOEnterpriseObject |
preferenceRecordForKey(java.lang.String key,
EOEditingContext ec) |
protected NSArray |
preferences(EOEditingContext ec) |
void |
registerHandlers()
Registers notification handlers for user preference notifications.
|
void |
takeValueForKey(java.lang.Object value,
java.lang.String key) |
static ERCoreUserPreferences |
userPreferences()
Gets the singleton instance for interacting with
the user preference system.
|
java.lang.Object |
valueForKey(java.lang.String key) |
public static final org.apache.log4j.Logger log
public static final java.lang.String PreferenceDidChangeNotification
public static ERCoreUserPreferences userPreferences()
public void registerHandlers()
protected NSArray preferences(EOEditingContext ec)
protected EOEnterpriseObject preferenceRecordForKey(java.lang.String key, EOEditingContext ec)
protected java.lang.String encodedValue(java.lang.Object value)
protected java.lang.Object decodedValue(java.lang.String encodedValue)
public java.lang.Object valueForKey(java.lang.String key)
valueForKey in interface NSKeyValueCodingpublic void takeValueForKey(java.lang.Object value,
java.lang.String key)
takeValueForKey in interface NSKeyValueCodingpublic boolean booleanValueForKey(java.lang.String key)
public boolean booleanValueForKeyWithDefault(java.lang.String key,
boolean def)
Copyright © 2002 – 2022 Project Wonder.