org.primefaces.component.columns
Class Columns

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIData
              extended by org.primefaces.component.api.UIData
                  extended by org.primefaces.component.columns.Columns
All Implemented Interfaces:
EventListener, javax.faces.component.NamingContainer, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.UniqueIdVendor, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, UIColumn

public class Columns
extends UIData
implements UIColumn


Nested Class Summary
protected static class Columns.PropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.primefaces.component.api.UIData
PAGINATOR_ACTIVE_PAGE_CLASS, PAGINATOR_BOTTOM_CONTAINER_CLASS, PAGINATOR_CURRENT_CLASS, PAGINATOR_FIRST_PAGE_ICON_CLASS, PAGINATOR_FIRST_PAGE_LINK_CLASS, PAGINATOR_JTP_CLASS, PAGINATOR_LAST_PAGE_ICON_CLASS, PAGINATOR_LAST_PAGE_LINK_CLASS, PAGINATOR_NEXT_PAGE_ICON_CLASS, PAGINATOR_NEXT_PAGE_LINK_CLASS, PAGINATOR_PAGE_CLASS, PAGINATOR_PAGES_CLASS, PAGINATOR_PREV_PAGE_ICON_CLASS, PAGINATOR_PREV_PAGE_LINK_CLASS, PAGINATOR_RPP_OPTIONS_CLASS, PAGINATOR_TOP_CONTAINER_CLASS
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface javax.faces.component.NamingContainer
SEPARATOR_CHAR
 
Constructor Summary
Columns()
           
 
Method Summary
 CellEditor getCellEditor()
           
 int getColspan()
           
 String getColumnIndexVar()
           
 String getColumnKey()
           
 String getFamily()
           
 Object getFilterBy()
           
 String getFilterMatchMode()
           
 int getFilterMaxLength()
           
 Object getFilterOptions()
           
 String getFilterPosition()
           
 String getFilterStyle()
           
 String getFilterStyleClass()
           
 String getFooterText()
           
 String getHeaderText()
           
 int getRowspan()
           
 String getSelectionMode()
           
 Object getSortBy()
           
 javax.el.MethodExpression getSortFunction()
           
 String getStyle()
           
 String getStyleClass()
           
 String getWidth()
           
 boolean isDisabledSelection()
           
 boolean isDynamic()
           
 boolean isExportable()
           
 boolean isResizable()
           
 void setColspan(int _colspan)
           
 void setColumnIndexVar(String _columnIndexVar)
           
 void setExportable(boolean _exportable)
           
 void setFilterBy(Object _filterBy)
           
 void setFilterMatchMode(String _filterMatchMode)
           
 void setFilterMaxLength(int _filterMaxLength)
           
 void setFilterOptions(Object _filterOptions)
           
 void setFilterPosition(String _filterPosition)
           
 void setFilterStyle(String _filterStyle)
           
 void setFilterStyleClass(String _filterStyleClass)
           
 void setFooterText(String _footerText)
           
 void setHeaderText(String _headerText)
           
 void setResizable(boolean _resizable)
           
 void setRowspan(int _rowspan)
           
 void setSortBy(Object _sortBy)
           
 void setSortFunction(javax.el.MethodExpression _sortFunction)
           
 void setStyle(String _style)
           
 void setStyleClass(String _styleClass)
           
 void setWidth(String _width)
           
 
Methods inherited from class org.primefaces.component.api.UIData
calculateFirst, getClientId, getContainerClientId, getCurrentPageReportTemplate, getDataModel, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowIndex, getRowIndexVar, getRowsPerPageTemplate, getRowsToRender, isLazy, isPaginationRequest, isPaginator, isPaginatorAlwaysVisible, process, processChildren, processColumnFacets, processDecodes, processFacets, processPhase, processUpdates, processValidators, requiresColumns, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setCurrentPageReportTemplate, setDataModel, setId, setLazy, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRowIndex, setRowIndexVar, setRowModel, setRowsPerPageTemplate, shouldProcessChildren, shouldVisitChildren, shouldVisitRows, updatePaginationData, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows, visitTree
 
Methods inherited from class javax.faces.component.UIData
broadcast, createUniqueId, encodeBegin, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getValue, getVar, invokeOnComponent, isRowAvailable, isRowStatePreserved, markInitialState, queueEvent, restoreState, saveState, setFirst, setFooter, setHeader, setRows, setRowStatePreserved, setValue, setValueBinding, setValueExpression, setVar
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.primefaces.component.api.UIColumn
encodeAll, getChildren, getClientId, getClientId, getContainerClientId, getFacet, getValueExpression, isRendered
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

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

Columns

public Columns()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class javax.faces.component.UIData

getSortBy

public Object getSortBy()
Specified by:
getSortBy in interface UIColumn

setSortBy

public void setSortBy(Object _sortBy)

getStyle

public String getStyle()
Specified by:
getStyle in interface UIColumn

setStyle

public void setStyle(String _style)

getStyleClass

public String getStyleClass()
Specified by:
getStyleClass in interface UIColumn

setStyleClass

public void setStyleClass(String _styleClass)

getSortFunction

public javax.el.MethodExpression getSortFunction()
Specified by:
getSortFunction in interface UIColumn

setSortFunction

public void setSortFunction(javax.el.MethodExpression _sortFunction)

getFilterBy

public Object getFilterBy()
Specified by:
getFilterBy in interface UIColumn

setFilterBy

public void setFilterBy(Object _filterBy)

getFilterStyle

public String getFilterStyle()
Specified by:
getFilterStyle in interface UIColumn

setFilterStyle

public void setFilterStyle(String _filterStyle)

getFilterStyleClass

public String getFilterStyleClass()
Specified by:
getFilterStyleClass in interface UIColumn

setFilterStyleClass

public void setFilterStyleClass(String _filterStyleClass)

getFilterOptions

public Object getFilterOptions()
Specified by:
getFilterOptions in interface UIColumn

setFilterOptions

public void setFilterOptions(Object _filterOptions)

getFilterMatchMode

public String getFilterMatchMode()
Specified by:
getFilterMatchMode in interface UIColumn

setFilterMatchMode

public void setFilterMatchMode(String _filterMatchMode)

getFilterPosition

public String getFilterPosition()
Specified by:
getFilterPosition in interface UIColumn

setFilterPosition

public void setFilterPosition(String _filterPosition)

getRowspan

public int getRowspan()
Specified by:
getRowspan in interface UIColumn

setRowspan

public void setRowspan(int _rowspan)

getColspan

public int getColspan()
Specified by:
getColspan in interface UIColumn

setColspan

public void setColspan(int _colspan)

getHeaderText

public String getHeaderText()
Specified by:
getHeaderText in interface UIColumn

setHeaderText

public void setHeaderText(String _headerText)

getFooterText

public String getFooterText()
Specified by:
getFooterText in interface UIColumn

setFooterText

public void setFooterText(String _footerText)

getFilterMaxLength

public int getFilterMaxLength()
Specified by:
getFilterMaxLength in interface UIColumn

setFilterMaxLength

public void setFilterMaxLength(int _filterMaxLength)

isResizable

public boolean isResizable()
Specified by:
isResizable in interface UIColumn

setResizable

public void setResizable(boolean _resizable)

isExportable

public boolean isExportable()
Specified by:
isExportable in interface UIColumn

setExportable

public void setExportable(boolean _exportable)

getWidth

public String getWidth()
Specified by:
getWidth in interface UIColumn

setWidth

public void setWidth(String _width)

getSelectionMode

public String getSelectionMode()
Specified by:
getSelectionMode in interface UIColumn

isDisabledSelection

public boolean isDisabledSelection()
Specified by:
isDisabledSelection in interface UIColumn

getCellEditor

public CellEditor getCellEditor()
Specified by:
getCellEditor in interface UIColumn

isDynamic

public boolean isDynamic()
Specified by:
isDynamic in interface UIColumn

getColumnIndexVar

public String getColumnIndexVar()

setColumnIndexVar

public void setColumnIndexVar(String _columnIndexVar)

getColumnKey

public String getColumnKey()
Specified by:
getColumnKey in interface UIColumn


Copyright © 2013. All rights reserved.