< prev index next >
modules/swt/src/main/java/javafx/embed/swt/CustomTransfer.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 30,47 ****
import javafx.beans.NamedArg;
import org.eclipse.swt.dnd.ByteArrayTransfer;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.TransferData;
! /**
! * @since JavaFX 2.2
! *
! * @treatAsPrivate implementation detail
! * @deprecated This is an internal API that is not intended for use and will be removed in the next version
! */
! @Deprecated
! public class CustomTransfer extends ByteArrayTransfer {
private String name, mime;
public CustomTransfer (@NamedArg("name") String name, @NamedArg("mime") String mime) {
this.name = name;
this.mime = mime;
--- 30,40 ----
import javafx.beans.NamedArg;
import org.eclipse.swt.dnd.ByteArrayTransfer;
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.TransferData;
! class CustomTransfer extends ByteArrayTransfer {
private String name, mime;
public CustomTransfer (@NamedArg("name") String name, @NamedArg("mime") String mime) {
this.name = name;
this.mime = mime;
< prev index next >