public abstract class DataViewColumnBase extends javax.faces.component.UIComponentBase implements IDataViewColumn
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DataViewColumnBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
DataViewColumnBase() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.convert.Converter |
getConverter()
Return the value of the
converter property. |
java.lang.String |
getFamily() |
java.lang.String |
getFooterText()
Return the value of the
footerText property. |
java.lang.String |
getHeaderText()
Return the value of the
headerText property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
ColumnType |
getType()
Return the value of the
type property. |
java.lang.Object |
getValue()
Return the value of the
value property. |
boolean |
isEscape()
Return the value of the
escape property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isSortable()
Return the value of the
sortable property. |
void |
setConverter(javax.faces.convert.Converter converter)
Set the value of the
converter property. |
void |
setEscape(boolean escape)
Set the value of the
escape property. |
void |
setFooterText(java.lang.String footerText)
Set the value of the
footerText property. |
void |
setHeaderText(java.lang.String headerText)
Set the value of the
headerText property. |
void |
setSortable(boolean sortable)
Set the value of the
sortable property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setType(ColumnType type)
Set the value of the
type property. |
void |
setValue(java.lang.Object value)
Set the value of the
value property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setConverter(javax.faces.convert.Converter converter)
Set the value of the converter property.
Contents: Converter instance registered with this component (Only applicable to date columns, must extend DateTimeConverter).
setConverter in interface IDataViewColumnpublic javax.faces.convert.Converter getConverter()
Return the value of the converter property.
Contents: Converter instance registered with this component (Only applicable to date columns, must extend DateTimeConverter).
getConverter in interface IDataViewColumnpublic void setEscape(boolean escape)
Set the value of the escape property.
Contents: Flag indicating that characters that are sensitive in HTML and XML markup must be escaped.
setEscape in interface IDataViewColumnpublic boolean isEscape()
Return the value of the escape property.
Contents: Flag indicating that characters that are sensitive in HTML and XML markup must be escaped. Default = 'true'.
isEscape in interface IDataViewColumnpublic void setFooterText(java.lang.String footerText)
Set the value of the footerText property.
Contents: Define the text to render in the footer of this column.
setFooterText in interface IDataViewColumnpublic java.lang.String getFooterText()
Return the value of the footerText property.
Contents: Define the text to render in the footer of this column.
getFooterText in interface IDataViewColumnpublic void setHeaderText(java.lang.String headerText)
Set the value of the headerText property.
Contents: Define the text to render in the header of this column.
setHeaderText in interface IDataViewColumnpublic java.lang.String getHeaderText()
Return the value of the headerText property.
Contents: Define the text to render in the header of this column.
getHeaderText in interface IDataViewColumnpublic void setSortable(boolean sortable)
Set the value of the sortable property.
Contents: Define if the column is sortable.
setSortable in interface IDataViewColumnpublic boolean isSortable()
Return the value of the sortable property.
Contents: Define if the column is sortable. Default = 'true'.
isSortable in interface IDataViewColumnpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
setStyleClass in interface IDataViewColumnpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface IDataViewColumnpublic void setType(ColumnType type)
Set the value of the type property.
Contents: Define the ColumnType of this column, determining how the 'value' attribute of this component will be rendered. Valid options include : text, bool, date, image. Text will render the String representation of the value object. Bool assumes the value object is a boolean type and renders a checkbox icon. Date assumes the value object is a Date object and renders according to the required f:convertDateTime child component. Image assume the value is a representation of an image URL.
setType in interface IDataViewColumnpublic ColumnType getType()
Return the value of the type property.
Contents: Define the ColumnType of this column, determining how the 'value' attribute of this component will be rendered. Valid options include : text, bool, date, image. Text will render the String representation of the value object. Bool assumes the value object is a boolean type and renders a checkbox icon. Date assumes the value object is a Date object and renders according to the required f:convertDateTime child component. Image assume the value is a representation of an image URL. Default = 'org.icefaces.mobi.component.dataview.ColumnType.text'.
getType in interface IDataViewColumnpublic void setValue(java.lang.Object value)
Set the value of the value property.
Contents: Define a ValueExpression whose resulting Object will be iteratively rendered in the table region of the DataView according to the 'type' of this column.
setValue in interface IDataViewColumnpublic java.lang.Object getValue()
Return the value of the value property.
Contents: Define a ValueExpression whose resulting Object will be iteratively rendered in the table region of the DataView according to the 'type' of this column.
getValue in interface IDataViewColumnprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.