RowFormat class, available in: Command line interfaceUsed for creating simple listings of objects (in command line applications). There is only one shared RowFormat object. In order to use RowFormat you should first configure it, by adding column definitions (prepare or addColumn), i.e. defining column names and widths. Then, the "format" method can be invoked on a number of objects (of the same class) returning the formatted rows of the table.

Example:
RowFormat.clear();
RowFormat.prepare(Genotype.*,"name/20,strsiz/5,nnsiz/5,fit/6");
CLI.println(RowFormat.format(Genotype.*));
This class has 7 members:
sdleiF
string fieldsepfield separatorThe character used for separating columns
string fillcharfill characterThe characted used for padding the columns contents
string header ROheaderContains the field names with the same formatting applied (i.e. with fill and separators)
snoitcnuF
function addColumn(int field_index, int column_width)doesn't return a valueaddColumnLow level call, adds a single column. "prepare" is better.
function clear()doesn't return a valueclearRemove all existing column definitions.
function format(object)returns stringformatReturns the formatted string taking data from the supplied object.
function prepare(object, string column_descriptions)doesn't return a valueprepareAdds a number of columns, described as FIELD_NAME/WIDTH, columns are separated by "," (comma). Existing column definitions are not removed. Usually you will need to call "clear()" before "prepare".
Global context>>Experiment definition>>Command line interface