org.codehaus.mojo.pomtools.console.toolkit.widgets
Class TableLayout
java.lang.Object
org.codehaus.mojo.pomtools.console.toolkit.widgets.TableLayout
public class TableLayout
- extends Object
- Version:
- $Id: TableLayout.java 2166 2006-07-18 21:32:16Z carlos $
- Author:
- David Hawkins
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableLayout
public TableLayout(Terminal term)
TableLayout
public TableLayout(Terminal term,
int width)
TableLayout
public TableLayout(Terminal term,
TableColumn[] columns)
TableLayout
public TableLayout(Terminal term,
TableColumn[] columns,
int width)
addEmptyRow
public void addEmptyRow()
add
public void add(String[] row)
add
public void add(String cell1)
- Simple helper function that adds n columns of data.
Easier than passing new String[] { cell1 .. celln }
add
public void add(String cell1,
String cell2)
- Simple helper function that adds n columns of data.
Easier than passing new String[] { cell1 .. celln }
add
public void add(String cell1,
String cell2,
String cell3)
- Simple helper function that adds n columns of data.
Easier than passing new String[] { cell1 .. celln }
getColumn
protected TableColumn getColumn(int index)
getOutput
public String getOutput()
getWidthBeforeColumn
protected int getWidthBeforeColumn(int colIndex)
Copyright © 2011 The Codehaus. All Rights Reserved.