edu.isi.powerloom.gui.components
Class PLClipboardOwnerSupport

java.lang.Object
  |
  +--edu.isi.powerloom.gui.components.PLClipboardOwnerSupport

public class PLClipboardOwnerSupport
extends java.lang.Object

Support class for classes which implmenet PLClipboardOwner. Contains state (such as an objects name, its parent PLFrame, etc). and provides utilities for registering the PLClipboardOwner, etc. Collaborates with DataTransferManager, PLFrame.

Since:
Thu Oct 3 16:11:10 2002
Author:
Eric Melz

Constructor Summary
PLClipboardOwnerSupport(java.lang.String name, java.util.List types, PLClipboardOwnerParent parent, PLClipboardOwner plClipboardOwner)
           
 
Method Summary
 java.lang.String getName()
           
 PLClipboardOwnerParent getParent()
           
 java.util.List getTypes()
           
 void registerPLClipboardOwner(PLClipboardOwnerParent parent, javax.swing.JComponent plClipboardOwner)
          Register focus listener and communication between parent and plClipboardOwner.
 void setName(java.lang.String name)
           
 void setParent(PLClipboardOwnerParent parent)
           
 void setTypes(java.util.List types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PLClipboardOwnerSupport

public PLClipboardOwnerSupport(java.lang.String name,
                               java.util.List types,
                               PLClipboardOwnerParent parent,
                               PLClipboardOwner plClipboardOwner)
Method Detail

setParent

public void setParent(PLClipboardOwnerParent parent)

getParent

public PLClipboardOwnerParent getParent()

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setTypes

public void setTypes(java.util.List types)

getTypes

public java.util.List getTypes()

registerPLClipboardOwner

public void registerPLClipboardOwner(PLClipboardOwnerParent parent,
                                     javax.swing.JComponent plClipboardOwner)
Register focus listener and communication between parent and plClipboardOwner. Assume (safely, I hope) that all PLClipboardOwners are JComponents.



Copyright © 2002 University of Southern California Information Sciences Institute. All Rights Reserved.