public virtual Element SetXY(int x, int y, ElementFxConfig animate) { this.Call("setXY", new int[] { x, y }, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element Toggle(ElementFxConfig animate) { this.Call("toggle", new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element SetWidth(int width, ElementFxConfig animate) { this.Call("setWidth", width, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element SetX(int x, ElementFxConfig animate) { this.Call("setX", x, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element SetOpacity(double opacity, ElementFxConfig animate) { this.Call("setOpacity", opacity, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element SetVisible(bool visible, ElementFxConfig animate) { this.Call("setVisible", visible, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element SetBox(Box box, bool adjust, ElementFxConfig animate) { this.Call("setBox", new JRawValue(box.Serialize()), adjust, new JRawValue(new ClientConfig().Serialize(this, true))); return this; }
public virtual Element SetHeight(int value, ElementFxConfig animate) { this.Call("setHeight", value, new JRawValue(new ClientConfig().Serialize(animate))); return this; }
public virtual Element ScrollTo(Direction side, int value, ElementFxConfig animate) { if (!(side == Direction.Left || side == Direction.Top)) { throw new ArgumentException("Side can accept the following values only: Top, Left", "side"); } this.Call("scrollTo", side.ToString().ToLowerCamelCase(), value, new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element SetBounds(int x, int y, int width, int height, ElementFxConfig animate) { this.Call("setBounds", x, y, width, height, new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element Scroll(Direction direction, int distance, ElementFxConfig animate) { this.Call("scrollEx", direction.ToString().ToLowerCamelCase(), distance, new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element MoveTo(int x, int y, ElementFxConfig animate) { this.Call("moveTo", x, y, new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element Hide(ElementFxConfig animate) { this.Call("hide", new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element AnchorTo(Element element, string position, int[] offsets, ElementFxConfig animate) { this.Call("anchorTo", new JRawValue(element.Descriptor), position, offsets, new JRawValue(new ClientConfig().Serialize(animate, true))); return this; }
public virtual Element AnchorTo(Element element, string position, int[] offsets, ElementFxConfig animate, bool monitorScroll, JFunction callback) { this.Call("anchorTo", new JRawValue(element.Descriptor), position, offsets, new JRawValue(new ClientConfig().Serialize(animate, true)), monitorScroll, callback); return this; }