OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
OpenSim.Framework.Console.ConsoleDisplayTable Class Reference

Used to generated a formatted table for the console. More...

Public Member Functions

 ConsoleDisplayTable ()
 
override string ToString ()
 
void AddColumn (string name, int width)
 
void AddRow (params object[] cells)
 
void AddToStringBuilder (StringBuilder sb)
 

Public Attributes

const int DefaultTableSpacing = 2
 Default number of spaces between table columns. More...
 

Properties

List< ConsoleDisplayTableColumnColumns [get, set]
 Table columns. More...
 
List< ConsoleDisplayTableRowRows [get, set]
 Table rows More...
 
int Indent [get, set]
 Number of spaces to indent the whole table. More...
 
int TableSpacing [get, set]
 Spacing between table columns More...
 

Detailed Description

Used to generated a formatted table for the console.

Currently subject to change. If you use this, be prepared to change your code when this class changes.

Definition at line 41 of file ConsoleDisplayTable.cs.

Constructor & Destructor Documentation

OpenSim.Framework.Console.ConsoleDisplayTable.ConsoleDisplayTable ( )
inline

Definition at line 68 of file ConsoleDisplayTable.cs.

Member Function Documentation

void OpenSim.Framework.Console.ConsoleDisplayTable.AddColumn ( string  name,
int  width 
)
inline

Definition at line 82 of file ConsoleDisplayTable.cs.

void OpenSim.Framework.Console.ConsoleDisplayTable.AddRow ( params object[]  cells)
inline

Definition at line 87 of file ConsoleDisplayTable.cs.

void OpenSim.Framework.Console.ConsoleDisplayTable.AddToStringBuilder ( StringBuilder  sb)
inline

Definition at line 92 of file ConsoleDisplayTable.cs.

override string OpenSim.Framework.Console.ConsoleDisplayTable.ToString ( )
inline

Definition at line 75 of file ConsoleDisplayTable.cs.

Member Data Documentation

const int OpenSim.Framework.Console.ConsoleDisplayTable.DefaultTableSpacing = 2

Default number of spaces between table columns.

Definition at line 46 of file ConsoleDisplayTable.cs.

Property Documentation

List<ConsoleDisplayTableColumn> OpenSim.Framework.Console.ConsoleDisplayTable.Columns
getset

Table columns.

Definition at line 51 of file ConsoleDisplayTable.cs.

int OpenSim.Framework.Console.ConsoleDisplayTable.Indent
getset

Number of spaces to indent the whole table.

Definition at line 61 of file ConsoleDisplayTable.cs.

List<ConsoleDisplayTableRow> OpenSim.Framework.Console.ConsoleDisplayTable.Rows
getset

Table rows

Definition at line 56 of file ConsoleDisplayTable.cs.

int OpenSim.Framework.Console.ConsoleDisplayTable.TableSpacing
getset

Spacing between table columns

Definition at line 66 of file ConsoleDisplayTable.cs.


The documentation for this class was generated from the following file: