org.apache.myfaces.custom.newspaper

Class HtmlNewspaperTable


public class HtmlNewspaperTable
extends HtmlDataTable

Model for a table in multiple balanced columns.
Author:
Jesse Wilson

Field Summary

static String
COMPONENT_TYPE
static String
NEWSPAPER_COLUMNS_PROPERTY
the property names
static String
RENDERER_TYPE
the component's renderers and type
static String
SPACER_FACET_NAME

Constructor Summary

HtmlNewspaperTable()

Method Summary

int
getNewspaperColumns()
Set the number of columns the table will be divided over.
UIComponent
getSpacer()
Gets the spacer facet, between each pair of newspaper columns.
void
restoreState(FacesContext context, Object state)
Object
saveState(FacesContext context)
void
setNewspaperColumns(int newspaperColumns)
void
setSpacer(UIComponent spacer)

Field Details

COMPONENT_TYPE

public static final String COMPONENT_TYPE

NEWSPAPER_COLUMNS_PROPERTY

public static final String NEWSPAPER_COLUMNS_PROPERTY
the property names

RENDERER_TYPE

public static final String RENDERER_TYPE
the component's renderers and type

SPACER_FACET_NAME

public static final String SPACER_FACET_NAME

Constructor Details

HtmlNewspaperTable

public HtmlNewspaperTable()

Method Details

getNewspaperColumns

public int getNewspaperColumns()
Set the number of columns the table will be divided over.

getSpacer

public UIComponent getSpacer()
Gets the spacer facet, between each pair of newspaper columns.

restoreState

public void restoreState(FacesContext context,
                         Object state)

saveState

public Object saveState(FacesContext context)

setNewspaperColumns

public void setNewspaperColumns(int newspaperColumns)

setSpacer

public void setSpacer(UIComponent spacer)