KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > awt > datatransfer > Clipboard

java.awt.datatransfer
Class Clipboard

java.lang.Object
  extended by java.awt.datatransfer.Clipboard
See Also:
Top Examples, Source Code, addFlavorListener(java.awt.datatransfer.FlavorListener), DataFlavor, FlavorListener, Toolkit.getSystemClipboard(), Toolkit.getSystemSelection()

public void addFlavorListener(FlavorListener listener)
See Also:
FlavorEvent, getFlavorListeners(), removeFlavorListener(java.awt.datatransfer.FlavorListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Clipboard(String name)
See Also:
Toolkit.getSystemClipboard()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Transferable contents
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public DataFlavor[] getAvailableDataFlavors()
See Also:
IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Transferable getContents(Object requestor)
See Also:
Toolkit.getSystemClipboard(), IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Object getData(DataFlavor flavor)
               throws UnsupportedFlavorException,
                      IOException
See Also:
DataFlavor.getRepresentationClass(), IllegalStateException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public FlavorListener[] getFlavorListeners()
See Also:
FlavorEvent, removeFlavorListener(java.awt.datatransfer.FlavorListener), addFlavorListener(java.awt.datatransfer.FlavorListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public String getName()
See Also:
Toolkit.getSystemClipboard()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public boolean isDataFlavorAvailable(DataFlavor flavor)
See Also:
IllegalStateException, NullPointerException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected ClipboardOwner owner
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeFlavorListener(FlavorListener listener)
See Also:
FlavorEvent, getFlavorListeners(), addFlavorListener(java.awt.datatransfer.FlavorListener)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setContents(Transferable contents,
                        ClipboardOwner owner)
See Also:
Toolkit.getSystemClipboard(), IllegalStateException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags