diff options
| author | Dianne Hackborn <hackbod@google.com> | 2013-09-04 17:43:56 -0700 |
|---|---|---|
| committer | Dianne Hackborn <hackbod@google.com> | 2013-09-04 17:43:56 -0700 |
| commit | b811e64cb325c8b9c46a2e8e97ef1aa86ac8664b (patch) | |
| tree | f796926b2a2d7d740f4005f122f8912da19053ef /core/java/android | |
| parent | 52ea7f57ed08ea982dcb125b564b5509ef8dc3b6 (diff) | |
| download | frameworks_base-b811e64cb325c8b9c46a2e8e97ef1aa86ac8664b.zip frameworks_base-b811e64cb325c8b9c46a2e8e97ef1aa86ac8664b.tar.gz frameworks_base-b811e64cb325c8b9c46a2e8e97ef1aa86ac8664b.tar.bz2 | |
Fix issue #10461600: KLP API Review: UndoManager
Hide, hide, hide!
Change-Id: Ie04825723d9392a4258e2d738828201ee387f7c6
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/content/UndoManager.java | 2 | ||||
| -rw-r--r-- | core/java/android/content/UndoOperation.java | 2 | ||||
| -rw-r--r-- | core/java/android/content/UndoOwner.java | 2 | ||||
| -rw-r--r-- | core/java/android/widget/TextView.java | 4 |
4 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/content/UndoManager.java b/core/java/android/content/UndoManager.java index 1c2db47..e9ec5a4 100644 --- a/core/java/android/content/UndoManager.java +++ b/core/java/android/content/UndoManager.java @@ -50,6 +50,8 @@ import java.util.HashMap; * undo/redo them without needing to impact edits in other objects; while * within the larger document, all edits can be seen and the user must * undo/redo them as a single stream.</p> + * + * @hide */ public class UndoManager { private final HashMap<String, UndoOwner> mOwners = new HashMap<String, UndoOwner>(); diff --git a/core/java/android/content/UndoOperation.java b/core/java/android/content/UndoOperation.java index 8084b1f..1ff32d4 100644 --- a/core/java/android/content/UndoOperation.java +++ b/core/java/android/content/UndoOperation.java @@ -23,6 +23,8 @@ import android.os.Parcelable; * A single undoable operation. You must subclass this to implement the state * and behavior for your operation. Instances of this class are placed and * managed in an {@link UndoManager}. + * + * @hide */ public abstract class UndoOperation<DATA> implements Parcelable { UndoOwner mOwner; diff --git a/core/java/android/content/UndoOwner.java b/core/java/android/content/UndoOwner.java index a279de6..d0cdc95 100644 --- a/core/java/android/content/UndoOwner.java +++ b/core/java/android/content/UndoOwner.java @@ -18,6 +18,8 @@ package android.content; /** * Representation of an owner of {@link UndoOperation} objects in an {@link UndoManager}. + * + * @hide */ public class UndoOwner { final String mTag; diff --git a/core/java/android/widget/TextView.java b/core/java/android/widget/TextView.java index a2d48a8..3c9cc98 100644 --- a/core/java/android/widget/TextView.java +++ b/core/java/android/widget/TextView.java @@ -1519,6 +1519,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * with this TextView. By default there is no associated UndoManager, so null * is returned. One can be associated with the TextView through * {@link #setUndoManager(android.content.UndoManager, String)} + * + * @hide */ public final UndoManager getUndoManager() { return mEditor == null ? null : mEditor.mUndoManager; @@ -1535,6 +1537,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener * @param tag String tag identifying this particular TextView owner in the * UndoManager. This is used to keep the correct association with the * {@link android.content.UndoOwner} of any operations inside of the UndoManager. + * + * @hide */ public final void setUndoManager(UndoManager undoManager, String tag) { if (undoManager != null) { |
