intarsys runtime library

de.intarsys.tools.preferences
Class PrefValueHolder

java.lang.Object
  extended by de.intarsys.tools.preferences.PrefValueHolder
All Implemented Interfaces:
IValueHolder
Direct Known Subclasses:
BooleanPrefValueHolder, IntegerPrefValueHolder, StringPrefValueHolder

public abstract class PrefValueHolder
extends Object
implements IValueHolder

An IValueHolder implementation that is backed up by preferences.


Constructor Summary
PrefValueHolder(IPreferences preferences, String key, Object defaultValue)
           
 
Method Summary
 Object getDefaultValue()
           
 String getKey()
           
 IPreferences getPreferences()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.intarsys.tools.valueholder.IValueHolder
get, set
 

Constructor Detail

PrefValueHolder

public PrefValueHolder(IPreferences preferences,
                       String key,
                       Object defaultValue)
Method Detail

getDefaultValue

public Object getDefaultValue()

getKey

public String getKey()

getPreferences

public IPreferences getPreferences()

intarsys runtime library

Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.