ar.com.da.swing
Interface DragAndResizePolicy

All Known Implementing Classes:
DefaultDragAndResizePolicy

public interface DragAndResizePolicy

This interface determines whether to resize or drag and the direction

Author:
Carlos E.Descalzi

Method Summary
 DragType getDragType(java.awt.Component component, java.awt.Point point)
           
 ResizeType getResizeType(java.awt.Component component, java.awt.Point point)
          Determines the resize type for a given point and a component
 

Method Detail

getResizeType

ResizeType getResizeType(java.awt.Component component,
                         java.awt.Point point)
Determines the resize type for a given point and a component

Parameters:
component - the component to be resized/dragged
point - where the mouse button has been pressed
Returns:
the resize type, if is UNDEFINED, then the component will be moved

getDragType

DragType getDragType(java.awt.Component component,
                     java.awt.Point point)


Copyright © 2006 null. All Rights Reserved.