1. /*
  2. * @(#)ClipboardOwner.java 1.6 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.awt.datatransfer;
  8. /**
  9. * Defines the interface for classes that will provide data to
  10. * a clipboard.
  11. *
  12. * @version 1.6, 11/29/01
  13. * @author Amy Fowler
  14. */
  15. public interface ClipboardOwner {
  16. /**
  17. * Notifies this object that it is no longer the owner of
  18. * the contents of the clipboard.
  19. * @param clipboard the clipboard that is no longer owned
  20. * @param contents the contents which this owner had placed on the clipboard
  21. */
  22. public void lostOwnership(Clipboard clipboard, Transferable contents);
  23. }