org.codehaus.mojo.pomtools.console.toolkit.widgets
Class TableColumn

java.lang.Object
  extended by org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn

public class TableColumn
extends java.lang.Object

Version:
$Id: TableColumn.java 2166 2006-07-18 21:32:16Z carlos $
Author:
David Hawkins

Field Summary
static org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment ALIGN_LEFT
           
static TableColumn ALIGN_LEFT_COLUMN
           
static org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment ALIGN_RIGHT
           
static TableColumn ALIGN_RIGHT_COLUMN
           
static org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle BOLD
           
static org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment DEFAULT_ALIGN
           
static boolean DEFAULT_WRAP
           
static org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle UNDERLINE
           
 
Constructor Summary
TableColumn()
           
TableColumn(int fixedWidth)
           
TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment)
           
TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment, int fixedWidth)
           
TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment, org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle textStyle)
           
 
Method Summary
 org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment getAlignment()
           
 int getFixedWidth()
           
 int getMaxWidth()
           
 org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle getTextStyle()
           
 boolean isWrap()
           
 TableColumn setFixedWidth(int columnWidth)
           
 void setMaxWidth(int maxWidth)
           
 void setTextStyle(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle textStyle)
           
 TableColumn setWrap(boolean wrapColumn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOLD

public static final org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle BOLD

UNDERLINE

public static final org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle UNDERLINE

ALIGN_LEFT

public static final org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment ALIGN_LEFT

ALIGN_RIGHT

public static final org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment ALIGN_RIGHT

DEFAULT_ALIGN

public static final org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment DEFAULT_ALIGN

ALIGN_LEFT_COLUMN

public static final TableColumn ALIGN_LEFT_COLUMN

ALIGN_RIGHT_COLUMN

public static final TableColumn ALIGN_RIGHT_COLUMN

DEFAULT_WRAP

public static final boolean DEFAULT_WRAP
See Also:
Constant Field Values
Constructor Detail

TableColumn

public TableColumn()

TableColumn

public TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment)

TableColumn

public TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment,
                   org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle textStyle)

TableColumn

public TableColumn(int fixedWidth)

TableColumn

public TableColumn(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment alignment,
                   int fixedWidth)
Method Detail

getTextStyle

public org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle getTextStyle()

setTextStyle

public void setTextStyle(org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.TextStyle textStyle)

getAlignment

public org.codehaus.mojo.pomtools.console.toolkit.widgets.TableColumn.Alignment getAlignment()

getFixedWidth

public int getFixedWidth()

setFixedWidth

public TableColumn setFixedWidth(int columnWidth)

isWrap

public boolean isWrap()

setWrap

public TableColumn setWrap(boolean wrapColumn)

getMaxWidth

public int getMaxWidth()

setMaxWidth

public void setMaxWidth(int maxWidth)


Copyright © 2010 The Codehaus. All Rights Reserved.