Example usage for com.google.gwt.aria.client Roles getToolbarRole

List of usage examples for com.google.gwt.aria.client Roles getToolbarRole

Introduction

In this page you can find the example usage for com.google.gwt.aria.client Roles getToolbarRole.

Prototype

public static ToolbarRole getToolbarRole() 

Source Link

Usage

From source file:net.sf.mmm.client.ui.gwt.widgets.Toolbar.java

License:Apache License

/**
 * The constructor./*w w  w .j a v a  2  s  . c o m*/
 */
public Toolbar() {

    super();
    this.buttonList = new ArrayList<ButtonBase>();
    setStylePrimaryName("Toolbar");
    ToolbarRole toolbarRole = Roles.getToolbarRole();
    toolbarRole.set(getElement());
}