public class ClipBoardXfer
extends java.lang.Object
implements java.awt.datatransfer.ClipboardOwner
Constructor and Description |
---|
ClipBoardXfer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClipboardContents()
Gets the string from the clipboard.
|
void |
lostOwnership(java.awt.datatransfer.Clipboard clipboard,
java.awt.datatransfer.Transferable contents)
Not needed here.
|
void |
setClipboardContents(java.lang.String toSet)
Puts a string into the clipboard with me as owner - unused as yet.
|
void |
transferClipboardContentsToScrap(MC68000Cpu cpu)
Transfers a max of 32000 chars from the clipboard to the area pointed to by A1.
|
void |
transferScrapToClipboard(MC68000Cpu cpu)
Transfers chars from the area pointed to by A1 to the clipboard.
|
public void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
lostOwnership
in interface java.awt.datatransfer.ClipboardOwner
public void setClipboardContents(java.lang.String toSet)
toSet
- the String to put into the clipboard.public java.lang.String getClipboardContents()
public void transferClipboardContentsToScrap(MC68000Cpu cpu)
cpu
- the cpu (memory) to transfer to.public void transferScrapToClipboard(MC68000Cpu cpu)
cpu
- the cpu (memory) to transfer to.