private Grid makeStylePanel ( ) { for ( Entry < String , Integer > item : stylesMap . entrySet ( ) ) { styles . insertItem ( item . getKey ( ) , item . getValue ( ) ) ; } final Grid grid = new Grid ( 5 , 3 ) ; grid . setText ( 0 , 1 , "Smooth" ) ; grid . setWidget ( 0 , 2 , smooth ) ; grid . setText ( 1 , 1 , "Style" ) ; grid . setWidget ( 1 , 2 , styles ) ; return grid ; }
Additional styling options .