Ejemplo n.º 1
0
 /// <summary>
 /// Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu
 /// </summary>
 /// <param name="x">The new x position</param>
 /// <param name="y">The new y position</param>
 /// <param name="animate">Animation configuration</param>
 public void ShowAt(int x, int y, AnimConfig animate)
 {
     this.Call("showAt", x, y, new JRawValue(new ClientConfig().Serialize(animate)));
 }
Ejemplo n.º 2
0
 public virtual void SetPosition(int x, int y, AnimConfig animate)
 {
     this.Call("setPosition", x, y, new JRawValue(new ClientConfig().Serialize(animate)));
 }
 /// <summary>
 ///
 /// </summary>
 public virtual TBuilder DoAnimation(AnimConfig cfg)
 {
     this.ToComponent().DoAnimation(cfg);
     return(this as TBuilder);
 }
Ejemplo n.º 4
0
 public virtual void SetPosition(int x, int y, AnimConfig animate)
 {
     this.Call("setPosition", x, y, new JRawValue(new ClientConfig().Serialize(animate)));
 }
Ejemplo n.º 5
0
 /// <summary>
 ///
 /// </summary>
 public virtual Sprite.Builder Animate(AnimConfig cfg)
 {
     this.ToComponent().Animate(cfg);
     return(this);
 }
Ejemplo n.º 6
0
 public virtual void Animate(AnimConfig cfg)
 {
     this.CallTemplate("animate", new JRawValue(new ClientConfig().Serialize(cfg)));
 }
 /// <summary>
 ///
 /// </summary>
 public virtual TBuilder SetPosition(int x, int y, AnimConfig animate)
 {
     this.ToComponent().SetPosition(x, y, animate);
     return(this as TBuilder);
 }
Ejemplo n.º 8
0
 ///<summary>
 /// Sets the active (visible) component in the layout to the previous card, optional wrap parameter to wrap to the last card when the beginning of the stack is reached.
 ///</summary>
 ///<param name="anim">Animation to use for the card transition</param>
 public virtual void PrevItem(AnimConfig anim)
 {
     this.Call("layout.prev", new JRawValue(new ClientConfig().Serialize(anim, true)));
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Displays component at specific xy position. A floating component (like a menu) is positioned relative to its ownerCt if any. Useful for popping up a context menu
 /// </summary>
 /// <param name="x">The new x position</param>
 /// <param name="y">The new y position</param>
 /// <param name="animate">Animation configuration</param>
 public void ShowAt(int x, int y, AnimConfig animate)
 {
     this.Call("showAt", x, y, new JRawValue(new ClientConfig().Serialize(animate)));
 }
Ejemplo n.º 10
0
 public virtual Element Animate(AnimConfig args)
 {
     this.Call("animate", new JRawValue(new ClientConfig().Serialize(args)));
     return this;
 }
Ejemplo n.º 11
0
 /// <summary>
 ///
 /// </summary>
 public virtual TBuilder Animate(AnimConfig cfg)
 {
     this.ToComponent().Animate(cfg);
     return(this as TBuilder);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="cfg"></param>
 void IAnimate.Animate(AnimConfig cfg)
 {
     this.DoAnimation(cfg);
 }
Ejemplo n.º 13
0
 public virtual void DoAnimation(AnimConfig cfg)
 {
     this.Call("animate", new JRawValue(new ClientConfig().Serialize(cfg)));
 }
Ejemplo n.º 14
0
 ///<summary>
 /// Sets the active (visible) component in the layout to the next card, optional wrap parameter to wrap to the first card when the end of the stack is reached.
 ///</summary>
 ///<param name="anim">Animation to use for the card transition</param>
 ///<param name="wrap">Wrap to the first card when the end of the stack is reached.</param>
 public virtual void NextItem(AnimConfig anim, bool wrap)
 {
     this.Call("layout.next", new JRawValue(new ClientConfig().Serialize(anim, true)), wrap);
 }
Ejemplo n.º 15
0
 /// <summary>
 /// Animation config
 /// </summary>
 public virtual Chart.Builder AnimateConfig(AnimConfig animateConfig)
 {
     this.ToComponent().AnimateConfig = animateConfig;
     return(this as Chart.Builder);
 }
Ejemplo n.º 16
0
 ///<summary>
 /// Sets the active (visible) component in the layout to the previous card, optional wrap parameter to wrap to the last card when the beginning of the stack is reached.
 ///</summary>
 ///<param name="anim">Animation to use for the card transition</param>
 public virtual void PrevItem(AnimConfig anim)
 {
     this.Call("layout.prev", new JRawValue(new ClientConfig().Serialize(anim, true)));
 }
Ejemplo n.º 17
0
 ///<summary>
 /// Sets the active (visible) component in the layout to the next card, optional wrap parameter to wrap to the first card when the end of the stack is reached.
 ///</summary>
 ///<param name="anim">Animation to use for the card transition</param>
 ///<param name="wrap">Wrap to the first card when the end of the stack is reached.</param>
 public virtual void NextItem(AnimConfig anim, bool wrap)
 {
     this.Call("layout.next", new JRawValue(new ClientConfig().Serialize(anim, true)), wrap);
 }