|
||||||||||
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(java.lang.String... headers)
Creates a new grid with the given column headers. |
Method Summary | |
---|---|
void |
addRow(java.lang.Object... rowData)
Adds a row to the grid. |
void |
clear()
Removes all data from the grid, but preserves the headers. |
java.lang.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(java.lang.String... headers)
headers
- column headersMethod Detail |
---|
public void addRow(java.lang.Object... rowData)
rowData
- row data to addpublic java.lang.String format()
public final void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |