INTEGRATION: CWS sdk02 (1.1.2); FILE ADDED

2003/05/09 11:44:37 jsc 1.1.2.1: #109045# insert new and remove example zip file
This commit is contained in:
Vladimir Glazounov 2003-06-10 09:29:13 +00:00
parent 68fcbf0f5c
commit 813f181d3a

View file

@ -0,0 +1,25 @@
import com.sun.star.datatransfer.*;
import com.sun.star.datatransfer.clipboard.*;
//--------------------------
// A simple clipboard owner
//--------------------------
public class ClipboardOwner implements XClipboardOwner
{
public void lostOwnership( XClipboard xClipboard, XTransferable xTransferable )
{
System.out.println("");
System.out.println( "Lost clipboard ownership..." );
System.out.println("");
isowner = false;
}
public boolean isClipboardOwner()
{
return isowner;
}
private boolean isowner = true;
}