@ EventHandler ( "drop" ) private void onDrop ( DropEvent event ) { BaseComponent dragged = event . getRelatedTarget ( ) ; if ( dragged instanceof DropContainer ) { getParent ( ) . addChild ( dragged , this ) ; } }
Supports dragging drop container to a new position in the stream .