|
||||||||||
| 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.ComponentsGridComponent
public class ComponentsGridComponent
The componentGrid Component is a grid component. It can be compared to the grid found in the list part of the modern file explorer. It allows sorts, resizing, contextual menus ...
The componentGrid Component is an evolution of dataGrid component. This component is a component container, it allows to:
The default componentsGrid renderer is link to the f_componentsGrid javascript class. f_componentsGrid extends f_grid
Table of component style classes:
| Style Name | Description |
|---|---|
| f_componentsGrid | Defines styles for the wrapper DIV element. Contains f_grid styles. |
| 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.ISelectionCardinalityCapability |
|---|
DEFAULT_CARDINALITY |
| Fields inherited from interface org.rcfaces.core.component.capability.IClientFullStateCapability |
|---|
DEFAULT_CLIENT_FULL_STATE, FALSE_CLIENT_FULL_STATE, NONE_CLIENT_FULL_STATE, ONEWAY_CLIENT_FULL_STATE, TRUE_CLIENT_FULL_STATE, TWOWAYS_CLIENT_FULL_STATE |
| Fields inherited from interface org.rcfaces.core.component.capability.IAdditionalInformationCardinalityCapability |
|---|
DEFAULT_CARDINALITY |
| Fields inherited from interface org.rcfaces.core.component.capability.ICardinality |
|---|
ONE_CARDINALITY, ONEMANY_CARDINALITY, OPTIONAL_CARDINALITY, ZEROMANY_CARDINALITY |
| 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 | |
|---|---|
ComponentsGridComponent()
|
|
ComponentsGridComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addAdditionalInformationListener(IAdditionalInformationListener listener)
Adds a listener to the component for the additional event |
void |
addDoubleClickListener(IDoubleClickListener listener)
Adds a listener to the component for the doubleClick event |
void |
addLoadListener(ILoadListener listener)
Adds a listener to the component for the load event |
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
void |
deselect(int index)
|
void |
deselect(int[] indices)
|
void |
deselect(int start,
int end)
|
void |
deselect(Object rowValue)
|
void |
deselectAll()
|
int |
getAdditionalInformationCardinality()
Returns an int value indicating the cardinality (number of additional-informations allowed) for this component. |
int |
getAdditionalInformationCardinality(FacesContext facesContext)
See getAdditionalInformationCardinality() for more details |
Object |
getAdditionalInformationValues()
|
Object |
getAdditionalInformationValues(FacesContext facesContext)
|
int |
getAdditionalInformationValuesCount()
|
Class |
getAdditionalInformationValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
protected Set |
getCameliaFields()
|
int |
getClientAdditionalInformationFullState()
Returns an integer value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
int |
getClientAdditionalInformationFullState(FacesContext facesContext)
See getClientAdditionalInformationFullState() for more details |
int |
getClientSelectionFullState()
Returns a boolean value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
int |
getClientSelectionFullState(FacesContext facesContext)
See getClientSelectionFullState() for more details |
org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType |
getComponentValueType()
|
String |
getEmptyDataMessage()
Returns a string containing the message shown when there is no result. |
String |
getEmptyDataMessage(FacesContext facesContext)
See getEmptyDataMessage() for more details |
Object |
getFirstAdditionalInformationValue()
|
Object |
getFirstSelectedValue()
|
ComponentsColumnComponent |
getFirstSortedColumn()
|
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. |
UIComponent[] |
getOrderedChildren()
Returns a list of the columns' id which represents their order from left to right. |
IComponentPreferences |
getPreferences()
Returns an object that holds the preferences for the component. |
IComponentPreferences |
getPreferences(FacesContext facesContext)
See getPreferences() for more details |
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()
|
String |
getRowStyleClass(FacesContext facesContext)
See getRowStyleClass() for more details |
String |
getRowValue()
|
String |
getRowValue(FacesContext facesContext)
|
Converter |
getRowValueConverter()
|
Converter |
getRowValueConverter(FacesContext facesContext)
|
Object |
getSelectedValues()
|
Object |
getSelectedValues(FacesContext facesContext)
|
int |
getSelectedValuesCount()
|
Class |
getSelectedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
int |
getSelectionCardinality()
Returns an int value specifying the type of multiple selection authorized. cf. |
int |
getSelectionCardinality(FacesContext facesContext)
See getSelectionCardinality() for more details |
Object |
getShowValue()
|
Object |
getShowValue(FacesContext facesContext)
See getShowValue() for more details |
UIComponent[] |
getSortedChildren()
Returns a string value giving the ordered list of the sorted components. |
ComponentsColumnComponent[] |
getSortedColumns()
|
int |
getVerticalScrollPosition()
Returns an integer value specifying the position of the vertical scroolbar (Browser dependant). |
int |
getVerticalScrollPosition(FacesContext facesContext)
See getVerticalScrollPosition() for more details |
void |
hideAdditionalInformation(int index)
|
void |
hideAdditionalInformation(int[] indexes)
|
void |
hideAdditionalInformation(Object rowValue)
|
void |
hideAllAdditionalInformations()
|
boolean |
isAdditionalInformationCardinalitySetted()
Returns true if the attribute "additionalInformationCardinality" is set. |
boolean |
isAdditionalInformationValuesSetted()
Returns true if the attribute "additionalInformationValues" is set. |
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 |
isCellTextWrap()
|
boolean |
isCellTextWrap(FacesContext facesContext)
|
boolean |
isCellTextWrapSetted()
Returns true if the attribute "cellTextWrap" is set. |
boolean |
isClientAdditionalInformationFullStateSetted()
Returns true if the attribute "clientAdditionalInformationFullState" is set. |
boolean |
isClientSelectionFullStateSetted()
Returns true if the attribute "clientSelectionFullState" is set. |
boolean |
isEmptyDataMessageSetted()
Returns true if the attribute "emptyDataMessage" is set. |
boolean |
isHeaderVisible()
Returns a boolean value indicating wether the header should be visible. |
boolean |
isHeaderVisible(FacesContext facesContext)
See isHeaderVisible() for more details |
boolean |
isHeaderVisibleSetted()
Returns true if the attribute "headerVisible" is set. |
boolean |
isHorizontalScrollPositionSetted()
Returns true if the attribute "horizontalScrollPosition" is set. |
boolean |
isPaged()
Returns a boolean value specifying wether the results should be displayed by page (thus letting the user choose what page to display via the pager). |
boolean |
isPaged(FacesContext facesContext)
See isPaged() for more details |
boolean |
isPagedSetted()
|
boolean |
isPreferencesSetted()
Returns true if the attribute "preferences" is set. |
boolean |
isRequired()
Returns a boolean value indicating that the user is required to provide a submitted value for this input component. |
boolean |
isRequired(FacesContext facesContext)
See isRequired() for more details |
boolean |
isRequiredSetted()
Returns true if the attribute "required" 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 |
isRowValueConverterSetted()
Returns true if the attribute "rowValueConverter" is set. |
boolean |
isRowValueSetted()
Returns true if the attribute "rowValue" is set. |
boolean |
isSelectable()
Returns a boolean value indicating wether the component can receive a user's selection |
boolean |
isSelectable(FacesContext facesContext)
See isSelectable() for more details |
boolean |
isSelectableSetted()
Returns true if the attribute "selectable" is set. |
boolean |
isSelectedValuesSetted()
Returns true if the attribute "selectedValues" is set. |
boolean |
isSelectionCardinalitySetted()
Returns true if the attribute "selectionCardinality" is set. |
boolean |
isShowValueSetted()
Returns true if the attribute "showValue" is set. |
boolean |
isVerticalScrollPositionSetted()
Returns true if the attribute "verticalScrollPosition" is set. |
FacesListener[] |
listAdditionalInformationListeners()
Returns a list of additional listener for the component |
IAdditionalInformationIterator |
listAdditionalInformations()
|
Object[] |
listAdditionalInformationValues()
|
IColumnIterator |
listColumns()
|
FacesListener[] |
listDoubleClickListeners()
Returns a list of doubleClick listener for the component |
FacesListener[] |
listLoadListeners()
Returns a list of load listener for the component |
IMenuIterator |
listMenus()
Returns a list of all the menus associated to the component. |
Object[] |
listSelectedValues()
|
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
ISortedComponent[] |
listSortedComponents()
|
ISortedComponent[] |
listSortedComponents(FacesContext context)
|
void |
removeAdditionalInformationListener(IAdditionalInformationListener listener)
Removes a listener from the component for the additional event |
void |
removeDoubleClickListener(IDoubleClickListener listener)
Removes a listener from the component for the doubleClick event |
void |
removeLoadListener(ILoadListener listener)
Removes a listener from the component for the load event |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
select(int index)
|
void |
select(int[] indices)
|
void |
select(int start,
int end)
|
void |
select(Object rowValue)
|
void |
selectAll()
|
void |
setAdditionalInformationCardinality(int additionalInformationCardinality)
Sets an int value indicating the cardinality (number of additional-informations allowed) for this component. |
void |
setAdditionalInformationCardinality(String cardinality)
|
void |
setAdditionalInformationValues(Object additionalInformationValues)
|
void |
setBorder(boolean border)
Sets a boolean value that indicates if the component should show a border or not. |
void |
setCellTextWrap(boolean cellTextWrap)
|
void |
setClientAdditionalInformationFullState(int clientAdditionalInformationFullState)
Sets an integer value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
void |
setClientAdditionalInformationFullState(String state)
|
void |
setClientSelectionFullState(int clientSelectionFullState)
Sets a boolean value indicating whether the client should know about the component's full state even if only a part of the data is present (AJAX). |
void |
setClientSelectionFullState(String state)
|
void |
setEmptyDataMessage(String emptyDataMessage)
Sets the string conatining the message shown when there is no result. |
void |
setHeaderVisible(boolean headerVisible)
Sets a boolean value indicating wether the header should be visible. |
void |
setHorizontalScrollPosition(int horizontalScrollPosition)
Sets an integer value specifying the position of the horizontal scroolbar (browser dependant). |
void |
setOrderedChildren(UIComponent[] components)
Sets a list of the columns' id which represents their order from left to right. |
void |
setPaged(boolean paged)
Sets a boolean value specifying wether the results should be displayed by page (thus letting the user choose what page to display via the pager). |
void |
setPreferences(IComponentPreferences preferences)
Sets an object that holds the preferences for the component. |
void |
setRequired(boolean required)
Sets a boolean value indicating that the user is required to provide a submitted value for this input component. |
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)
|
void |
setRowValue(String rowValue)
|
void |
setRowValueConverter(Converter rowValueConverter)
|
void |
setRowValueConverter(String converterId)
|
void |
setRowValueConverter(String converterId,
FacesContext facesContext)
|
void |
setSelectable(boolean selectable)
Sets a boolean value indicating wether the component can receive a user's selection |
void |
setSelectedValues(Object selectedValues)
|
void |
setSelectionCardinality(int selectionCardinality)
Sets an int value specifying the type of multiple selection authorized. |
void |
setSelectionCardinality(String cardinality)
|
void |
setShowValue(Object showValue)
Set the value of the item will be shown. |
void |
setSortedChildren(UIComponent[] components)
Set the ordered list of the sorted components |
void |
setSortedColumn(ComponentsColumnComponent componentsColumn)
|
void |
setSortedColumns(ComponentsColumnComponent[] componentsColumns)
|
void |
setVerticalScrollPosition(int verticalScrollPosition)
Sets an integer value specifying the position of the vertical scroolbar (Browser dependant). |
void |
showAdditionalInformation(int index)
|
void |
showAdditionalInformation(int[] indexes)
|
void |
showAdditionalInformation(Object rowValue)
|
void |
showAllAdditionalInformations()
|
| 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.capability.IGridComponent |
|---|
getDataModelValue, getFirst, getRowCount, getRowData, getRows, isRowAvailable, setFirst, setRowIndex |
| 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 ComponentsGridComponent()
public ComponentsGridComponent(String componentId)
| Method Detail |
|---|
public UIComponent[] getSortedChildren()
ISortedChildrenCapability
getSortedChildren in interface ISortedChildrenCapabilitypublic void setSortedChildren(UIComponent[] components)
ISortedChildrenCapability
setSortedChildren in interface ISortedChildrenCapabilitypublic void setOrderedChildren(UIComponent[] components)
IOrderedChildrenCapability
setOrderedChildren in interface IOrderedChildrenCapabilitycomponents - ordered list of columns' idpublic UIComponent[] getOrderedChildren()
IOrderedChildrenCapability
getOrderedChildren in interface IOrderedChildrenCapabilitypublic org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType getComponentValueType()
getComponentValueType in interface org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapabilitypublic IColumnIterator listColumns()
listColumns in interface org.rcfaces.core.internal.capability.IGridComponentpublic IAdditionalInformationIterator listAdditionalInformations()
listAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponentpublic void setRowValueConverter(String converterId)
public void setRowValueConverter(String converterId,
FacesContext facesContext)
public void setSelectionCardinality(String cardinality)
public void setClientSelectionFullState(String state)
public int getSelectedValuesCount()
getSelectedValuesCount in interface ISelectionProviderpublic Object getFirstSelectedValue()
getFirstSelectedValue in interface ISelectionProviderpublic Object[] listSelectedValues()
listSelectedValues in interface ISelectionProviderpublic Object getSelectedValues(FacesContext facesContext)
public void setSelectedValues(Object selectedValues)
setSelectedValues in interface ISelectionProviderpublic void setAdditionalInformationCardinality(String cardinality)
public void setClientAdditionalInformationFullState(String state)
public int getAdditionalInformationValuesCount()
getAdditionalInformationValuesCount in interface IAdditionalInformationProviderpublic Object getFirstAdditionalInformationValue()
getFirstAdditionalInformationValue in interface IAdditionalInformationProviderpublic Object getAdditionalInformationValues(FacesContext facesContext)
public Object[] listAdditionalInformationValues()
listAdditionalInformationValues in interface IAdditionalInformationProviderpublic ComponentsColumnComponent[] getSortedColumns()
public ComponentsColumnComponent getFirstSortedColumn()
public void setSortedColumn(ComponentsColumnComponent componentsColumn)
public void setSortedColumns(ComponentsColumnComponent[] componentsColumns)
public ISortedComponent[] listSortedComponents()
public ISortedComponent[] listSortedComponents(FacesContext context)
listSortedComponents in interface org.rcfaces.core.internal.capability.ISortedComponentsCapabilitypublic void select(Object rowValue)
select in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void select(int index)
select in interface org.rcfaces.core.internal.capability.ISelectionRangeComponentpublic void select(int[] indices)
select in interface org.rcfaces.core.internal.capability.ISelectionRangeComponent
public void select(int start,
int end)
select in interface org.rcfaces.core.internal.capability.ISelectionRangeComponentpublic void selectAll()
selectAll in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void deselect(Object rowValue)
deselect in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void deselect(int index)
deselect in interface org.rcfaces.core.internal.capability.ISelectionRangeComponentpublic void deselect(int[] indices)
deselect in interface org.rcfaces.core.internal.capability.ISelectionRangeComponent
public void deselect(int start,
int end)
deselect in interface org.rcfaces.core.internal.capability.ISelectionRangeComponentpublic void deselectAll()
deselectAll in interface org.rcfaces.core.internal.capability.ISelectionComponentpublic void showAdditionalInformation(Object rowValue)
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponentpublic void showAdditionalInformation(int index)
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponentpublic void showAdditionalInformation(int[] indexes)
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponentpublic void showAllAdditionalInformations()
showAllAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponentpublic void hideAdditionalInformation(Object rowValue)
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponentpublic void hideAdditionalInformation(int index)
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponentpublic void hideAdditionalInformation(int[] indexes)
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponentpublic void hideAllAdditionalInformations()
hideAllAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponentpublic final void addSelectionListener(ISelectionListener listener)
ISelectionEventCapability
addSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to addpublic final void removeSelectionListener(ISelectionListener listener)
ISelectionEventCapability
removeSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listSelectionListeners()
ISelectionEventCapability
listSelectionListeners in interface ISelectionEventCapabilitypublic boolean isSelectable()
ISelectableCapability
isSelectable in interface ISelectableCapabilitypublic boolean isSelectable(FacesContext facesContext)
isSelectable() for more details
public final boolean isSelectableSetted()
true if the attribute "selectable" is set.
true if the attribute is set.public void setSelectable(boolean selectable)
ISelectableCapability
setSelectable in interface ISelectableCapabilityselectable - selectable boolean propertypublic int getSelectionCardinality()
ISelectionCardinalityCapability
getSelectionCardinality in interface ISelectionCardinalityCapabilitypublic int getSelectionCardinality(FacesContext facesContext)
getSelectionCardinality() for more details
public final boolean isSelectionCardinalitySetted()
true if the attribute "selectionCardinality" is set.
true if the attribute is set.public void setSelectionCardinality(int selectionCardinality)
ISelectionCardinalityCapability
setSelectionCardinality in interface ISelectionCardinalityCapabilityselectionCardinality - 1: none or one selection|2: any number of selections or
none|3: one and only one selection|4: one or more selectionpublic Object getSelectedValues()
getSelectedValues in interface ISelectionProviderpublic final boolean isSelectedValuesSetted()
true if the attribute "selectedValues" is set.
true if the attribute is set.public Class getSelectedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getSelectedValuesType in interface ISelectedValuesCapabilitypublic int getClientSelectionFullState()
IClientSelectionFullStateCapability
getClientSelectionFullState in interface IClientSelectionFullStateCapabilitypublic int getClientSelectionFullState(FacesContext facesContext)
getClientSelectionFullState() for more details
public final boolean isClientSelectionFullStateSetted()
true if the attribute "clientSelectionFullState" is set.
true if the attribute is set.public void setClientSelectionFullState(int clientSelectionFullState)
IClientSelectionFullStateCapability
setClientSelectionFullState in interface IClientSelectionFullStateCapabilityclientSelectionFullState - booleanpublic final void addAdditionalInformationListener(IAdditionalInformationListener listener)
IAdditionalInformationEventCapability
addAdditionalInformationListener in interface IAdditionalInformationEventCapabilitylistener - the selection listener to addpublic final void removeAdditionalInformationListener(IAdditionalInformationListener listener)
IAdditionalInformationEventCapability
removeAdditionalInformationListener in interface IAdditionalInformationEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listAdditionalInformationListeners()
IAdditionalInformationEventCapability
listAdditionalInformationListeners in interface IAdditionalInformationEventCapabilitypublic Object getAdditionalInformationValues()
getAdditionalInformationValues in interface IAdditionalInformationProviderpublic final boolean isAdditionalInformationValuesSetted()
true if the attribute "additionalInformationValues" is set.
true if the attribute is set.public void setAdditionalInformationValues(Object additionalInformationValues)
setAdditionalInformationValues in interface IAdditionalInformationProviderpublic Class getAdditionalInformationValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getAdditionalInformationValuesType in interface IAdditionalInformationValuesCapabilitypublic int getClientAdditionalInformationFullState()
IClientAdditionalInformationFullStateCapability
getClientAdditionalInformationFullState in interface IClientAdditionalInformationFullStateCapabilityIClientFullStateCapability.NONE_CLIENT_FULL_STATE,
IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE,
IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATEpublic int getClientAdditionalInformationFullState(FacesContext facesContext)
getClientAdditionalInformationFullState() for more details
public final boolean isClientAdditionalInformationFullStateSetted()
true if the attribute "clientAdditionalInformationFullState" is set.
true if the attribute is set.public void setClientAdditionalInformationFullState(int clientAdditionalInformationFullState)
IClientAdditionalInformationFullStateCapability
setClientAdditionalInformationFullState in interface IClientAdditionalInformationFullStateCapabilityIClientFullStateCapability.NONE_CLIENT_FULL_STATE,
IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE,
IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATEpublic int getAdditionalInformationCardinality()
IAdditionalInformationCardinalityCapability
getAdditionalInformationCardinality in interface IAdditionalInformationCardinalityCapabilitypublic int getAdditionalInformationCardinality(FacesContext facesContext)
getAdditionalInformationCardinality() for more details
public final boolean isAdditionalInformationCardinalitySetted()
true if the attribute "additionalInformationCardinality" is set.
true if the attribute is set.public void setAdditionalInformationCardinality(int additionalInformationCardinality)
IAdditionalInformationCardinalityCapability
setAdditionalInformationCardinality in interface IAdditionalInformationCardinalityCapabilityadditionalInformationCardinality - 1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany
default=zeroManypublic final void addDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
addDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to addpublic final void removeDoubleClickListener(IDoubleClickListener listener)
IDoubleClickEventCapability
removeDoubleClickListener in interface IDoubleClickEventCapabilitylistener - the doubleClick listener to removepublic final FacesListener[] listDoubleClickListeners()
IDoubleClickEventCapability
listDoubleClickListeners in interface IDoubleClickEventCapabilitypublic final void addLoadListener(ILoadListener listener)
ILoadEventCapability
addLoadListener in interface ILoadEventCapabilitylistener - the load listener to addpublic final void removeLoadListener(ILoadListener listener)
ILoadEventCapability
removeLoadListener in interface ILoadEventCapabilitylistener - the load listener to removepublic final FacesListener[] listLoadListeners()
ILoadEventCapability
listLoadListeners in interface ILoadEventCapabilitypublic boolean isRequired()
IRequiredCapability
isRequired in interface IRequiredCapabilitypublic boolean isRequired(FacesContext facesContext)
isRequired() for more details
public final boolean isRequiredSetted()
true if the attribute "required" is set.
true if the attribute is set.public void setRequired(boolean required)
IRequiredCapability
setRequired in interface IRequiredCapabilityrequired - required boolean propertypublic 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 getRowStyleClass()
getRowStyleClass in interface IRowStyleClassCapabilitypublic String getRowStyleClass(FacesContext facesContext)
getRowStyleClass() for more details
public final boolean isRowStyleClassSetted()
true if the attribute "rowStyleClass" is set.
true if the attribute is set.public void setRowStyleClass(String rowStyleClass)
setRowStyleClass in interface IRowStyleClassCapabilitypublic 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 getEmptyDataMessage()
IEmptyDataMessageCapability
getEmptyDataMessage in interface IEmptyDataMessageCapabilitypublic String getEmptyDataMessage(FacesContext facesContext)
getEmptyDataMessage() for more details
public final boolean isEmptyDataMessageSetted()
true if the attribute "emptyDataMessage" is set.
true if the attribute is set.public void setEmptyDataMessage(String emptyDataMessage)
IEmptyDataMessageCapability
setEmptyDataMessage in interface IEmptyDataMessageCapabilityemptyDataMessage - the messagepublic 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 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 IComponentPreferences getPreferences()
IPreferencesCapability
getPreferences in interface IPreferencesCapabilitypublic IComponentPreferences getPreferences(FacesContext facesContext)
getPreferences() for more details
public final boolean isPreferencesSetted()
true if the attribute "preferences" is set.
isPreferencesSetted in interface org.rcfaces.core.internal.capability.IPreferencesSettingstrue if the attribute is set.public void setPreferences(IComponentPreferences preferences)
IPreferencesCapability
setPreferences in interface IPreferencesCapabilitypreferences - ComponentPreference objectpublic boolean isPaged()
IPagedCapability
isPaged in interface IPagedCapabilitypublic boolean isPaged(FacesContext facesContext)
isPaged() for more details
public boolean isPagedSetted()
isPagedSetted in interface IPagedCapabilitypublic void setPaged(boolean paged)
IPagedCapability
setPaged in interface IPagedCapabilitypaged - true if display by pagepublic boolean isHeaderVisible()
IHeaderVisibilityCapability
isHeaderVisible in interface IHeaderVisibilityCapabilitypublic boolean isHeaderVisible(FacesContext facesContext)
isHeaderVisible() for more details
public final boolean isHeaderVisibleSetted()
true if the attribute "headerVisible" is set.
true if the attribute is set.public void setHeaderVisible(boolean headerVisible)
IHeaderVisibilityCapability
setHeaderVisible in interface IHeaderVisibilityCapabilityheaderVisible - true if the header should be visiblepublic String getRowCountVar()
getRowCountVar in interface org.rcfaces.core.internal.capability.IGridComponentpublic 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()
getRowIndexVar in interface org.rcfaces.core.internal.capability.IGridComponentpublic 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 String getRowValue()
public String getRowValue(FacesContext facesContext)
public void setRowValue(String rowValue)
public boolean isRowValueSetted()
true if the attribute "rowValue" is set.
true if the attribute is set.public Converter getRowValueConverter()
public Converter getRowValueConverter(FacesContext facesContext)
public void setRowValueConverter(Converter rowValueConverter)
public boolean isRowValueConverterSetted()
true if the attribute "rowValueConverter" is set.
true if the attribute is set.public boolean isCellTextWrap()
public boolean isCellTextWrap(FacesContext facesContext)
public void setCellTextWrap(boolean cellTextWrap)
public boolean isCellTextWrapSetted()
true if the attribute "cellTextWrap" 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 | |||||||||