Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
Modifier and Type | Method and Description |
---|---|
boolean |
TransferHandler.canImport(TransferHandler.TransferSupport support)
This method is called repeatedly during a drag and drop operation
to allow the developer to configure properties of, and to return
the acceptability of transfers; with a return value of
true
indicating that the transfer represented by the given
TransferSupport (which contains all of the details of the
transfer) is acceptable at the current time, and a value of false
rejecting the transfer. |
boolean |
TransferHandler.importData(TransferHandler.TransferSupport support)
Causes a transfer to occur from a clipboard or a drag and
drop operation.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.