src/macosx/classes/sun/lwawt/macosx/CClipboard.java

Print this page




  93 
  94     protected native long[] getClipboardFormats();
  95     protected native byte[] getClipboardData(long format) throws IOException;
  96 
  97     // 1.5 peer method
  98     protected void unregisterClipboardViewerChecked() {
  99         // no-op because we lack OS support. This requires 4048791, which requires 4048792
 100     }
 101 
 102     // 1.5 peer method
 103     protected void registerClipboardViewerChecked()    {
 104         // no-op because we lack OS support. This requires 4048791, which requires 4048792
 105     }
 106 
 107     // 1.5 peer method
 108     // no-op. This appears to be win32 specific. Filed 4048790 for investigation
 109     //protected Transferable createLocaleTransferable(long[] formats) throws IOException;
 110 
 111     public native void declareTypes(long[] formats, SunClipboard newOwner);
 112     public native void setData(byte[] data, long format);




 113 }


  93 
  94     protected native long[] getClipboardFormats();
  95     protected native byte[] getClipboardData(long format) throws IOException;
  96 
  97     // 1.5 peer method
  98     protected void unregisterClipboardViewerChecked() {
  99         // no-op because we lack OS support. This requires 4048791, which requires 4048792
 100     }
 101 
 102     // 1.5 peer method
 103     protected void registerClipboardViewerChecked()    {
 104         // no-op because we lack OS support. This requires 4048791, which requires 4048792
 105     }
 106 
 107     // 1.5 peer method
 108     // no-op. This appears to be win32 specific. Filed 4048790 for investigation
 109     //protected Transferable createLocaleTransferable(long[] formats) throws IOException;
 110 
 111     public native void declareTypes(long[] formats, SunClipboard newOwner);
 112     public native void setData(byte[] data, long format);
 113 
 114     // 1.7 peer method
 115     // introduced for implementation fix for 8010925
 116     public native void checkPasteboard();
 117 }