public class DataView extends UIData implements Widget, javax.faces.component.behavior.ClientBehaviorHolder, PrimeClientBehaviorHolder, Pageable
Modifier and Type | Class and Description |
---|---|
static class |
DataView.PropertyKeys |
Modifier and Type | Field and Description |
---|---|
static String |
BUTTON_CLASS |
static String |
BUTTON_CONTAINER_CLASS |
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
CONTENT_CLASS |
static String |
DATAVIEW_CLASS |
static String |
DEFAULT_RENDERER |
static String |
FOOTER_CLASS |
static String |
GRID_LAYOUT_CLASS |
static String |
GRID_LAYOUT_COLUMN_CLASS |
static String |
GRID_LAYOUT_ROW_CLASS |
static String |
HEADER_CLASS |
static String |
LIST_LAYOUT_CLASS |
static String |
LIST_LAYOUT_CONTAINER_CLASS |
static String |
ROW_CLASS |
ARIA_FIRST_PAGE_LABEL, ARIA_HEADER_LABEL, ARIA_LAST_PAGE_LABEL, ARIA_NEXT_PAGE_LABEL, ARIA_PREVIOUS_PAGE_LABEL, PAGINATOR_ACTIVE_PAGE_CLASS, PAGINATOR_BOTTOM_CONTAINER_CLASS, PAGINATOR_BOTTOM_LEFT_CONTENT_CLASS, PAGINATOR_BOTTOM_RIGHT_CONTENT_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_LABEL_CLASS, PAGINATOR_RPP_OPTIONS_CLASS, PAGINATOR_TOP_CONTAINER_CLASS, PAGINATOR_TOP_LEFT_CONTENT_CLASS, PAGINATOR_TOP_RIGHT_CONTENT_CLASS, ROWS_PER_PAGE_LABEL
Constructor and Description |
---|
DataView() |
Modifier and Type | Method and Description |
---|---|
void |
findViewItems() |
Map<String,Class<? extends javax.faces.event.BehaviorEvent>> |
getBehaviorEventMapping() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getGridIcon() |
DataViewGridItem |
getGridItem() |
String |
getLayout() |
String |
getListIcon() |
DataViewListItem |
getListItem() |
String |
getStyle() |
String |
getStyleClass() |
String |
getWidgetVar() |
boolean |
isLayoutRequest(javax.faces.context.FacesContext context) |
boolean |
isPaginationRequest(javax.faces.context.FacesContext context) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
String |
resolveWidgetVar() |
void |
setGridIcon(String _gridIcon) |
void |
setLayout(String _layout) |
void |
setListIcon(String _listIcon) |
void |
setStyle(String _style) |
void |
setStyleClass(String _styleClass) |
void |
setWidgetVar(String _widgetVar) |
calculateFirst, encodeBegin, getClientId, getContainerClientId, getCurrentPageReportTemplate, getDataModel, getIterableChildren, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowIndex, getRowIndexVar, getRowsPerPageLabel, getRowsPerPageTemplate, getRowsToRender, invokeOnComponent, isLazy, isNestedWithinIterator, isPaginator, isPaginatorAlwaysVisible, isRowStatePreserved, markInitialState, preDecode, preEncode, preUpdate, preValidate, process, processChildren, processColumnFacets, processDecodes, processFacets, processPhase, processUpdates, processValidators, requiresColumns, restoreDescendantState, restoreDescendantState, restoreState, saveDescendantState, saveDescendantState, saveState, setCurrentPageReportTemplate, setDataModel, setId, setLazy, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRowIndex, setRowIndexVar, setRowModel, setRowsPerPageLabel, setRowsPerPageTemplate, setRowStatePreserved, shouldSkipChildren, shouldVisitChildren, shouldVisitRows, updatePaginationData, visitColumnContent, visitColumnFacets, visitColumnGroup, visitColumnsAndColumnFacets, visitFacets, visitRows, visitTree
broadcast, createUniqueId, getFirst, getFooter, getHeader, getRowCount, getRowData, getRows, getValue, getVar, isRowAvailable, setFirst, setFooter, setHeader, setRows, setValue, setValueBinding, setValueExpression, setVar
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors, getDefaultEventName
getClientId, getCurrentPageReportTemplate, getFacet, getFirst, getFooter, getHeader, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowCount, getRows, getRowsPerPageLabel, getRowsPerPageTemplate, getRowsToRender, isPaginatorAlwaysVisible
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String DEFAULT_RENDERER
public static final String DATAVIEW_CLASS
public static final String LIST_LAYOUT_CLASS
public static final String GRID_LAYOUT_CLASS
public static final String HEADER_CLASS
public static final String FOOTER_CLASS
public static final String CONTENT_CLASS
public static final String BUTTON_CONTAINER_CLASS
public static final String BUTTON_CLASS
public static final String LIST_LAYOUT_CONTAINER_CLASS
public static final String ROW_CLASS
public static final String GRID_LAYOUT_ROW_CLASS
public static final String GRID_LAYOUT_COLUMN_CLASS
public String getFamily()
getFamily
in class javax.faces.component.UIData
public String getWidgetVar()
public void setWidgetVar(String _widgetVar)
public String getStyle()
public void setStyle(String _style)
public String getStyleClass()
public void setStyleClass(String _styleClass)
public String getLayout()
public void setLayout(String _layout)
public String getGridIcon()
public void setGridIcon(String _gridIcon)
public String getListIcon()
public void setListIcon(String _listIcon)
public Map<String,Class<? extends javax.faces.event.BehaviorEvent>> getBehaviorEventMapping()
getBehaviorEventMapping
in interface PrimeClientBehaviorHolder
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public boolean isLayoutRequest(javax.faces.context.FacesContext context)
public boolean isPaginationRequest(javax.faces.context.FacesContext context)
isPaginationRequest
in class UIData
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class javax.faces.component.UIData
public DataViewGridItem getGridItem()
public DataViewListItem getListItem()
public void findViewItems()
public String resolveWidgetVar()
resolveWidgetVar
in interface Widget
Copyright © 2018. All rights reserved.