Lines Matching defs:Editor

26  * Modifications to the preferences must go through an {@link Editor} object
67 public interface Editor {
75 * @return Returns a reference to the same Editor object, so you can
78 Editor putString(String key, String value);
86 * @return Returns a reference to the same Editor object, so you can
89 Editor putStringSet(String key, Set<String> values);
98 * @return Returns a reference to the same Editor object, so you can
101 Editor putInt(String key, int value);
110 * @return Returns a reference to the same Editor object, so you can
113 Editor putLong(String key, long value);
122 * @return Returns a reference to the same Editor object, so you can
125 Editor putFloat(String key, float value);
134 * @return Returns a reference to the same Editor object, so you can
137 Editor putBoolean(String key, boolean value);
150 * @return Returns a reference to the same Editor object, so you can
153 Editor remove(String key);
164 * @return Returns a reference to the same Editor object, so you can
167 Editor clear();
170 * Commit your preferences changes back from this Editor to the
188 * Commit your preferences changes back from this Editor to the
217 * <p class='note'>The SharedPreferences.Editor interface
330 * Create a new Editor for these preferences, through which you can make
334 * <p>Note that you <em>must</em> call {@link Editor#commit} to have any
335 * changes you perform in the Editor actually show up in the
338 * @return Returns a new instance of the {@link Editor} interface, allowing
341 Editor edit();