TAILIEUCHUNG - Introduction to Java: 20 java.awt.datatransfer Reference

Tham khảo tài liệu 'introduction to java: 20 reference', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 20 Reference Clipboard Description The Clipboard class is a repository for a Transferable object and can be used for cut copy and paste operations. The system clipboard can be accessed by calling .getSystemClipboard . You can use this technique if you are interested in exchanging data between your application and other applications Java or non-Java running on the system. In addition Clipboard can be instantiated directly if private clipboards are needed. Class Definition public class extends Variables protected Transferable contents protected Clipboardowner owner Constructors public Clipboard String name Instance Methods public synchronized Transferable getContents Object requestor public String getName public synchronized void setContents Transferable contents Clipboardowner owner 820 Clipboard 821 Variables contents protected Transferable contents The object that the Clipboard contains . the object that has been cut or copied. owner protected ClipboardOwner owner The object that owns the contents. When something else is placed on the clipboard owner is notified via lostOwnership . Constructors Clipboard public Clipboard String name Parameters name The name for this Clipboard. Description Constructs a Clipboard object with the given name. Instance Methods getContents public synchronized Transferable getContents Object requestor Parameters requestor The object asking for the contents. Returns An object that implements the Transferable interface. Description Returns the current contents of the Clipboard. You could use this method to paste data from the clipboard into your application. getName public String getName Returns Clipboard s name. Description Returns the name used when this clipboard was constructed. returns a Clipboard named System . setContents 822 Clipboard public synchronized void setContents Transferable contents .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.