FileDocCategorySizeDatePackage
WebTableColumn.javaAPI DocExample2260Mon Jul 23 13:26:34 BST 2007org.apache.struts2.components.table

WebTableColumn

public class WebTableColumn extends Object

Fields Summary
private static final org.apache.struts2.components.table.renderer.CellRenderer
DEFAULT_RENDERER
org.apache.struts2.components.table.renderer.CellRenderer
_renderer
String
_displayName
String
_name
boolean
_hidden
int
_offset
Constructors Summary
public WebTableColumn(String name, int offset)



         
        _name = name;
        _offset = offset;
        _displayName = name;
        _renderer = DEFAULT_RENDERER;
    
Methods Summary
public java.lang.StringgetDisplayName()

        return (_displayName);
    
public java.lang.StringgetName()

        return (_name);
    
public intgetOffset()

        return (_offset);
    
public org.apache.struts2.components.table.renderer.CellRenderergetRenderer()

        return (_renderer);
    
public booleanisHidden()

        return _hidden;
    
public booleanisVisible()

        return !isHidden();
    
public voidsetDisplayName(java.lang.String displayName)

        _displayName = displayName;
    
public voidsetHidden(boolean hidden)

        _hidden = hidden;
    
public voidsetRenderer(org.apache.struts2.components.table.renderer.CellRenderer renderer)

        _renderer = renderer;