textbender.g.util.prefs
Class BooleanPreferenceDC
java.lang.Object
  
Preference
      
BooleanPreference
          
BooleanPreferenceDC
public class BooleanPreferenceDC
- extends BooleanPreference
 
A default-clear boolean preference.
 It is removed when it matches the default, rather than stored.
 
 
 
| 
Method Summary | 
 void | 
put(boolean value)
 
          Stores a new value for the preference, or removes it if it matches the default. | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BooleanPreferenceDC
public BooleanPreferenceDC(Preferences preferences,
                           String key,
                           boolean def)
- Creates a BooleanPreferenceDC.
- Parameters:
 preferences - per preferences()key - per key()def - default per getDefault()
 
put
public void put(boolean value)
- Stores a new value for the preference, or removes it if it matches the default.
- Overrides:
 put in class BooleanPreference
 
- Parameters:
 value - new value of the preference