org.primefaces.component.sheet
Class Sheet

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.sheet.Sheet
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, 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, Widget

public class Sheet
extends UIData
implements Widget, javax.faces.component.behavior.ClientBehaviorHolder


Nested Class Summary
protected static class Sheet.PropertyKeys
           
 
Field Summary
static String BODY_CLASS
           
static String CAPTION_CLASS
           
static String CELL_CLASS
           
static String CELL_DISPLAY_CLASS
           
static String CELL_EDIT_CLASS
           
static String CELL_INFO_CLASS
           
static String COLUMN_HEADER_CLASS
           
 List<Column> columns
           
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String CONTAINER_CLASS
           
static String EDITOR_BAR_CLASS
           
static String EDITOR_CLASS
           
static String HEADER_BOX_CLASS
           
static String HEADER_CLASS
           
static String INDEX_CELL_CLASS
           
static String[] LETTERS
           
static String ROW_CLASS
           
static String SORTABLE_COLUMN
           
static String SORTABLE_COLUMN_ICON
           
 
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
Sheet()
           
 
Method Summary
 Column findColumn(String clientId)
           
 List<Column> getColumns()
           
protected  javax.faces.context.FacesContext getFacesContext()
           
 String getFamily()
           
 int getScrollHeight()
           
 int getScrollWidth()
           
 String getStyle()
           
 String getStyleClass()
           
 String getWidgetVar()
           
 void handleAttribute(String name, Object value)
           
 boolean isColResizeRequest(javax.faces.context.FacesContext context)
           
 boolean isSortingRequest(javax.faces.context.FacesContext context)
           
 String resolveWidgetVar()
           
 void setScrollHeight(int _scrollHeight)
           
 void setScrollWidth(int _scrollWidth)
           
 void setStyle(String _style)
           
 void setStyleClass(String _styleClass)
           
 void setWidgetVar(String _widgetVar)
           
 void syncColumnWidths()
           
 
Methods inherited from class org.primefaces.component.api.UIData
calculatePage, getClientId, getContainerClientId, getCurrentPageReportTemplate, getDataModel, getPage, getPageCount, getPageLinks, getPaginatorPosition, getPaginatorTemplate, getRowIndex, getRowIndexVar, getRowsPerPageTemplate, getRowsToRender, isLazy, isPaginationRequest, isPaginator, isPaginatorAlwaysVisible, process, processChildren, processChildrenFacets, processDecodes, processFacets, processPhase, processUpdates, processValidators, restoreDescendantState, restoreDescendantState, saveDescendantState, saveDescendantState, setCurrentPageReportTemplate, setDataModel, setId, setLazy, setPageLinks, setPaginator, setPaginatorAlwaysVisible, setPaginatorPosition, setPaginatorTemplate, setRowIndex, setRowIndexVar, setRowModel, setRowsPerPageTemplate, shouldProcessChildren, shouldVisitChildren, shouldVisitRows, updatePaginationData, visitChildrenFacets, 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, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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 javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
 

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

CONTAINER_CLASS

public static final String CONTAINER_CLASS
See Also:
Constant Field Values

CAPTION_CLASS

public static final String CAPTION_CLASS
See Also:
Constant Field Values

HEADER_CLASS

public static final String HEADER_CLASS
See Also:
Constant Field Values

HEADER_BOX_CLASS

public static final String HEADER_BOX_CLASS
See Also:
Constant Field Values

BODY_CLASS

public static final String BODY_CLASS
See Also:
Constant Field Values

CELL_CLASS

public static final String CELL_CLASS
See Also:
Constant Field Values

ROW_CLASS

public static final String ROW_CLASS
See Also:
Constant Field Values

COLUMN_HEADER_CLASS

public static final String COLUMN_HEADER_CLASS
See Also:
Constant Field Values

CELL_DISPLAY_CLASS

public static final String CELL_DISPLAY_CLASS
See Also:
Constant Field Values

CELL_EDIT_CLASS

public static final String CELL_EDIT_CLASS
See Also:
Constant Field Values

INDEX_CELL_CLASS

public static final String INDEX_CELL_CLASS
See Also:
Constant Field Values

EDITOR_BAR_CLASS

public static final String EDITOR_BAR_CLASS
See Also:
Constant Field Values

CELL_INFO_CLASS

public static final String CELL_INFO_CLASS
See Also:
Constant Field Values

EDITOR_CLASS

public static final String EDITOR_CLASS
See Also:
Constant Field Values

SORTABLE_COLUMN

public static final String SORTABLE_COLUMN
See Also:
Constant Field Values

SORTABLE_COLUMN_ICON

public static final String SORTABLE_COLUMN_ICON
See Also:
Constant Field Values

LETTERS

public static final String[] LETTERS

columns

public List<Column> columns
Constructor Detail

Sheet

public Sheet()
Method Detail

getFamily

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

getWidgetVar

public String getWidgetVar()

setWidgetVar

public void setWidgetVar(String _widgetVar)

getScrollHeight

public int getScrollHeight()

setScrollHeight

public void setScrollHeight(int _scrollHeight)

getScrollWidth

public int getScrollWidth()

setScrollWidth

public void setScrollWidth(int _scrollWidth)

getStyle

public String getStyle()

setStyle

public void setStyle(String _style)

getStyleClass

public String getStyleClass()

setStyleClass

public void setStyleClass(String _styleClass)

isSortingRequest

public boolean isSortingRequest(javax.faces.context.FacesContext context)

findColumn

public Column findColumn(String clientId)

getColumns

public List<Column> getColumns()

isColResizeRequest

public boolean isColResizeRequest(javax.faces.context.FacesContext context)

syncColumnWidths

public void syncColumnWidths()

getFacesContext

protected javax.faces.context.FacesContext getFacesContext()
Overrides:
getFacesContext in class javax.faces.component.UIComponentBase

resolveWidgetVar

public String resolveWidgetVar()
Specified by:
resolveWidgetVar in interface Widget

handleAttribute

public void handleAttribute(String name,
                            Object value)


Copyright © 2012. All Rights Reserved.