Lines Matching defs:Editor

26  * Modifications to the preferences must go through an {@link Editor} object
68 public interface Editor {
78 * @return Returns a reference to the same Editor object, so you can
81 Editor putString(String key, String value);
91 * @return Returns a reference to the same Editor object, so you can
94 Editor putStringSet(String key, Set<String> values);
103 * @return Returns a reference to the same Editor object, so you can
106 Editor putInt(String key, int value);
115 * @return Returns a reference to the same Editor object, so you can
118 Editor putLong(String key, long value);
127 * @return Returns a reference to the same Editor object, so you can
130 Editor putFloat(String key, float value);
139 * @return Returns a reference to the same Editor object, so you can
142 Editor putBoolean(String key, boolean value);
155 * @return Returns a reference to the same Editor object, so you can
158 Editor remove(String key);
169 * @return Returns a reference to the same Editor object, so you can
172 Editor clear();
175 * Commit your preferences changes back from this Editor to the
193 * Commit your preferences changes back from this Editor to the
222 * <p class='note'>The SharedPreferences.Editor interface
343 * Create a new Editor for these preferences, through which you can make
347 * <p>Note that you <em>must</em> call {@link Editor#commit} to have any
348 * changes you perform in the Editor actually show up in the
351 * @return Returns a new instance of the {@link Editor} interface, allowing
354 Editor edit();