|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.rcfaces.core.internal.component.UIData0
org.rcfaces.core.internal.component.UIData2
org.rcfaces.core.internal.component.CameliaDataComponent
org.rcfaces.core.component.AbstractDataComponent
org.rcfaces.core.component.ComponentsListComponent
public class ComponentsListComponent
The componentslist component Shows the components for each data with pagination.
The componentslist Component has the following capabilities :
The default componentsList renderer is link to the f_componentslist javascript class. f_componentslist extends f_component, fa_pagedComponent
Table of component style classes:
| Style Name | Description |
|---|---|
| f_componentslist | Defines styles for the wrapper DIV element. Contains a Table |
| f_componentslist_cell | Defines styles for the wrapper TD element for the row. |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.rcfaces.core.internal.component.UIData2 |
|---|
org.rcfaces.core.internal.component.UIData2.SavedState2 |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaDataComponent |
|---|
engine |
| Fields inherited from class org.rcfaces.core.internal.component.UIData0 |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability |
|---|
NONE_BORDER_TYPE_NAME |
| Fields inherited from interface org.rcfaces.core.component.capability.ISortEventCapability |
|---|
SORT_ALPHA, SORT_ALPHA_IGNORE_CASE, SORT_DATE, SORT_INTEGER, SORT_NUMBER, SORT_SERVER, SORT_TIME |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Fields inherited from interface javax.faces.component.NamingContainer |
|---|
SEPARATOR_CHAR |
| Constructor Summary | |
|---|---|
ComponentsListComponent()
|
|
ComponentsListComponent(String componentId)
|
|
| Method Summary | |
|---|---|
String |
getBorderType()
Returns a string that indicates the type of border the component should show. |
String |
getBorderType(FacesContext facesContext)
See getBorderType() for more details |
protected Set |
getCameliaFields()
|
int |
getColumnNumber()
Returns an int value holding the width of the component in characters : x characters translates into y pixels width. |
int |
getColumnNumber(FacesContext facesContext)
Returns an int value holding the width of the component in characters : x characters translates into y pixels width. |
String |
getColumnStyleClass()
Returns a space-separated list of CSS style class(es) to be applied when this column is rendered. |
String |
getColumnStyleClass(FacesContext facesContext)
Returns a space-separated list of CSS style class(es) to be applied when this column is rendered. |
int |
getHorizontalScrollPosition()
Returns an integer value specifying the position of the horizontal scroolbar (browser dependant). |
int |
getHorizontalScrollPosition(FacesContext facesContext)
See getHorizontalScrollPosition() for more details |
IMenuComponent |
getMenu()
Returns the top-most menu associated to the component. |
IMenuComponent |
getMenu(String menuId)
Returns the menu identified by its id from the menus associated to the component. |
String |
getRowCountVar()
Returns a string value specifying the name of the variable receiving the number of rows. |
String |
getRowCountVar(FacesContext facesContext)
Returns a string value specifying the name of the variable receiving the number of rows. |
String |
getRowIndexVar()
Returns a string value specifying the name of the variable receiving the index of the current row. |
String |
getRowIndexVar(FacesContext facesContext)
Returns a string value specifying the name of the variable receiving the index of the current row. |
String |
getRowStyleClass()
Returns a space-separated list of CSS style class(es) to be applied when the row is rendered. |
String |
getRowStyleClass(FacesContext facesContext)
Returns a space-separated list of CSS style class(es) to be applied when the row is rendered. |
Object |
getShowValue()
|
Object |
getShowValue(FacesContext facesContext)
See getShowValue() for more details |
int |
getVerticalScrollPosition()
Returns an integer value specifying the position of the vertical scroolbar (Browser dependant). |
int |
getVerticalScrollPosition(FacesContext facesContext)
See getVerticalScrollPosition() for more details |
boolean |
isBorder()
Returns a boolean value that indicates if the component should show a border or not. |
boolean |
isBorder(FacesContext facesContext)
See isBorder() for more details |
boolean |
isBorderSetted()
Returns true if the attribute "border" is set. |
boolean |
isBorderTypeSetted()
Returns true if the attribute "borderType" is set. |
boolean |
isColumnNumberSetted()
Returns true if the attribute "columnNumber" is set. |
boolean |
isColumnStyleClassSetted()
Returns true if the attribute "columnStyleClass" is set. |
boolean |
isHorizontalScrollPositionSetted()
Returns true if the attribute "horizontalScrollPosition" is set. |
boolean |
isRowCountVarSetted()
Returns true if the attribute "rowCountVar" is set. |
boolean |
isRowIndexVarSetted()
Returns true if the attribute "rowIndexVar" is set. |
boolean |
isRowStyleClassSetted()
Returns true if the attribute "rowStyleClass" is set. |
boolean |
isShowValueSetted()
Returns true if the attribute "showValue" is set. |
boolean |
isVerticalScrollPositionSetted()
Returns true if the attribute "verticalScrollPosition" is set. |
IMenuIterator |
listMenus()
Returns a list of all the menus associated to the component. |
void |
setBorder(boolean border)
Sets a boolean value that indicates if the component should show a border or not. |
void |
setBorderType(String borderType)
Sets a string that indicates the type of border the component should show. |
void |
setColumnNumber(int columnNumber)
Sets an int value holding the width of the component in characters : x characters translates into y pixels width. |
void |
setColumnStyleClass(String columnStyleClass)
Sets a space-separated list of CSS style class(es) to be applied when this column is rendered. |
void |
setHorizontalScrollPosition(int horizontalScrollPosition)
Sets an integer value specifying the position of the horizontal scroolbar (browser dependant). |
void |
setRowCountVar(String rowCountVar)
Sets a string value specifying the name of the variable receiving the number of rows. |
void |
setRowIndexVar(String rowIndexVar)
Sets a string value specifying the name of the variable receiving the index of the current row. |
void |
setRowStyleClass(String rowStyleClass)
Sets a space-separated list of CSS style class(es) to be applied when the row is rendered. |
void |
setShowValue(Object showValue)
Set the value of the item will be shown. |
void |
setVerticalScrollPosition(int verticalScrollPosition)
Sets an integer value specifying the position of the vertical scroolbar (Browser dependant). |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaDataComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getDataModelValue, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class org.rcfaces.core.internal.component.UIData2 |
|---|
addDecodedIndexes, decodeAdditionalInformation, getFirst, getRowCount, getRowIndex, getRows, isRowAvailable, isSaveCompleteState, iterate, renderColumn, restoreDescendantState, saveDescendantState, setFirst, setRowIndex, setRows, setSaveCompleteState |
| Methods inherited from class org.rcfaces.core.internal.component.UIData0 |
|---|
broadcast, getClientId, getDataModel, getFooter, getHeader, getRowData, getValue, getVar, invokeOnComponent, setDataModel, setFooter, setHeader, setValue, setValueBinding, setVar |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, decode, findComponent, getAttributes, getChildCount, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public ComponentsListComponent()
public ComponentsListComponent(String componentId)
| Method Detail |
|---|
public IMenuComponent getMenu()
IMenuCapability
getMenu in interface IMenuCapabilitypublic IMenuComponent getMenu(String menuId)
IMenuCapability
getMenu in interface IMenuCapabilitymenuId - Id for a particular menu
public IMenuIterator listMenus()
IMenuCapability
listMenus in interface IMenuCapabilitypublic boolean isBorder()
IBorderCapability
isBorder in interface IBorderCapabilitypublic boolean isBorder(FacesContext facesContext)
isBorder() for more details
public final boolean isBorderSetted()
true if the attribute "border" is set.
true if the attribute is set.public void setBorder(boolean border)
IBorderCapability
setBorder in interface IBorderCapabilityborder - booleanpublic String getBorderType()
IBorderTypeCapability
getBorderType in interface IBorderTypeCapabilitypublic String getBorderType(FacesContext facesContext)
getBorderType() for more details
public final boolean isBorderTypeSetted()
true if the attribute "borderType" is set.
true if the attribute is set.public void setBorderType(String borderType)
IBorderTypeCapability
setBorderType in interface IBorderTypeCapabilityborderType - none|solid|relief|flat|roundedpublic int getHorizontalScrollPosition()
IScrollableCapability
getHorizontalScrollPosition in interface IScrollableCapabilitypublic int getHorizontalScrollPosition(FacesContext facesContext)
getHorizontalScrollPosition() for more details
public final boolean isHorizontalScrollPositionSetted()
true if the attribute "horizontalScrollPosition" is set.
true if the attribute is set.public void setHorizontalScrollPosition(int horizontalScrollPosition)
IScrollableCapability
setHorizontalScrollPosition in interface IScrollableCapabilityhorizontalScrollPosition - horizontal scroll positionpublic int getVerticalScrollPosition()
IScrollableCapability
getVerticalScrollPosition in interface IScrollableCapabilitypublic int getVerticalScrollPosition(FacesContext facesContext)
getVerticalScrollPosition() for more details
public final boolean isVerticalScrollPositionSetted()
true if the attribute "verticalScrollPosition" is set.
true if the attribute is set.public void setVerticalScrollPosition(int verticalScrollPosition)
IScrollableCapability
setVerticalScrollPosition in interface IScrollableCapabilityverticalScrollPosition - vertical scroll positionpublic Object getShowValue()
getShowValue in interface IShowValueCapabilitypublic Object getShowValue(FacesContext facesContext)
getShowValue() for more details
public final boolean isShowValueSetted()
true if the attribute "showValue" is set.
true if the attribute is set.public void setShowValue(Object showValue)
IShowValueCapability
setShowValue in interface IShowValueCapabilityshowValue - The value of the itempublic String getRowCountVar()
public String getRowCountVar(FacesContext facesContext)
public void setRowCountVar(String rowCountVar)
rowCountVar - variable namepublic boolean isRowCountVarSetted()
true if the attribute "rowCountVar" is set.
true if the attribute is set.public String getRowIndexVar()
public String getRowIndexVar(FacesContext facesContext)
public void setRowIndexVar(String rowIndexVar)
rowIndexVar - variable namepublic boolean isRowIndexVarSetted()
true if the attribute "rowIndexVar" is set.
true if the attribute is set.public int getColumnNumber()
public int getColumnNumber(FacesContext facesContext)
public void setColumnNumber(int columnNumber)
columnNumber - width in characterspublic boolean isColumnNumberSetted()
true if the attribute "columnNumber" is set.
true if the attribute is set.public String getRowStyleClass()
public String getRowStyleClass(FacesContext facesContext)
public void setRowStyleClass(String rowStyleClass)
rowStyleClass - list of CSS style classespublic boolean isRowStyleClassSetted()
true if the attribute "rowStyleClass" is set.
true if the attribute is set.public String getColumnStyleClass()
public String getColumnStyleClass(FacesContext facesContext)
public void setColumnStyleClass(String columnStyleClass)
columnStyleClass - list of CSS style classespublic boolean isColumnStyleClassSetted()
true if the attribute "columnStyleClass" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractDataComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||