Package com.google.gwt.user.client.ui

Examples of com.google.gwt.user.client.ui.Focusable


   * @param selection
   */
  private void moveFocus(FastTreeItem selection) {
    moveSelectionBar(selection);
    DOM.scrollIntoView(focusable);
    Focusable focusableWidget = selection.getFocusable();
    if (focusableWidget != null) {
      focusableWidget.setFocus(true);
    } else {
      // Ensure Focus is set, as focus may have been previously delegated by
      // tree.

      impl.focus(focusable);
View Full Code Here


   * @param targetElem the element that was actually targeted
   */
  private void moveFocus(FastTreeItem selection, Element targetElem) {
    moveFocusable(selection, targetElem);
    DOM.scrollIntoView(focusable);
    Focusable focusableWidget = selection.getFocusable();
    if (focusableWidget != null) {
      focusableWidget.setFocus(true);
    } else {
      // Ensure Focus is set, as focus may have been previously delegated by
      // tree.
      impl.focus(focusable);
    }
View Full Code Here

   * @param targetElem the element that was actually targeted
   */
  private void moveFocus(FastTreeItem selection, Element targetElem) {
    moveFocusable(selection, targetElem);
    DOM.scrollIntoView(focusable);
    Focusable focusableWidget = selection.getFocusable();
    if (focusableWidget != null) {
      focusableWidget.setFocus(true);
    } else {
      // Ensure Focus is set, as focus may have been previously delegated by
      // tree.
      impl.focus(focusable);
    }
View Full Code Here

TOP

Related Classes of com.google.gwt.user.client.ui.Focusable

Copyright © 2018 www.massapicom. 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.