public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "simplebox"); this.Describe(visitor); //descrube child visitor.EndElement(); }
public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "ninebox"); this.Describe(visitor); visitor.EndElement(); }
public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "scrollbutton"); this.Describe(visitor); visitor.EndElement(); }
public override void Walk(UIVisitor visitor) { //walk to control visitor.BeginElement(this, "scrollbar"); this.Describe(visitor); visitor.EndElement(); }
public override void Walk(UIVisitor visitor) { //TODO: implement this }
public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "textbox_container"); this.Describe(visitor); visitor.EndElement(); }
public abstract void Walk(UIVisitor visitor);
public override void Walk(UIVisitor visitor) { }
protected override void Describe(UIVisitor visitor) { //describe base properties base.Describe(visitor); //describe child content if (uiList != null) { int j = this.uiList.Count; for (int i = 0; i < j; ++i) { uiList.GetElement(i).Walk(visitor); } } }
public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "hingbox"); visitor.EndElement(); }
public override void Walk(UIVisitor visitor) { visitor.BeginElement(this, "textbox"); this.Describe(visitor); visitor.TextNode(this.Text); visitor.EndElement(); }
//----------------------------------- protected virtual void Describe(UIVisitor visitor) { visitor.Attribute("left", this.Left); visitor.Attribute("top", this.Top); visitor.Attribute("width", this.Width); visitor.Attribute("height", this.Height); }
public override void Accept(UIVisitor visitor) { }