Searched defs:transferable (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/awt/datatransfer/
H A DTransferableProxy.java61 transferable = t;
65 return transferable.getTransferDataFlavors();
68 return transferable.isDataFlavorSupported(flavor);
73 Object data = transferable.getTransferData(df);
101 protected final Transferable transferable; field in class:TransferableProxy
/openjdk7/jdk/src/share/classes/java/awt/dnd/
H A DDragGestureEvent.java225 * @param transferable The <code>Transferable</code> representing the source
235 public void startDrag(Cursor dragCursor, Transferable transferable) argument
237 dragSource.startDrag(this, dragCursor, transferable, null);
251 * @param transferable The source's Transferable
261 public void startDrag(Cursor dragCursor, Transferable transferable, DragSourceListener dsl) throws InvalidDnDOperationException { argument
262 dragSource.startDrag(this, dragCursor, transferable, dsl);
280 * @param transferable The source's Transferable
290 public void startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl) throws InvalidDnDOperationException { argument
291 dragSource.startDrag(this, dragCursor, dragImage, imageOffset, transferable, dsl);
H A DDropTargetContext.java108 transferable = null;
266 if (transferable == null) {
270 if (transferable == null) {
271 transferable = createTransferableProxy(t, isLocal);
276 return transferable;
312 * The proxy forwards all requests to the encapsulated transferable
314 * returned by the encapsulated transferable in case of local transfer.
332 transferable = t;
338 * the data can be provided in by the encapsulated transferable.
341 * provided by the encapsulated transferable
392 protected Transferable transferable; field in class:DropTargetContext.TransferableProxy
419 private transient Transferable transferable; field in class:DropTargetContext
[all...]
H A DDragSource.java282 * @param transferable the subject data of the drag
297 Transferable transferable,
313 transferable,
342 * @param transferable the subject data of the drag
355 Transferable transferable,
358 startDrag(trigger, dragCursor, null, null, transferable, dsl, flavorMap);
380 * @param transferable the subject data of the drag
394 Transferable transferable,
396 startDrag(trigger, dragCursor, dragImage, dragOffset, transferable, dsl, null);
412 * @param transferable th
293 startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) argument
353 startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl, FlavorMap flavorMap) argument
390 startDrag(DragGestureEvent trigger, Cursor dragCursor, Image dragImage, Point dragOffset, Transferable transferable, DragSourceListener dsl) argument
422 startDrag(DragGestureEvent trigger, Cursor dragCursor, Transferable transferable, DragSourceListener dsl) argument
[all...]
H A DDragSourceContext.java221 transferable = t;
460 public Transferable getTransferable() { return transferable; }
544 s.writeObject(SerializationTester.test(transferable)
545 ? transferable : null);
567 transferable = (Transferable)s.readObject();
570 // Implementation assumes 'transferable' is never null.
571 if (transferable == null) {
588 transferable = emptyTransferable;
614 private transient Transferable transferable; field in class:DragSourceContext
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDragSourceContextPeer.java152 Transferable transferable,
151 createDragSource(Component component, Transferable transferable, InputEvent nativeTrigger, int actions, long[] formats, Map formatMap) argument
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCDragSourceContextPeer.java87 protected void startDrag(Transferable transferable, long[] formats, Map formatMap) { argument
142 final long nativeDragSource = createNativeDragSource(component, peer, nativeWindowPtr, transferable, triggerEvent,
161 SunDropTargetContextPeer.setCurrentJVMLocalSourceTransferable(transferable);
468 private native long createNativeDragSource(Component component, ComponentPeer peer, long nativePeer, Transferable transferable, argument
H A DCDataTransferer.java142 Transferable transferable) throws IOException
163 if (transferable != null && transferable.isDataFlavorSupported(javaTextEncodingFlavor)) {
165 charset = new String((byte[])transferable.getTransferData(javaTextEncodingFlavor), "UTF-8");
177 return super.translateBytesOrStream(stream, bytes, flavor, format, transferable);
141 translateBytesOrStream(InputStream stream, byte[] bytes, DataFlavor flavor, long format, Transferable transferable) argument
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DDataFlavor.java743 * @param transferable the <code>Transferable</code> whose data will be
767 public Reader getReaderForText(Transferable transferable) argument
770 Object transferObject = transferable.getTransferData(this);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXDragSourceContextPeer.java112 protected void startDrag(Transferable transferable, argument
168 dragProtocol.initializeDrag(dropActions, transferable,
236 SunDropTargetContextPeer.setCurrentJVMLocalSourceTransferable(transferable);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DTransferHandler.java251 * @param transferable the transferable
255 public TransferSupport(Component component, Transferable transferable) { argument
260 if (transferable == null) {
261 throw new NullPointerException("transferable is null");
266 this.source = transferable;
644 * @see java.awt.dnd.DragGestureEvent#startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
651 * @see java.awt.dnd.DragGestureEvent#startDrag(Cursor dragCursor, Image dragImage, Point imageOffset, Transferable transferable, DragSourceListener dsl)
1002 * transferable however it wants.
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DnDDS.cpp299 jobject transferable, jobject trigger,
321 m_transferable = env->NewGlobalRef(transferable);
1713 JNIEnv* env, jobject self, jobject component, jobject transferable,
1726 transferable, trigger, actions,
298 AwtDragSource(JNIEnv* env, jobject peer, jobject component, jobject transferable, jobject trigger, jint actions, jlongArray formats, jobject formatMap) argument
1712 Java_sun_awt_windows_WDragSourceContextPeer_createDragSource( JNIEnv* env, jobject self, jobject component, jobject transferable, jobject trigger, jint actions, jlongArray formats, jobject formatMap) argument

Completed in 71 milliseconds