pivot.wtk
Class LocalManifest

java.lang.Object
  extended by pivot.wtk.LocalManifest
All Implemented Interfaces:
Manifest

public class LocalManifest
extends java.lang.Object
implements Manifest

Manifest class that serves as data source for a clipboard or drag/drop operation.

Author:
gbrown

Field Summary
protected  FileList fileList
           
protected  Image image
           
protected  java.lang.String text
           
protected  java.net.URL url
           
protected  HashMap<java.lang.String,java.lang.Object> values
           
 
Constructor Summary
LocalManifest()
           
 
Method Summary
 boolean containsFileList()
           
 boolean containsImage()
           
 boolean containsText()
           
 boolean containsURL()
           
 boolean containsValue(java.lang.String key)
           
 FileList getFileList()
           
 Image getImage()
           
 java.lang.String getText()
           
 java.net.URL getURL()
           
 java.lang.Object getValue(java.lang.String key)
           
 void putFileList(FileList fileList)
           
 void putImage(Image image)
           
 void putText(java.lang.String text)
           
 void putURL(java.net.URL url)
           
 java.lang.Object putValue(java.lang.String key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected java.lang.String text

image

protected Image image

fileList

protected FileList fileList

url

protected java.net.URL url

values

protected HashMap<java.lang.String,java.lang.Object> values
Constructor Detail

LocalManifest

public LocalManifest()
Method Detail

getText

public java.lang.String getText()
Specified by:
getText in interface Manifest

putText

public void putText(java.lang.String text)

containsText

public boolean containsText()
Specified by:
containsText in interface Manifest

getImage

public Image getImage()
Specified by:
getImage in interface Manifest

putImage

public void putImage(Image image)

containsImage

public boolean containsImage()
Specified by:
containsImage in interface Manifest

getFileList

public FileList getFileList()
Specified by:
getFileList in interface Manifest

putFileList

public void putFileList(FileList fileList)

containsFileList

public boolean containsFileList()
Specified by:
containsFileList in interface Manifest

getURL

public java.net.URL getURL()
Specified by:
getURL in interface Manifest

putURL

public void putURL(java.net.URL url)

containsURL

public boolean containsURL()
Specified by:
containsURL in interface Manifest

getValue

public java.lang.Object getValue(java.lang.String key)
Specified by:
getValue in interface Manifest

putValue

public java.lang.Object putValue(java.lang.String key,
                                 java.lang.Object value)

containsValue

public boolean containsValue(java.lang.String key)
Specified by:
containsValue in interface Manifest