henplus.view
Class ColumnMetaData

java.lang.Object
  extended by henplus.view.ColumnMetaData

public final class ColumnMetaData
extends Object

own wrapper for the column meta data.


Field Summary
static int ALIGN_CENTER
           
static int ALIGN_LEFT
           
static int ALIGN_RIGHT
           
 
Constructor Summary
ColumnMetaData(String header)
           
ColumnMetaData(String header, int align)
           
ColumnMetaData(String header, int align, int autoWrap)
          publically available constructor for the user.
 
Method Summary
 boolean doDisplay()
           
 int getAlignment()
           
 int getAutoWrap()
           
 void resetWidth()
           
 void setAutoWrap(int col)
           
 void setDisplay(boolean val)
          set, whether a specific column should be displayed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIGN_LEFT

public static final int ALIGN_LEFT
See Also:
Constant Field Values

ALIGN_CENTER

public static final int ALIGN_CENTER
See Also:
Constant Field Values

ALIGN_RIGHT

public static final int ALIGN_RIGHT
See Also:
Constant Field Values
Constructor Detail

ColumnMetaData

public ColumnMetaData(String header,
                      int align)

ColumnMetaData

public ColumnMetaData(String header,
                      int align,
                      int autoWrap)
publically available constructor for the user.


ColumnMetaData

public ColumnMetaData(String header)
Method Detail

resetWidth

public void resetWidth()

setDisplay

public void setDisplay(boolean val)
set, whether a specific column should be displayed.


doDisplay

public boolean doDisplay()

setAutoWrap

public void setAutoWrap(int col)

getAutoWrap

public int getAutoWrap()

getAlignment

public int getAlignment()


? 1997..2006 Henner Zeller