Searched refs:clipboard (Results 1 - 13 of 13) sorted by relevance

/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DClipboardOwner.java30 * a clipboard. An instance of this interface becomes the owner
31 * of the contents of a clipboard (clipboard owner) if it is
34 * the clipboard and this method returns successfully.
35 * The instance remains the clipboard owner until another application
37 * of this clipboard.
47 * Notifies this object that it is no longer the clipboard owner.
49 * object within this application asserts ownership of the clipboard.
51 * @param clipboard the clipboard tha
54 lostOwnership(Clipboard clipboard, Transferable contents) argument
[all...]
H A DStringSelection.java138 public void lostOwnership(Clipboard clipboard, Transferable contents) { argument
/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DClipboardTransferable.java76 public ClipboardTransferable(SunClipboard clipboard) { argument
78 clipboard.openClipboard(null);
81 long[] formats = clipboard.getClipboardFormats();
97 fetchOneFlavor(clipboard, flavor, lFormat, cached_data);
105 clipboard.closeClipboard();
109 private boolean fetchOneFlavor(SunClipboard clipboard, DataFlavor flavor, argument
118 data = clipboard.getClipboardData(format);
/openjdk7/jdk/test/javax/swing/JTextArea/7049024/
H A Dbug7049024.java43 public static Clipboard clipboard = null; field in class:bug7049024
75 clipboard = textField.getToolkit().getSystemSelection();
76 if (null == clipboard) {
98 String oldSelection = (String) clipboard.getData(DataFlavor.stringFlavor);
118 String newSelection = (String) clipboard.getData(DataFlavor.stringFlavor);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCEmbeddedFrame.java120 CClipboard clipboard = (CClipboard) Toolkit.getDefaultToolkit().getSystemClipboard();
121 clipboard.checkPasteboard();
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXClipboard.java65 * Creates a system clipboard object.
134 new GetIntegerAction("awt.datatransfer.clipboard.poll.interval",
190 XClipboard clipboard = null;
197 clipboard = targetsAtom2Clipboard.get(propertyAtom);
199 if (null != clipboard) {
200 clipboard.checkChange(xse);
H A DXToolkit.java73 // the system clipboard - CLIPBOARD selection
74 XClipboard clipboard; field in class:XToolkit
1118 if (clipboard == null) {
1119 clipboard = new XClipboard("System", "CLIPBOARD");
1122 return clipboard;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTransferHandler.java59 * to/from a clipboard. It is also used in drag-and-drop operations
72 * one component to another either via the clipboard or a drag and drop operation
97 * This value is used when data is copied to a clipboard
104 * This value is used when data is moved to a clipboard (i.e. a cut)
194 * This class encapsulates all relevant details of a clipboard
585 * clipboard. When performed, this action operates on the {@code JComponent}
589 * @return an {@code Action} for performing cuts to the clipboard
597 * clipboard. When performed, this action operates on the {@code JComponent}
601 * @return an {@code Action} for performing copies to the clipboard
609 * clipboard
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWToolkit.java53 private Clipboard clipboard; field in class:LWToolkit
487 if (clipboard == null) {
488 clipboard = createPlatformClipboard();
491 return clipboard;
/openjdk7/jdk/test/sun/awt/datatransfer/
H A DSuplementaryCharactersTransferTest.java101 public void lostOwnership(Clipboard clipboard, Transferable contents) { argument
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWToolkit.java73 // System clipboard.
74 WClipboard clipboard; field in class:WToolkit
674 if (clipboard == null) {
675 clipboard = new WClipboard();
678 return clipboard;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultCaret.java457 // clipboard was unavailable
468 // do nothing... there is no system clipboard
1361 // clipboard was unavailable
1373 // do nothing... there is no system clipboard
1375 // do nothing... there is no allowed system clipboard
1584 * clipboard.
1898 public void lostOwnership(Clipboard clipboard, argument
H A DJTextComponent.java1451 * text model to the system clipboard, removing the contents
1466 * text model to the system clipboard, leaving the contents
1478 * Transfers the contents of the system clipboard into the
1481 * clipboard. If there is no selection, the clipboard contents
1483 * the associated view. If the clipboard is empty, does nothing.
3229 * Cuts the text between two indices into the system clipboard.
3241 * Pastes the text from the system clipboard into the text
3962 * imports the data from the String clipboard. This is only used
3968 public void exportToClipboard(JComponent comp, Clipboard clipboard, argument
[all...]

Completed in 528 milliseconds