Java Code Examples for com.google.gwt.dom.client.Style.getProperty()

The following are Jave code examples for showing how to use getProperty() of the com.google.gwt.dom.client.Style class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: empiria.player   File: CssHelper.java   Source Code and License Vote up 5 votes
public boolean checkIfEquals(Style styles, String attributeName, String attributeValue) {
    boolean status = false;
    String value = styles.getProperty(attributeName);
    if (value != null) {
        String fromApplication = prepareValue(attributeValue);
        String fromCss = prepareValue(value);
        status = fromApplication.equalsIgnoreCase(fromCss);
    }
    return status;
}