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 com.sun.webkit;
27
28 import com.sun.webkit.graphics.WCImageFrame;
29
30 public interface Pasteboard {
31 public String getPlainText();
32 public String getHtml();
33 public void writePlainText(String text);
34 public void writeSelection(boolean canSmartCopyOrDelete, String text, String html);
35 public void writeImage(WCImageFrame img);
36 public void writeUrl(String url, String markup);
37 }
|
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 com.sun.webkit;
27
28 import com.sun.webkit.graphics.WCImageFrame;
29
30 public interface Pasteboard {
31 public String getPlainText();
32 public String getHtml();
33 public void writePlainText(String text);
34 public void writeSelection(boolean canSmartCopyOrDelete, String text, String html);
35 public void writeImage(WCImageFrame img, String fileExt);
36 public void writeUrl(String url, String markup);
37 }
|