Examples of dragExit()


Examples of ae.java.awt.dnd.DragSourceContext.dragExit()

                    break;
                case DISPATCH_CHANGED:
                    dragSourceContext.dropActionChanged((DragSourceDragEvent)event);
                    break;
                case DISPATCH_EXIT:
                    dragSourceContext.dragExit(event);
                    break;
                case DISPATCH_MOUSE_MOVED:
                    dragSourceContext.dragMouseMoved((DragSourceDragEvent)event);
                    break;
                case DISPATCH_FINISH:
View Full Code Here

Examples of java.awt.dnd.DragSourceContext.dragExit()

                    break;
                case DISPATCH_CHANGED:
                    dragSourceContext.dropActionChanged((DragSourceDragEvent)event);
                    break;
                case DISPATCH_EXIT:
                    dragSourceContext.dragExit(event);
                    break;
                case DISPATCH_MOUSE_MOVED:
                    dragSourceContext.dragMouseMoved((DragSourceDragEvent)event);
                    break;
                case DISPATCH_FINISH:
View Full Code Here

Examples of java.awt.dnd.DragSourceListener.dragExit()

     * @param dse the <code>DragSourceEvent</code>
     */
    public void dragExit(DragSourceEvent dse) {
        DragSourceListener dsl = listener;
        if (dsl != null) {
            dsl.dragExit(dse);
        }
        getDragSource().processDragExit(dse);

  updateCurrentCursor(DnDConstants.ACTION_NONE, DnDConstants.ACTION_NONE, DEFAULT);
    }
View Full Code Here

Examples of java.awt.dnd.DropTargetListener.dragExit()

        public void dragExit(DropTargetEvent dtde) {
            //notify additionalListeners
            for (int i = 0; i < _additionalListeners.size(); i++) {
                DropTargetListener l = (DropTargetListener) _additionalListeners
                        .elementAt(i);
                l.dragExit(dtde);
            }
            if (_highlighted != null) {
                _highlighter.renderDeselected(_highlightedFigure);
                _highlighted = null;
                _highlightedFigure = null;
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IDesignOperation.dragExit()

        adapter = ExtensionRegistry.createWidgetAdapter(popup);
      Point sp = new Point(p);
      SwingUtilities.convertPointToScreen(sp, jmenu);
      SwingUtilities.convertPointFromScreen(sp, popup);
      IDesignOperation operation = (IDesignOperation) adapter.getAdapter(IDesignOperation.class);
      operation.dragExit(sp);
      return true;
    } else {
      inside_popup=false;
      setDropStatus(NOOP);
    }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IDesignOperation.dragExit()

          CompositeAdapter compositeAdapter = (CompositeAdapter) adapter;
          if (hoveredAdapter != compositeAdapter) {
            if (hoveredAdapter != null) {
              IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
              if (operation != null)
                operation.dragExit(hoveredAdapter.convertToLocal(p));
            }
            hoveredAdapter = compositeAdapter;
            IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
            if (operation != null)
              operation.dragEnter(hoveredAdapter.convertToLocal(p));
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.IDesignOperation.dragExit()

        }
      } else {
        if (hoveredAdapter != null) {
          IDesignOperation operation = (IDesignOperation) hoveredAdapter.getAdapter(IDesignOperation.class);
          if (operation != null) {
            operation.dragExit(hoveredAdapter.convertToLocal(p));
          }
          hoveredAdapter = null;
        }
        glassPlane.setHotspotPoint(p);
      }
View Full Code Here

Examples of org.dyno.visual.swing.plugin.spi.LayoutAdapter.dragExit()

      return super.dragExit(p);
    JPanel jpanel = (JPanel) adaptable.getWidget();
    LayoutManager layout = jpanel.getLayout();
    if (layout != null) {
      LayoutAdapter layoutAdapter = ((CompositeAdapter) adaptable).getLayoutAdapter();
      return layoutAdapter.dragExit(p);
    } else
      return true;
  }

  @Override
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.