1 19 20 21 package org.netbeans.core.windows.view.dnd; 22 23 24 import org.netbeans.core.windows.view.ViewElement; 25 import org.openide.windows.TopComponent; 26 27 import java.awt.*; 28 29 30 40 public interface TopComponentDroppable { 41 44 public Shape getIndicationForLocation(Point location); 45 46 51 public Object getConstraintForLocation(Point location); 52 53 55 public Component getDropComponent(); 56 57 58 public ViewElement getDropViewElement(); 59 60 62 public boolean canDrop(TopComponent transfer, Point location); 63 64 67 public boolean supportsKind(int kind, TopComponent transfer); 68 } 69 | Popular Tags |