private void addList ( final WList . Type type , final WList . Separator separator , final boolean renderBorder , final WComponent renderer ) { WList list = new WList ( type ) ; if ( separator != null ) { list . setSeparator ( separator ) ; } list . setRenderBorder ( renderBorder ) ; list . setRepeatedComponent ( renderer ) ; add ( list ) ; lists . add ( list ) ; }
Adds a list to the example .