Class JList.DropLocation

Enclosing class:
JList<E>

public static final class JList.DropLocation extends TransferHandler.DropLocation
Drop location for a JList drop (D_drag_and_drop — emulator for javax.swing.JList.DropLocation). getIndex() is the model index; isInsert() distinguishes an insert-between (DropMode.INSERT) from a drop-on (DropMode.ON). The pixel drop point is a dummy (R_layouts_close_enough — no server-side coordinates).
  • Method Details

    • getIndex

      public int getIndex()
    • isInsert

      public boolean isInsert()