public class ERCoreUserPreferences extends Object implements com.webobjects.foundation.NSKeyValueCoding
Name | Description |
---|---|
er.corebusinesslogic.ERCoreUserPreferences.handlerClassName | er.corebusinesslogic.ERCoreUserPreferences.handlerClassName |
Modifier and Type | Class and Description |
---|---|
static class |
ERCoreUserPreferences._UserPreferenceHandler |
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.DefaultImplementation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.Utility, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
Modifier and Type | Field and Description |
---|---|
static String |
PreferenceDidChangeNotification
Notification that is posted when preferences change
|
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 com.webobjects.eocontrol.EOEnterpriseObject |
preferenceRecordForKey(String key,
com.webobjects.eocontrol.EOEditingContext ec) |
protected NSArray |
preferences(com.webobjects.eocontrol.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(com.webobjects.eocontrol.EOEditingContext ec)
protected com.webobjects.eocontrol.EOEnterpriseObject preferenceRecordForKey(String key, com.webobjects.eocontrol.EOEditingContext ec)
public Object valueForKey(String key)
valueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public void takeValueForKey(Object value, String key)
takeValueForKey
in interface com.webobjects.foundation.NSKeyValueCoding
public boolean booleanValueForKey(String key)
public boolean booleanValueForKeyWithDefault(String key, boolean def)
Copyright © 2002 – 2020 Project Wonder.