Lines Matching refs:Editor

26  * Modifications to the preferences must go through an {@link Editor} object
68 public interface Editor {
76 * @return Returns a reference to the same Editor object, so you can
79 Editor putString(String key, String value);
87 * @return Returns a reference to the same Editor object, so you can
90 Editor putStringSet(String key, Set<String> values);
99 * @return Returns a reference to the same Editor object, so you can
102 Editor putInt(String key, int value);
111 * @return Returns a reference to the same Editor object, so you can
114 Editor putLong(String key, long value);
123 * @return Returns a reference to the same Editor object, so you can
126 Editor putFloat(String key, float value);
135 * @return Returns a reference to the same Editor object, so you can
138 Editor putBoolean(String key, boolean value);
151 * @return Returns a reference to the same Editor object, so you can
154 Editor remove(String key);
165 * @return Returns a reference to the same Editor object, so you can
168 Editor clear();
171 * Commit your preferences changes back from this Editor to the
189 * Commit your preferences changes back from this Editor to the
218 * <p class='note'>The SharedPreferences.Editor interface
339 * Create a new Editor for these preferences, through which you can make
343 * <p>Note that you <em>must</em> call {@link Editor#commit} to have any
344 * changes you perform in the Editor actually show up in the
347 * @return Returns a new instance of the {@link Editor} interface, allowing
350 Editor edit();