Example usage for com.google.gwt.dom.client Style getCursor

List of usage examples for com.google.gwt.dom.client Style getCursor

Introduction

In this page you can find the example usage for com.google.gwt.dom.client Style getCursor.

Prototype

public String getCursor() 

Source Link

Usage

From source file:org.chromium.distiller.PageParameterParser.java

License:Open Source License

/**
 * @return true if link is disabled i.e. not clickable because it has a text cursor.
 *//*from   w ww . j  av  a2s. com*/
private static boolean isDisabledLink(AnchorElement link) {
    Style style = DomUtil.getComputedStyle(link);
    return Style.Cursor.valueOf(style.getCursor().toUpperCase()) == Style.Cursor.TEXT;
}