Package org.andrewberman.ui.tween

Examples of org.andrewberman.ui.tween.Tween


    EventManager.instance.add(this);

    rect = new Rectangle2D.Float(0, 0, 0, 0);
    tempPt = new Point(0, 0);

    aTween = new Tween(this, TweenQuad.tween, Tween.INOUT, 1f, .25f, FRAMES);
    wTween = new Tween(this, TweenQuad.tween, Tween.INOUT, 1.5f, 1.1f,
        FRAMES);
    hTween = new Tween(this, TweenQuad.tween, Tween.INOUT, 1.5f, 1.1f,
        FRAMES);
  }
View Full Code Here


  {
    UIUtils.loadUISinglets(p);
    EventManager.instance.add(this);
    this.p = p;

    glowTween = new Tween(this, TweenQuad.tween, Tween.INOUT, 1f, .75f, 30);
  }
View Full Code Here

  public boolean labelWasDrawn;

  public PhyloNode(Object o)
  {
    super(o);
    xTween = new Tween(null, fric, Tween.OUT, 0f, 0f, 0f);
    yTween = new Tween(null, fric, Tween.OUT, 0f, 0f, 0f);
  }
View Full Code Here

  protected PApplet p;
 
  public Camera(PApplet p)
  {
    this.p = p;
    xTween = new Tween(null, TweenFriction.tween(.2f), Tween.OUT, 0, 0, 0);
    yTween = new Tween(null, TweenFriction.tween(.2f), Tween.OUT, 0, 0, 0);
    zTween = new Tween(null, TweenFriction.tween(.2f), Tween.OUT, 1f, 1f, 0);
  }
View Full Code Here

  public RectMover(PApplet app, SettableRect r)
  {
    super(app);
    this.r = r;
   
    wTween = new Tween(null, TweenQuad.tween, Tween.OUT, 1f, 1f, FRAMES);
    hTween = new Tween(null, TweenQuad.tween, Tween.OUT, 1f, 1f, FRAMES);

    /**
     * Kind of important: call update() to make sure nothing here is null
     * in case some mouse events happen before stuff is finished loading.
     */
 
View Full Code Here

  public Scroll(PApplet p)
  {
    super(p);

    shortcut = new Shortcut("s");
    xTween = new Tween(null, TweenFriction.tween(0.8f), Tween.OUT, 0, 0, 30);
    yTween = new Tween(null, TweenFriction.tween(0.8f), Tween.OUT, 0, 0, 30);
  }
View Full Code Here

  public Zoom(PApplet p)
  {
    super(p);

    shortcut = new Shortcut("z");
    zoomTween = new Tween(null, TweenFriction.tween(0.3f), Tween.OUT, 1, 1,
        30);
  }
View Full Code Here

  String iconFile;

  public DockItem()
  {
    super();
    tween = new Tween(this, TweenFriction.tween, Tween.OUT, 0, 0, 6);
  }
View Full Code Here

TOP

Related Classes of org.andrewberman.ui.tween.Tween

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.