public boolean checkPosition(int x, int y, Orientation orientation) {

        if (!isDropEnabled()) {
            return false;
        }
        if (isDNDTakeAll()) {
            return true;
        }
        switch (orientation) {
            case HORIZONTAL:
                return CmsDomUtil.checkPositionInside(getElement(), x, -1);
            case VERTICAL:
                return CmsDomUtil.checkPositionInside(getElement(), -1, y);
            case ALL:
            default:
                return CmsDomUtil.checkPositionInside(getElement(), x, y);
        }
    }
public boolean checkPosition ( int x , int y , Orientation orientation ) { if ( ! isDropEnabled ( ) ) { return false ; } if ( isDNDTakeAll ( ) ) { return true ; } switch ( orientation ) { case HORIZONTAL : return CmsDomUtil . checkPositionInside ( getElement ( ) , x , - 1 ) ; case VERTICAL : return CmsDomUtil . checkPositionInside ( getElement ( ) , - 1 , y ) ; case ALL : default : return CmsDomUtil . checkPositionInside ( getElement ( ) , x , y ) ; } }
@see org.opencms.gwt.client.dnd.I_CmsDropTarget#checkPosition(int, int, Orientation)