FileDocCategorySizeDatePackage
UndoOwner.javaAPI DocAndroid 5.1 API1641Thu Mar 12 22:22:10 GMT 2015android.content

UndoOwner

public class UndoOwner extends Object
Representation of an owner of {@link UndoOperation} objects in an {@link UndoManager}.
hide

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.ObjectgetData()
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.StringgetTag()
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;