Example usage for com.google.gwt.i18n.client BidiPolicy isBidiEnabled

List of usage examples for com.google.gwt.i18n.client BidiPolicy isBidiEnabled

Introduction

In this page you can find the example usage for com.google.gwt.i18n.client BidiPolicy isBidiEnabled.

Prototype

public static boolean isBidiEnabled() 

Source Link

Document

Returns true if bidi is enabled, false if disabled.

Usage

From source file:com.sencha.gxt.widget.core.client.form.ValueBaseField.java

License:sencha.com license

protected ValueBaseField(ValueBaseInputCell<T> cell) {
    super(cell);/*from ww  w  . j a va2 s .com*/
    autoDirHandler = AutoDirectionHandler.addTo(this, BidiPolicy.isBidiEnabled());

    getCell().addParseErrorHandler(new ParseErrorHandler() {

        @Override
        public void onParseError(ParseErrorEvent event) {
            onCellParseError(event);
        }
    });

    setWidth(150);
}