private static DropContainer create ( BaseComponent dropRoot , BaseComponent cmpt , String title , List < ActionListener > actionListeners ) { DropContainer dc = ( DropContainer ) PageUtil . createPage ( TEMPLATE , null ) ; dc . actionListeners = actionListeners ; dc . setTitle ( title ) ; dc . setDropid ( SCLASS ) ; dc . setDragid ( SCLASS ) ; dc . addChild ( cmpt ) ; dc . moveToTop ( dropRoot ) ; ActionListener . bindActionListeners ( dc , actionListeners ) ; return dc ; }
Creates a new container for the contents to be rendered by the drop provider .