com.vaadin.terminal.gwt.client
Class CSSRule
java.lang.Object
com.vaadin.terminal.gwt.client.CSSRule
public class CSSRule
- extends Object
Utility class for fetching CSS properties from DOM StyleSheets JS object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSSRule
public CSSRule(String selector,
boolean deep)
- Parameters:
selector
- the CSS selector to search for in the stylesheetsdeep
- should the search follow any @import statements?
getPropertyValue
public String getPropertyValue(String propertyName)
- Returns a specific property value from this CSS rule.
- Parameters:
propertyName
- camelCase CSS property name
- Returns:
- the value of the property as a String
getSelector
public String getSelector()
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.