I actually asked this before but have not received a satisfactory answer - so I will try to formulate the question differently.
When a BoxLayout.X Container is nested in a BoxLayout.Y Container one can scroll both ways and after a certain threshold it sticks to vertical or horizontal movement.
What I want is the same behaviour with a Component where the Component derivative is nested in a Container using BoxLayout.Y. Both the Component derivative and the Container it is nested in should handle pointer movements - the Component the horizontal movements and the Container the vertical pointer movements - until the pointer has moved a certain distance and then it should lock to either vertical movement or horizontal movement, just like it already sort of works with nested Container components.
This would greatly enhance the user experience because out of the box with Codename One dragging for example a switch vertically does not work because it swallows all the pointer events, not only the horizontal movements but all of them. Now - the desired behaviour described above appears hard to achieve because one cannot delegate pointer movement events to the parent Container.
Any ideas of how that could be done?