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 StringCOMPONENT_TYPE
static StringNEWSPAPER_COLUMNS_PROPERTY
the property names
static StringRENDERER_TYPE
the component's renderers and type
static StringSPACER_FACET_NAME
Constructor Summary
HtmlNewspaperTable()
Method Summary
intgetNewspaperColumns()
Set the number of columns the table will be divided over.
UIComponentgetSpacer()
Gets the spacer facet, between each pair of newspaper columns.
voidrestoreState(FacesContext context, Object state)
ObjectsaveState(FacesContext context)
voidsetNewspaperColumns(int newspaperColumns)
voidsetSpacer(UIComponent spacer)

Field Detail

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 Detail

HtmlNewspaperTable

public HtmlNewspaperTable()

Method Detail

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)