import java.awt.*;

/**
 * The requirements of a Component that can transfer an Image
 * (e.g., using drag-and-drop or cut/copy/paste).
 * 
 * @author  Prof. David Bernstein, James Madison University
 * @version 1.0
 */
public interface ImageTransferer
{
  /**
   * Get the current image.
   * 
   * @return The Image
   */
  public abstract Image getImage();
  
  /**
   * Get the source actions supported by this ImageTransferer.
   * 
   * @return TransferHandler.MOVE or TransferHandler.COPY
   */
  public abstract int getSourceActions();

  /**
   * Set the current image.
   * 
   * @param The Image to use
   */
  public abstract void setImage(Image image);
}
