public static HLayout createDefaultDock ( ) { HLayout windowDock = new HLayout ( 5 ) ; windowDock . setHeight ( 22 ) ; windowDock . setAutoWidth ( ) ; windowDock . setSnapTo ( "BL" ) ; windowDock . setSnapOffsetTop ( - 0 ) ; windowDock . setSnapOffsetLeft ( 0 ) ; windowDock . setBorder ( "thin dashed red" ) ; return windowDock ; }
This will create a windowDock based on a HLayout and placed in the dockParent if provided .