You may also find the information in the Clipboard tutorial useful:

http://pivot.apache.org/tutorials/clipboard.html

It demonstrates copy/paste of image data, but the same concepts apply to text.

On Jul 26, 2010, at 5:57 AM, Chris Bartlett wrote:

> Ken,
> 
> The copy() method in TextInput places text onto the clipboard, so can be used 
> as an example.  Source code is here.
> http://svn.apache.org/repos/asf/pivot/trunk/wtk/src/org/apache/pivot/wtk/TextInput.java
> 
> Please see the note at the end of the FAQ regarding using the clipboard in 
> applets.
> https://cwiki.apache.org/PIVOT/frequently-asked-questions-faq.html
> 
> Regards,
> 
> Chris
> 
> On Mon, Jul 26, 2010 at 12:53 PM, <[email protected]> wrote:
> 
> Hi All,
> 
> Do you know how to store the text( Url) link in clipboard in pivot?
> Does we need extend the clipboard but ourself or  run some Javascript?
> for example,I would like store below link clipboard and user can paste it
> to their email.
> |--------------------------------------------------------------------------|
> | Clipboard()                                                              |
> |--------------------------------------------------------------------------|
> 
> 
> 
> Best regards,
> Ken Jiang
> 
> *******************************************
> Murata Electronics Trading  (Shenzhen) Co.,Ltd
> Tel:86-755-82847251
> E-mail:[email protected]
> *******************************************
> 
> 

Reply via email to