|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIData
javax.faces.component.html.HtmlDataTable
org.apache.myfaces.custom.newspaper.AbstractHtmlNewspaperTable
public abstract class AbstractHtmlNewspaperTable
Model for a table in multiple balanced columns. The newspaperTable tag allows a long, narrow table to be wrapped so that it becomes a short, wide table. This allows more information to be shown on a single screen. This is commonly used to present checkboxes for a long list of items. A data table for rendering long skinny tables as short wide table by wrapping the table over a specified number of columns. Unless otherwise specified, all attributes accept static values or EL expressions.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlDataTable |
---|
javax.faces.component.html.HtmlDataTable.PropertyKeys |
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
static java.lang.String |
DEFAULT_RENDERER_TYPE
the component's renderers and type |
static java.lang.String |
NEWSPAPER_COLUMNS_PROPERTY
the property names |
static java.lang.String |
SPACER_FACET_NAME
|
Fields inherited from class javax.faces.component.html.HtmlDataTable |
---|
COMPONENT_FAMILY |
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
AbstractHtmlNewspaperTable()
|
Method Summary | |
---|---|
abstract int |
getNewspaperColumns()
Set the number of columns the table will be divided over. |
abstract java.lang.String |
getNewspaperOrientation()
The orientation of the newspaper columns in the newspaper table - "horizontal" or "vertical". |
javax.faces.component.UIComponent |
getSpacer()
Gets the spacer facet, between each pair of newspaper columns. |
void |
setSpacer(javax.faces.component.UIComponent spacer)
|
Methods inherited from class javax.faces.component.html.HtmlDataTable |
---|
getBgcolor, getBodyrows, getBorder, getCaptionClass, getCaptionStyle, getCellpadding, getCellspacing, getColumnClasses, getDir, getEventNames, getFamily, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, setBodyrows, setBorder, setCaptionClass, setCaptionStyle, setCellpadding, setCellspacing, setColumnClasses, setDir, setFooterClass, setFrame, setHeaderClass, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRowClasses, setRules, setStyle, setStyleClass, setSummary, setTitle, setWidth |
Methods inherited from class javax.faces.component.UIData |
---|
broadcast, createUniqueId, encodeBegin, encodeEnd, getContainerClientId, getDataModel, getFirst, getFooter, getHeader, getRowCount, getRowData, getRowIndex, getRows, getValue, getVar, invokeOnComponent, isRowAvailable, processDecodes, processUpdates, processValidators, queueEvent, setDataModel, setFirst, setFooter, setHeader, setRowIndex, setRows, setValue, setValueExpression, setVar, visitTree |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.myfaces.component.AlignProperty |
---|
getAlign |
Methods inherited from interface org.apache.myfaces.component.DataProperties |
---|
getDatafld, getDataformatas, getDatasrc |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
---|
addClientBehavior, getClientBehaviors, getDefaultEventName |
Field Detail |
---|
public static final java.lang.String DEFAULT_RENDERER_TYPE
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String NEWSPAPER_COLUMNS_PROPERTY
public static final java.lang.String SPACER_FACET_NAME
Constructor Detail |
---|
public AbstractHtmlNewspaperTable()
Method Detail |
---|
public abstract int getNewspaperColumns()
public abstract java.lang.String getNewspaperOrientation()
public javax.faces.component.UIComponent getSpacer()
public void setSpacer(javax.faces.component.UIComponent spacer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |