Class DragData


  • @Beta
    public class DragData
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DragData​(java.util.List<DragDataItem> items, java.util.Optional<java.util.List<java.lang.String>> files, java.lang.Integer dragOperationsMask)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getDragOperationsMask()
      Bit field representing allowed drag operations.
      java.util.Optional<java.util.List<java.lang.String>> getFiles()
      List of filenames that should be included when dropping
      java.util.List<DragDataItem> getItems()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DragData

        public DragData​(java.util.List<DragDataItem> items,
                        java.util.Optional<java.util.List<java.lang.String>> files,
                        java.lang.Integer dragOperationsMask)
    • Method Detail

      • getFiles

        public java.util.Optional<java.util.List<java.lang.String>> getFiles()
        List of filenames that should be included when dropping
      • getDragOperationsMask

        public java.lang.Integer getDragOperationsMask()
        Bit field representing allowed drag operations. Copy = 1, Link = 2, Move = 16