Package elemental.html

Examples of elemental.html.Element.removeClassName()


    }

    if (renderedActiveLineNumber != NONE) {
      Element renderedActiveLine = lineNumberToElementCache.get(renderedActiveLineNumber);
      if (renderedActiveLine != null) {
        renderedActiveLine.removeClassName(css.activeLineNumber());
        renderedActiveLineNumber = NONE;
      }
    }
    Element newActiveLine = lineNumberToElementCache.get(lineNumber);
    // Add class if it's in the viewport.
View Full Code Here


    }

    private void onCallFrameClick(Element callFrame) {
      Element selected = DomUtils.getFirstElementByClassName(getElement(), css.callFrameSelected());
      if (selected != null) {
        selected.removeClassName(css.callFrameSelected());
      }

      callFrame.addClassName(css.callFrameSelected());

      int index = DomUtils.getSiblingIndexWithClassName(callFrame, css.callFrame());
View Full Code Here

  void removeTokenClassName(RemoteObjectNode data, SpanElement treeNodeLabel) {
    Element propertyValueElement = getPropertyValueElement(treeNodeLabel);
    if (propertyValueElement != null) {
      String tokenClassName = getTokenClassName(data.getRemoteObject());
      if (!StringUtils.isNullOrEmpty(tokenClassName)) {
        propertyValueElement.removeClassName(tokenClassName);
      }
    }
  }

  public String getTokenClassName(RemoteObject remoteObject) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.