static final JsArrayMixed newToolbarGroup ( String name , ToolbarButton ... buttons ) { JsArrayString arr = JavaScriptObject . createArray ( ) . cast ( ) ; for ( ToolbarButton button : buttons ) { arr . push ( button . getId ( ) ) ; } return getToolbarGroup ( name , arr ) ; }
Creates a new toolbar group .