public void setSize ( ButtonSize size ) { if ( this . size != null ) { removeStyleName ( this . size . getCssName ( ) ) ; } this . size = size ; if ( size != null ) { addStyleName ( size . getCssName ( ) ) ; } }
Set the buttons size .