public class UICellExcel extends org.jboss.seam.excel.ui.UICell
org.jboss.seam.excel.ui.UICell.CellType
org.jboss.seam.excel.WorksheetItem.ItemType
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_CHARACTER_ENCODING |
static String |
DEFAULT_CONTENT_TYPE |
COMPONENT_TYPE
Constructor and Description |
---|
UICellExcel() |
Modifier and Type | Method and Description |
---|---|
static String |
cmp2String(FacesContext facesContext,
UIComponent component)
Helper method for rendering a component (usually on a facescontext with
a caching reponsewriter)
|
String |
getForceType()
Returns the force type attribute, used to force cell type to "date" or
"number" for instance.
|
String |
getStyle()
Returns the style attribute, used to format cells with a specific
forceType . |
Object |
getValue() |
void |
restoreState(FacesContext context,
Object state) |
Object |
saveState(FacesContext context) |
void |
setForceType(String forceType) |
void |
setStyle(String style) |
void |
setValue(Object value) |
getColumn, getDataType, getFamily, getItemType, getRow, setColumn, setRow
getComment, getCommentHeight, getCommentWidth, setComment, setCommentHeight, setCommentWidth
getChildrenOfType, getStyleClass, setStyleClass
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String DEFAULT_CONTENT_TYPE
public static final String DEFAULT_CHARACTER_ENCODING
public Object getValue()
getValue
in class org.jboss.seam.excel.ui.UICell
public void setValue(Object value)
setValue
in class org.jboss.seam.excel.ui.UICell
public static String cmp2String(FacesContext facesContext, UIComponent component) throws IOException
facesContext
- The faces context to render tocomponent
- The component to renderIOException
- If the JSF helper class can't render the componentpublic String getStyle()
forceType
. Sample value for dates formatting: "xls-format-mask:
#{nxu:basicDateFormatter()};".getStyle
in class org.jboss.seam.excel.ui.ExcelComponent
public void setStyle(String style)
setStyle
in class org.jboss.seam.excel.ui.ExcelComponent
public String getForceType()
public void setForceType(String forceType)
public void restoreState(FacesContext context, Object state)
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
public Object saveState(FacesContext context)
saveState
in interface StateHolder
saveState
in class UIComponentBase
Copyright © 2013 Nuxeo SA. All Rights Reserved.