public class ERCoreUserPreferences extends Object implements NSKeyValueCoding
Name | Description |
---|---|
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 String |
PreferenceDidChangeNotification
Notification that is posted when preferences change
|
_CLASS, NullValue
Constructor and Description |
---|
ERCoreUserPreferences() |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValueForKey(String key) |
boolean |
booleanValueForKeyWithDefault(String key,
boolean def) |
protected Object |
decodedValue(String encodedValue) |
protected String |
encodedValue(Object value) |
protected EOEnterpriseObject |
preferenceRecordForKey(String key,
EOEditingContext ec) |
protected NSArray |
preferences(EOEditingContext ec) |
void |
registerHandlers()
Registers notification handlers for user preference notifications.
|
void |
takeValueForKey(Object value,
String key) |
static ERCoreUserPreferences |
userPreferences()
Gets the singleton instance for interacting with
the user preference system.
|
Object |
valueForKey(String key) |
public static final String PreferenceDidChangeNotification
public static ERCoreUserPreferences userPreferences()
public void registerHandlers()
protected NSArray preferences(EOEditingContext ec)
protected EOEnterpriseObject preferenceRecordForKey(String key, EOEditingContext ec)
public Object valueForKey(String key)
valueForKey
in interface NSKeyValueCoding
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface NSKeyValueCoding
public boolean booleanValueForKey(String key)
public boolean booleanValueForKeyWithDefault(String key, boolean def)
Copyright © 2002 – 2024 Project Wonder.