public abstract class DataViewBase extends javax.faces.component.UIComponentBase implements IDataView, org.icefaces.ace.api.IceClientBehaviorHolder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DataViewBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
DataViewBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.Integer |
getActiveRowIndex()
Return the value of the
activeRowIndex property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getRowIndexVar()
Return the value of the
rowIndexVar property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.Object |
getValue()
Return the value of the
value property. |
java.lang.String |
getVar()
Return the value of the
var property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isRowStripe()
Return the value of the
rowStripe property. |
boolean |
isRowStroke()
Return the value of the
rowStroke property. |
void |
setActiveRowIndex(java.lang.Integer activeRowIndex)
Set the value of the
activeRowIndex property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setRowIndexVar(java.lang.String rowIndexVar)
Set the value of the
rowIndexVar property. |
void |
setRowStripe(boolean rowStripe)
Set the value of the
rowStripe property. |
void |
setRowStroke(boolean rowStroke)
Set the value of the
rowStroke property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setValue(java.lang.Object value)
Set the value of the
value property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setVar(java.lang.String var)
Set the value of the
var property. |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, 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 setActiveRowIndex(java.lang.Integer activeRowIndex)
Set the value of the activeRowIndex property.
Contents: ActiveRowIndex property allows control of the row object index currently displayed in the detail region. The detail region components instances are not updated until DataView.initDetailContext() is called. initDetailContext is regularly called within the component phase iterations. A value of -1 (or any negative value) is interpreted as no row being active at that moment.
setActiveRowIndex in interface IDataViewpublic java.lang.Integer getActiveRowIndex()
Return the value of the activeRowIndex property.
Contents: ActiveRowIndex property allows control of the row object index currently displayed in the detail region. The detail region components instances are not updated until DataView.initDetailContext() is called. initDetailContext is regularly called within the component phase iterations. A value of -1 (or any negative value) is interpreted as no row being active at that moment.
getActiveRowIndex in interface IDataViewpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
setDisabled in interface IDataViewpublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
isDisabled in interface IDataViewpublic void setRowIndexVar(java.lang.String rowIndexVar)
Set the value of the rowIndexVar property.
Contents: Define the Expression Language variable name to be given to the index of the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.
setRowIndexVar in interface IDataViewpublic java.lang.String getRowIndexVar()
Return the value of the rowIndexVar property.
Contents: Define the Expression Language variable name to be given to the index of the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.
getRowIndexVar in interface IDataViewpublic void setRowStripe(boolean rowStripe)
Set the value of the rowStripe property.
Contents: Renders cell background shading on the odd numbered rows.
setRowStripe in interface IDataViewpublic boolean isRowStripe()
Return the value of the rowStripe property.
Contents: Renders cell background shading on the odd numbered rows.
isRowStripe in interface IDataViewpublic void setRowStroke(boolean rowStroke)
Set the value of the rowStroke property.
Contents: Renders faint bottom border to each row.
setRowStroke in interface IDataViewpublic boolean isRowStroke()
Return the value of the rowStroke property.
Contents: Renders faint bottom border to each row. Default = 'true'.
isRowStroke in interface IDataViewpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
public java.lang.String getStyle()
Return the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
public 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 IDataViewpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface IDataViewpublic void setValue(java.lang.Object value)
Set the value of the value property.
Contents: Define the index-based data model of DataView, currently supported types include List and instances of DataViewLazyDataModel.
public java.lang.Object getValue()
Return the value of the value property.
Contents: Define the index-based data model of DataView, currently supported types include List and instances of DataViewLazyDataModel.
public void setVar(java.lang.String var)
Set the value of the var property.
Contents: Define the Expression Language variable name to be given to the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.
public java.lang.String getVar()
Return the value of the var property.
Contents: Define the Expression Language variable name to be given to the row object during iterative rendering, either in the ValueExpressions of a DataViewColumnModel defining a table cell or within the components of the detail region.
protected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.