Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.docking
Interface DockableDropTarget


public interface DockableDropTarget

DockableDropTarget is a marker for components that accept dockable drops. When a dockable is dragged by the user, the windowing manager takes the the component under the mouse position and finds the first component in the hierarchy that implements this marker.


Method Summary
 void acceptDrop(DockableDragContext dockableDragContext, java.awt.Point ptScreen)
          Accept the dockable at the specified position
 boolean dragEnter(DockableDragContext dockableDragContext, java.awt.Point ptScreen)
           
 void dragExit(DockableDragContext dockableDragContext)
           
 boolean dragOver(DockableDragContext dockableDragContext, java.awt.Point ptScreen)
          Indicates that a dockable is being dragged over the panel.
 

Method Detail

dragEnter

boolean dragEnter(DockableDragContext dockableDragContext,
                  java.awt.Point ptScreen)

dragOver

boolean dragOver(DockableDragContext dockableDragContext,
                 java.awt.Point ptScreen)
Indicates that a dockable is being dragged over the panel. If the drag is acceptable, the implementation must show a visual feedback and return true.

Returns:
true if this drop target accepts the drag.

dragExit

void dragExit(DockableDragContext dockableDragContext)

acceptDrop

void acceptDrop(DockableDragContext dockableDragContext,
                java.awt.Point ptScreen)
Accept the dockable at the specified position

Parameters:
ptScreen -

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.