net.sf.tacos.ajax.components.grid
Class GridColumn

java.lang.Object
  extended by net.sf.tacos.ajax.components.grid.GridColumn

public class GridColumn
extends Object

User: pism Date: 17.04.2006 Time: 15:53:31


Field Summary
static String DATE_TYPE
           
static String HTML_TYPE
           
static String NUMBER_TYPE
           
static String STRING_TYPE
           
 
Constructor Summary
GridColumn(String name)
          Minimal Construcror
GridColumn(String name, String displayName, Integer width, boolean sortable, boolean caseSensitive, String dataType, String formatter, String valign, String align, String css)
           
GridColumn(String name, String displayName, Integer width, boolean sortable, boolean caseSensitive, String dataType, String formatter, String valign, String align, String css, boolean hidden)
           
GridColumn(String name, String displayName, Integer width, boolean sortable, boolean caseSensitive, String dataType, String formatter, String valign, String align, String css, boolean hidden, String totalJSfunction)
          Full constructor
GridColumn(String name, String displayName, String dataType)
          Common
 
Method Summary
 String getAlign()
           
 String getCss()
           
 String getDataType()
           
 String getDisplayName()
           
 String getFormatter()
           
 Integer getIndex()
           
 String getName()
           
 String getTotalJSfunction()
           
 String getValign()
           
 Integer getWidth()
           
 boolean isCaseSensitive()
           
 boolean isHidden()
           
 boolean isSortable()
           
 void setHidden(boolean hidden)
           
 void setIndex(Integer index)
           
 void setTotalJSfunction(String totalJSfunction)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STRING_TYPE

public static final String STRING_TYPE
See Also:
Constant Field Values

DATE_TYPE

public static final String DATE_TYPE
See Also:
Constant Field Values

NUMBER_TYPE

public static final String NUMBER_TYPE
See Also:
Constant Field Values

HTML_TYPE

public static final String HTML_TYPE
See Also:
Constant Field Values
Constructor Detail

GridColumn

public GridColumn(String name,
                  String displayName,
                  Integer width,
                  boolean sortable,
                  boolean caseSensitive,
                  String dataType,
                  String formatter,
                  String valign,
                  String align,
                  String css,
                  boolean hidden,
                  String totalJSfunction)
Full constructor

Parameters:
name -
displayName -
width -
sortable -
caseSensitive -
dataType -
formatter -
valign -
align -

GridColumn

public GridColumn(String name,
                  String displayName,
                  Integer width,
                  boolean sortable,
                  boolean caseSensitive,
                  String dataType,
                  String formatter,
                  String valign,
                  String align,
                  String css,
                  boolean hidden)

GridColumn

public GridColumn(String name,
                  String displayName,
                  Integer width,
                  boolean sortable,
                  boolean caseSensitive,
                  String dataType,
                  String formatter,
                  String valign,
                  String align,
                  String css)

GridColumn

public GridColumn(String name)
Minimal Construcror

Parameters:
name -

GridColumn

public GridColumn(String name,
                  String displayName,
                  String dataType)
Common

Parameters:
name -
displayName -
dataType -
Method Detail

getIndex

public Integer getIndex()

setIndex

public void setIndex(Integer index)

getName

public String getName()

getDisplayName

public String getDisplayName()

getWidth

public Integer getWidth()

isSortable

public boolean isSortable()

isCaseSensitive

public boolean isCaseSensitive()

getDataType

public String getDataType()

getFormatter

public String getFormatter()

getValign

public String getValign()

getAlign

public String getAlign()

getCss

public String getCss()

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)

getTotalJSfunction

public String getTotalJSfunction()

setTotalJSfunction

public void setTotalJSfunction(String totalJSfunction)

toString

public String toString()
Overrides:
toString in class Object