com.googlecode.androidannotations.api.sharedpreferences
Class EditorHelper<T extends EditorHelper<T>>

java.lang.Object
  extended by com.googlecode.androidannotations.api.sharedpreferences.EditorHelper<T>

public abstract class EditorHelper<T extends EditorHelper<T>>
extends java.lang.Object


Constructor Summary
EditorHelper(android.content.SharedPreferences sharedPreferences)
           
 
Method Summary
 void apply()
           
protected  BooleanPrefEditorField<T> booleanField(java.lang.String key)
           
 T clear()
           
protected  FloatPrefEditorField<T> floatField(java.lang.String key)
           
protected  android.content.SharedPreferences.Editor getEditor()
           
protected  IntPrefEditorField<T> intField(java.lang.String key)
           
protected  LongPrefEditorField<T> longField(java.lang.String key)
           
protected  StringPrefEditorField<T> stringField(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorHelper

public EditorHelper(android.content.SharedPreferences sharedPreferences)
Method Detail

getEditor

protected android.content.SharedPreferences.Editor getEditor()

clear

public final T clear()

apply

public final void apply()

intField

protected IntPrefEditorField<T> intField(java.lang.String key)

stringField

protected StringPrefEditorField<T> stringField(java.lang.String key)

booleanField

protected BooleanPrefEditorField<T> booleanField(java.lang.String key)

floatField

protected FloatPrefEditorField<T> floatField(java.lang.String key)

longField

protected LongPrefEditorField<T> longField(java.lang.String key)


Copyright © 2010-2012. All Rights Reserved.