Example usage for com.google.gwt.aria.client LiveValue POLITE

List of usage examples for com.google.gwt.aria.client LiveValue POLITE

Introduction

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

Prototype

LiveValue POLITE

To view the source code for com.google.gwt.aria.client LiveValue POLITE.

Click Source Link

Usage

From source file:org.unitime.timetable.gwt.client.aria.AriaStatus.java

License:Apache License

protected AriaStatus(Element element, boolean assertive) {
    setElement(element);//from  w  ww .  ja  v  a 2s.com
    setStyleName("unitime-AriaStatus");
    Roles.getStatusRole().set(getElement());
    Roles.getStatusRole().setAriaLiveProperty(getElement(), assertive ? LiveValue.ASSERTIVE : LiveValue.POLITE);
    Roles.getStatusRole().setAriaAtomicProperty(getElement(), true);
}