Package com.sencha.gxt.core.client.dom

Examples of com.sencha.gxt.core.client.dom.XElement.scrollIntoView()


  }

  protected void focusItem(int index) {
    XElement elem = getElement(index);
    if (elem != null) {
      elem.scrollIntoView(getElement(), false);
      focusEl.setXY(elem.getXY());
    }
    focus();
  }
View Full Code Here


  public void scrollIntoView(M model) {
    TreeNode<M> node = findNode(model);
    if (node != null) {
      XElement con = (XElement) node.getElementContainer();
      if (con != null) {
        con.scrollIntoView(getElement(), false);
        focusEl.setXY(con.getXY());
      }
    }
  }
View Full Code Here

  public void scrollIntoView(M model) {
    TreeNode<M> node = findNode(model);
    if (node != null) {
      XElement con = (XElement) node.getElementContainer();
      if (con != null) {
        con.scrollIntoView();
        focusEl.setXY(con.getXY());
      }
    }
  }
View Full Code Here

  }

  protected void focusItem(int index) {
    XElement elem = getElement(index);
    if (elem != null) {
      elem.scrollIntoView(getElement(), false);
      focusEl.setXY(elem.getXY());
    }
    focus();
  }
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.