Package icyllis.modernui.core

# Class UndoOwner

java.lang.Object
icyllis.modernui.core.UndoOwner

public class UndoOwner extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getData()`
  Return the actual data object of the owner.
  `String`
  `getTag()`
  Return the unique tag name identifying this owner.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### getTag

    public String getTag()
    Return the unique tag name identifying this owner. This is the tag supplied to `UndoManager.getOwner` and is immutable.

  - ### getData

    public Object getData()
    Return the actual data object of the owner. This is the data object supplied to `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.

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`