src/windows/classes/sun/awt/windows/WClipboard.java

Print this page




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.windows;
  27 
  28 import java.awt.datatransfer.DataFlavor;
  29 import java.awt.datatransfer.Transferable;
  30 import java.awt.datatransfer.UnsupportedFlavorException;
  31 import java.io.IOException;
  32 import java.util.Map;
  33 
  34 import sun.awt.datatransfer.DataTransferer;
  35 import sun.awt.datatransfer.SunClipboard;
  36 
  37 
  38 /**
  39  * A class which interfaces with the Windows clipboard in order to support
  40  * data transfer via Clipboard operations. Most of the work is provided by
  41  * sun.awt.datatransfer.DataTransferer.
  42  *
  43  * @author Tom Ball
  44  * @author David Mendenhall
  45  * @author Danila Sinopalnikov
  46  * @author Alexander Gerasimov
  47  *
  48  * @since 1.1
  49  */
  50 final class WClipboard extends SunClipboard {
  51 
  52     private boolean isClipboardViewerRegistered;
  53 
  54     WClipboard() {
  55         super("System");
  56     }
  57 
  58     @Override
  59     public long getID() {
  60         return 0;
  61     }




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package sun.awt.windows;
  27 
  28 import java.awt.datatransfer.DataFlavor;
  29 import java.awt.datatransfer.Transferable;
  30 import java.awt.datatransfer.UnsupportedFlavorException;
  31 import java.io.IOException;
  32 import java.util.Map;
  33 
  34 import sun.awt.datatransfer.desktop.DataTransferer;
  35 import sun.awt.datatransfer.desktop.SunClipboard;
  36 
  37 
  38 /**
  39  * A class which interfaces with the Windows clipboard in order to support
  40  * data transfer via Clipboard operations. Most of the work is provided by
  41  * sun.awt.datatransfer.desktop.DataTransferer.
  42  *
  43  * @author Tom Ball
  44  * @author David Mendenhall
  45  * @author Danila Sinopalnikov
  46  * @author Alexander Gerasimov
  47  *
  48  * @since 1.1
  49  */
  50 final class WClipboard extends SunClipboard {
  51 
  52     private boolean isClipboardViewerRegistered;
  53 
  54     WClipboard() {
  55         super("System");
  56     }
  57 
  58     @Override
  59     public long getID() {
  60         return 0;
  61     }