internal Column(string title, TableListing.Justification justification, bool wrap ) { this.rows = new AList <string>(); this.justification = justification; this.wrap = wrap; this.maxWidth = 0; AddRow(title); }
/// <summary>Add a new field to the Table under construction.</summary> /// <param name="title">Field title.</param> /// <param name="justification">Right or left justification. Defaults to left.</param> /// <param name="wrap"> /// Width at which to auto-wrap the content of the cell. /// Defaults to Integer.MAX_VALUE. /// </param> /// <returns>This Builder object</returns> public virtual TableListing.Builder AddField(string title, TableListing.Justification justification, bool wrap) { columns.AddItem(new TableListing.Column(title, justification, wrap)); return(this); }
public virtual TableListing.Builder AddField(string title, TableListing.Justification justification) { return(AddField(title, justification, false)); }