UndoOwnerpublic class UndoOwner extends Object Representation of an owner of {@link UndoOperation} objects in an {@link UndoManager}. |
Fields Summary |
---|
final String | mTag | UndoManager | mManager | Object | mData | int | mOpCount | int | mStateSeq | int | mSavedIdx |
Constructors Summary |
---|
UndoOwner(String tag)
mTag = tag;
|
Methods Summary |
---|
public java.lang.Object | getData()Return the actual data object of the owner. This is the data object
supplied to {@link UndoManager#getOwner(String, Object) UndoManager.getOwner}. An
owner may have a null data if it was restored from a previously saved state with
no getOwner call to associate it with its data.
return mData;
| public java.lang.String | getTag()Return the unique tag name identifying this owner. This is the tag
supplied to {@link UndoManager#getOwner(String, Object) UndoManager.getOwner}
and is immutable.
return mTag;
|
|