Package com.extjs.gxt.ui.client.fx

Examples of com.extjs.gxt.ui.client.fx.FxConfig


    }
    te.cancelBubble();
  }

  private void animCollapse() {
    containerEl.slideOut(Direction.UP, new FxConfig(animDuration,
        new Listener<FxEvent>() {
          public void handleEvent(FxEvent fe) {
            afterCollapse();
          }
        }));
View Full Code Here


        }));
    item.tree.disableEvents(true);
  }

  private void animExpand() {
    containerEl.slideIn(Direction.DOWN, new FxConfig(animDuration,
        new Listener<FxEvent>() {
          public void handleEvent(FxEvent fe) {
            afterExpand();
          }
        }));
View Full Code Here

    }
    if (autoHide) {
      preview.remove();
    }
    if (isAnimate()) {
      el().fadeOut(new FxConfig(new Listener<FxEvent>() {
        public void handleEvent(FxEvent fe) {
          afterHide();
        }
      }));
    } else {
View Full Code Here

    if (autoHide) {
      preview.add();
    }

    if (animate) {
      el().fadeIn(new FxConfig(new Listener<FxEvent>() {
        public void handleEvent(FxEvent fe) {
          afterShow();
        }
      }));
    } else {
View Full Code Here

  protected void onCollapse() {
    if (animCollapse) {
      animating = true;
      addStyleName(baseStyle + "-animated");
      bwrap.slideOut(Direction.UP, new FxConfig(300, new Listener<FxEvent>() {
        public void handleEvent(FxEvent fe) {
          afterCollapse();
        }
      }));
    } else {
View Full Code Here

  protected void onExpand() {
    if (animCollapse) {
      animating = true;
      addStyleName(baseStyle + "-animated");
      bwrap.slideIn(Direction.DOWN, new FxConfig(300, new Listener<FxEvent>() {
        public void handleEvent(FxEvent fe) {
          afterExpand();
        }
      }));
    } else {
View Full Code Here

      setValue(d);
    }
  }

  private void hideMonthPicker() {
    monthPicker.slideOut(Direction.UP, new FxConfig(300, new Listener<FxEvent>() {
      public void handleEvent(FxEvent ce) {
        monthPicker.setVisible(false);
      }
    }));
  }
View Full Code Here

      protected boolean onPreview(PreviewEvent pe) {
        if (pe.getEventTypeInt() == Event.ONMOUSEDOWN && getElement().isOrHasChild(pe.getTarget())
            && (fly(pe.getTarget()).findParent(".x-ignore", -1) == null)) {
          if (blink && !blinking) {
            blinking = true;
            component.el().blink(new FxConfig(new Listener<FxEvent>() {
              public void handleEvent(FxEvent fe) {
                blinking = false;
                component.focus();
              }
            }));
View Full Code Here

    }
  }

  private void scrollTo(int pos, boolean animate) {
    if (animate) {
      stripWrap.scrollTo("left", pos, new FxConfig(new Listener<FxEvent>() {
        public void handleEvent(FxEvent fe) {
          updateScrollButtons();
        }
      }));
    } else {
View Full Code Here

      protected boolean onPreview(PreviewEvent pe) {
        if (pe.getEventTypeInt() == Event.ONMOUSEDOWN && getElement().isOrHasChild(pe.getTarget())
            && (fly(pe.getTarget()).findParent(".x-ignore", -1) == null)) {
          if (blink && !blinking) {
            blinking = true;
            component.el().blink(new FxConfig(new Listener<FxEvent>() {
              public void handleEvent(FxEvent fe) {
                blinking = false;
                component.focus();
              }
            }));
View Full Code Here

TOP

Related Classes of com.extjs.gxt.ui.client.fx.FxConfig

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.