|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjoptsimple.internal.ColumnarData
public class ColumnarData
A means to display data in a text grid.
| Constructor Summary | |
|---|---|
ColumnarData(String... headers)
Creates a new grid with the given column headers. |
|
| Method Summary | |
|---|---|
void |
addRow(Object... rowData)
Adds a row to the grid. |
void |
clear()
Removes all data from the grid, but preserves the headers. |
String |
format()
Gives a string that represents the data formatted in columns. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ColumnarData(String... headers)
headers - column headers| Method Detail |
|---|
public void addRow(Object... rowData)
rowData - row data to addpublic String format()
public final void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||