List of usage examples for com.google.gwt.dom.client LIElement removeClassName
@Override
public boolean removeClassName(String className)
From source file:org.drools.workbench.screens.scenariosimulation.client.collectioneditor.CollectionEditorUtils.java
License:Apache License
public static void toggleRowExpansion(final LIElement liElement, boolean isShown) { if (isShown) { liElement.addClassName(NODE_HIDDEN); liElement.getStyle().setDisplay(Style.Display.NONE); } else {/* w w w . j a va 2 s .c om*/ liElement.removeClassName(NODE_HIDDEN); liElement.getStyle().setDisplay(Style.Display.BLOCK); } }