org.nuxeo.ecm.platform.annotations.gwt.client.util
Class CSSClassManager
java.lang.Object
org.nuxeo.ecm.platform.annotations.gwt.client.util.CSSClassManager
public class CSSClassManager
- extends Object
- Author:
- Alexandre Russel
Constructor Summary |
CSSClassManager(com.google.gwt.dom.client.Element element)
|
CSSClassManager
public CSSClassManager(com.google.gwt.dom.client.Element element)
removeClass
public boolean removeClass(String name)
- remove the class from the specified element.
- Returns:
- true if the class was removed, false if the class was not found.
isClassPresent
public boolean isClassPresent(String name)
addClass
public boolean addClass(String name)
- Add the class to the element.
- Returns:
- true if the class was add, false if the class was already present.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.