Package com.extjs.gxt.ui.client.widget

Examples of com.extjs.gxt.ui.client.widget.TabItem


  @Override
  public void onEnter(Component component, PreviewEvent pe) {
    if (!isManaged()) return;
    if (component instanceof HeaderItem) {
      pe.preventDefault();
      TabItem item = (TabItem) component.getParent();
      stepInto(item, pe, true);
    } else if (component instanceof TabPanel) {
      pe.preventDefault();
      TabPanel panel = (TabPanel) component;
      TabItem item = panel.getSelectedItem();
      if (item != null && item.getItemCount() > 0) {
        item.getItem(0).focus();
      }
    }
  }
View Full Code Here


  @Override
  public void onEnter(Component component, PreviewEvent pe) {
    if (!isManaged()) return;
    if (component instanceof HeaderItem) {
      pe.preventDefault();
      TabItem item = (TabItem) component.getParent();
      stepInto(item, pe, true);
    } else if (component instanceof TabPanel) {
      pe.preventDefault();
      TabPanel panel = (TabPanel) component;
      TabItem item = panel.getSelectedItem();
      if (item != null && item.getItemCount() > 0) {
        item.getItem(0).focus();
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.widget.TabItem

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.