Examples of Fx


Examples of com.sencha.gxt.fx.client.animation.Fx

    if (pe.getTypeInt() == Event.ONMOUSEDOWN && getElement().isOrHasChild(t)
        && (t.findParent("." + CommonStyles.get().ignore(), -1) == null)) {
      if (blink && !blinking) {
        blinking = true;
        pe.cancel();
        Fx fx = new Fx();
        fx.addAfterAnimateHandler(new AfterAnimateHandler() {
          @Override
          public void onAfterAnimate(AfterAnimateEvent event) {
            blinking = false;
            if (component != null) {
              // component can be null if the preview goes off just before the panel hides
              component.focus();
            }
          }
        });
        if (component.getShadow()) {
          MultiEffect effect = new MultiEffect();
          effect.addEffects(new Blink(component.getElement(), 50), new Blink(component.layer.getShadow(), 50));
          fx.run(500, effect);
        } else {
          fx.run(500, new Blink(component.getElement(), 50));
        }
      } else if (!blink) {
        pe.cancel();
        component.focus();
      }
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

   * @param fx the fx instance
   * @param interval the rate of blink
   */
  public final void blink(Fx fx, int interval) {
    if (fx == null) {
      fx = new Fx();
    }
    fx.run(new Blink(this, interval));
  }
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

   *
   * @param fx the {@link Fx} object
   */
  public final void fadeToggle(Fx fx) {
    if (fx == null) {
      fx = new Fx();
    }
    if (!isVisible()) {
      fx.run(new FadeIn(this));
    } else {
      fx.run(new FadeOut(this));
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

    if (side == ScrollDirection.LEFT) {
      dir = ScrollDir.HORIZONTAL;
    }
   
    if(fx == null) {
      fx = new Fx();
    }

    fx.run(new com.sencha.gxt.fx.client.animation.Scroll(this, dir, value));
  }
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

   * @param direction the direction
   * @param fx the fx config
   */
  public final void slideIn(Direction direction, Fx fx) {
    if (fx == null) {
      fx = new Fx();
    }
    fx.run(new SlideIn(this, direction));
  }
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

   * @param direction the direction
   * @param fx the fx
   */
  public final void slideOut(Direction direction, Fx fx) {
    if (fx == null) {
      fx = new Fx();
    }
    fx.run(new SlideOut(this, direction));
  }
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

      selectToday();
    }
  }

  protected void hideMonthPicker() {
    Fx fx = new Fx();
    fx.addAfterAnimateHandler(new AfterAnimateHandler() {
      @Override
      public void onAfterAnimate(AfterAnimateEvent event) {
        monthPicker.setVisible(false);
      }
    });
View Full Code Here

Examples of com.sencha.gxt.fx.client.animation.Fx

  }

  private void scrollTo(int pos, boolean animate) {
    XElement stripWrap = getStripWrap();
    if (animate) {
      Fx fx = new Fx();
      fx.addAfterAnimateHandler(new AfterAnimateHandler() {
        @Override
        public void onAfterAnimate(AfterAnimateEvent event) {
          appearance.updateScrollButtons(getElement());
        }
      });
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.