org.rcfaces.core.component
Class ComboGridComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rcfaces.core.internal.component.CameliaGridComponent
              extended by org.rcfaces.core.component.AbstractGridComponent
                  extended by org.rcfaces.core.component.KeyEntryComponent
                      extended by org.rcfaces.core.component.ComboGridComponent
All Implemented Interfaces:
NamingContainer, StateHolder, IAdditionalInformationCardinalityCapability, IAdditionalInformationEventCapability, IAdditionalInformationProvider, IAdditionalInformationValuesCapability, IBorderCapability, ICardinality, IClientAdditionalInformationFullStateCapability, IClientDataCapability, IClientFullStateCapability, IDisabledCapability, IEditableCapability, IEmptyDataMessageCapability, IEmptyMessageCapability, IErrorEventCapability, IFilterCapability, IFocusBlurEventCapability, IForegroundBackgroundColorCapability, IHeaderVisibilityCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IInitEventCapability, IKeyDownEventCapability, IKeyEventCapability, IKeyPressEventCapability, IKeyUpEventCapability, ILayoutPositionCapability, ILookAndFeelCapability, IMarginCapability, IMaxTextLengthCapability, IMouseEventCapability, IOrderedChildrenCapability, IPagedCapability, IPagerMessageCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IReadOnlyCapability, IRequiredCapability, IResetEventCapability, IRowStyleClassCapability, ISelectionEventCapability, IServerDataCapability, ISizeCapability, ISortedChildrenCapability, ISortManagerCapability, IStyleClassCapability, ITabIndexCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, org.rcfaces.core.internal.capability.IAdditionalInformationComponent, org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IGridComponent, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.manager.IClientDataManager, org.rcfaces.core.internal.manager.IContainerManager, org.rcfaces.core.internal.manager.IServerDataManager, org.rcfaces.core.internal.manager.ITransientAttributesManager, org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapability

public class ComboGridComponent
extends KeyEntryComponent
implements IAdditionalInformationEventCapability, IAdditionalInformationValuesCapability, IClientAdditionalInformationFullStateCapability, IAdditionalInformationCardinalityCapability, IRowStyleClassCapability, IPagerMessageCapability, IFilterCapability, IPagedCapability, IHeaderVisibilityCapability, IOrderedChildrenCapability, ISortedChildrenCapability, org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapability, org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent

The comboGrid Component has the same fonctionalities as the combo component but the popup is based on a dataGrid. The comboGrid can have multiple columns, be filtered, paged and some other datagrid capabilities

The comboGrid Component has the following capabilities :

The default comboGrid renderer is link to the f_comboGrid javascript class. f_comboGrid extends f_keyEntry, fa_dataGridPopup

Table of component style classes:

Style Name Description
f_comboGrid Defines styles for the wrapper Table element
f_comboGrid_input Defines styles for the Input Text
f_comboGrid_popup Defines styles for the wrapper DIV elment of the pop-up. Contains fa_dataGridPopup styles


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaGridComponent
engine
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
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.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
ComboGridComponent()
           
ComboGridComponent(String componentId)
           
 
Method Summary
 void addAdditionalInformationListener(IAdditionalInformationListener listener)
          Adds a listener to the component for the additional event
 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
 org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType getComponentValueType()
           
 Object getFirstAdditionalInformationValue()
           
 ComboColumnComponent getFirstSortedColumn()
           
 String getGridLookId()
           
 String getGridLookId(FacesContext facesContext)
           
 String getGridStyleClass()
           
 String getGridStyleClass(FacesContext facesContext)
           
 String getManyResultsMessage()
           
 String getManyResultsMessage(FacesContext facesContext)
          See getManyResultsMessage() for more details
 String getMessage()
           
 String getMessage(FacesContext facesContext)
          See getMessage() for more details
 String getOneResultMessage()
           
 String getOneResultMessage(FacesContext facesContext)
          See getOneResultMessage() for more details
 UIComponent[] getOrderedChildren()
          Returns a list of the columns' id which represents their order from left to right.
 String getPagerLookId()
           
 String getPagerLookId(FacesContext facesContext)
           
 String getPagerStyleClass()
           
 String getPagerStyleClass(FacesContext facesContext)
           
 int getPopupHeight()
           
 int getPopupHeight(FacesContext facesContext)
           
 String getPopupStyleClass()
           
 String getPopupStyleClass(FacesContext facesContext)
           
 int getPopupWidth()
           
 int getPopupWidth(FacesContext facesContext)
           
 String getRowStyleClass()
           
 String getRowStyleClass(FacesContext facesContext)
          See getRowStyleClass() for more details
 UIComponent[] getSortedChildren()
          Returns a string value giving the ordered list of the sorted components.
 ComboColumnComponent[] getSortedColumns()
           
 String getZeroResultMessage()
           
 String getZeroResultMessage(FacesContext facesContext)
          See getZeroResultMessage() 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 isClientAdditionalInformationFullStateSetted()
          Returns true if the attribute "clientAdditionalInformationFullState" is set.
 boolean isGridLookIdSetted()
          Returns true if the attribute "gridLookId" is set.
 boolean isGridStyleClassSetted()
          Returns true if the attribute "gridStyleClass" 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 isManyResultsMessageSetted()
          Returns true if the attribute "manyResultsMessage" is set.
 boolean isMessageSetted()
          Returns true if the attribute "message" is set.
 boolean isOneResultMessageSetted()
          Returns true if the attribute "oneResultMessage" 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 isPagerLookIdSetted()
          Returns true if the attribute "pagerLookId" is set.
 boolean isPagerStyleClassSetted()
          Returns true if the attribute "pagerStyleClass" is set.
 boolean isPopupHeightSetted()
          Returns true if the attribute "popupHeight" is set.
 boolean isPopupStyleClassSetted()
          Returns true if the attribute "popupStyleClass" is set.
 boolean isPopupWidthSetted()
          Returns true if the attribute "popupWidth" is set.
 boolean isRowStyleClassSetted()
          Returns true if the attribute "rowStyleClass" is set.
 boolean isSearchFieldVisible()
           
 boolean isSearchFieldVisible(FacesContext facesContext)
           
 boolean isSearchFieldVisibleSetted()
          Returns true if the attribute "searchFieldVisible" is set.
 boolean isZeroResultMessageSetted()
          Returns true if the attribute "zeroResultMessage" is set.
 FacesListener[] listAdditionalInformationListeners()
          Returns a list of additional listener for the component
 IAdditionalInformationIterator listAdditionalInformations()
           
 Object[] listAdditionalInformationValues()
           
 IColumnIterator listColumns()
           
 ISortedComponent[] listSortedComponents()
           
 ISortedComponent[] listSortedComponents(FacesContext context)
           
 void removeAdditionalInformationListener(IAdditionalInformationListener listener)
          Removes a listener from the component for the additional event
 void setAdditionalInformationCardinality(int additionalInformationCardinality)
          Sets an int value indicating the cardinality (number of additional-informations allowed) for this component.
 void setAdditionalInformationValues(Object additionalInformationValues)
           
 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 setGridLookId(String gridLookId)
           
 void setGridStyleClass(String gridStyleClass)
           
 void setHeaderVisible(boolean headerVisible)
          Sets a boolean value indicating wether the header should be visible.
 void setManyResultsMessage(String manyResultsMessage)
           
 void setMessage(String message)
           
 void setOneResultMessage(String oneResultMessage)
           
 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 setPagerLookId(String pagerLookId)
           
 void setPagerStyleClass(String pagerStyleClass)
           
 void setPopupHeight(int popupHeight)
           
 void setPopupStyleClass(String popupStyleClass)
           
 void setPopupWidth(int popupWidth)
           
 void setRowStyleClass(String rowStyleClass)
           
 void setSearchFieldVisible(boolean searchFieldVisible)
           
 void setSortedChildren(UIComponent[] components)
          Set the ordered list of the sorted components
 void setSortedColumn(ComboColumnComponent comboColumn)
           
 void setSortedColumns(ComboColumnComponent[] componentsColumns)
           
 void setZeroResultMessage(String zeroResultMessage)
           
 void showAdditionalInformation(int index)
           
 void showAdditionalInformation(int[] indexes)
           
 void showAdditionalInformation(Object rowValue)
           
 void showAllAdditionalInformations()
           
 
Methods inherited from class org.rcfaces.core.component.KeyEntryComponent
addSelectionListener, getEmptyDataMessage, getEmptyDataMessage, getEmptyMessage, getEmptyMessage, getFilterProperties, getFilterProperties, getForLabel, getForLabel, getLabelColumnId, getLabelColumnId, getMaxTextLength, getMaxTextLength, getNoValueFormatLabel, getNoValueFormatLabel, getRowCountVar, getRowCountVar, getRowIndexVar, getRowIndexVar, getSelectedValue, getSelectedValue, getSuggestionDelayMs, getSuggestionDelayMs, getSuggestionMinChars, getSuggestionMinChars, getValueColumnId, getValueColumnId, getValueFormat, getValueFormat, getValueFormatLabel, getValueFormatLabel, isBorder, isBorder, isBorderSetted, isDisabled, isDisabled, isDisabledSetted, isEditable, isEditable, isEditableSetted, isEmptyDataMessageSetted, isEmptyMessageSetted, isFilterPropertiesSetted, isForceValidation, isForceValidation, isForceValidationSetted, isForLabelSetted, isLabelColumnIdSetted, isMaxTextLengthSetted, isNoValueFormatLabelSetted, isReadOnly, isReadOnly, isReadOnlySetted, isRequired, isRequired, isRequiredSetted, isRowCountVarSetted, isRowIndexVarSetted, isSelectedValueSetted, isSuggestionDelayMsSetted, isSuggestionMinCharsSetted, isValueColumnIdSetted, isValueFormatLabelSetted, isValueFormatSetted, listSelectionListeners, removeSelectionListener, setBorder, setDisabled, setEditable, setEmptyDataMessage, setEmptyMessage, setFilterProperties, setFilterProperties, setForceValidation, setForLabel, setLabelColumnId, setMaxTextLength, setNoValueFormatLabel, setReadOnly, setRequired, setRowCountVar, setRowIndexVar, setSelectedValue, setSuggestionDelayMs, setSuggestionMinChars, setValueColumnId, setValueFormat, setValueFormatLabel
 
Methods inherited from class org.rcfaces.core.component.AbstractGridComponent
addBlurListener, addErrorListener, addFocusListener, addInitListener, addKeyDownListener, addKeyPressListener, addKeyUpListener, addMouseOutListener, addMouseOverListener, addPropertyChangeListener, addResetListener, addUserEventListener, getAriaLabel, getAriaLabel, getAriaLevel, getAriaLevel, getBackgroundColor, getBackgroundColor, getBottom, getBottom, getClientData, getClientData, getClientDataCount, getClientDataMap, getClientDataMap, getFirst, getFirst, getForegroundColor, getForegroundColor, getHeight, getHeight, getHelpMessage, getHelpMessage, getHelpURL, getHelpURL, getHiddenMode, getHiddenMode, getLeft, getLeft, getLookId, getLookId, getMarginBottom, getMarginBottom, getMarginLeft, getMarginLeft, getMarginRight, getMarginRight, getMarginTop, getMarginTop, getRight, getRight, getRowIndex, getRows, getRows, getServerData, getServerData, getServerDataCount, getServerDataMap, getServerDataMap, getSortManager, getSortManager, getStyleClass, getStyleClass, getTabIndex, getTabIndex, getToolTipText, getToolTipText, getTop, getTop, getUnlockedClientAttributeNames, getUnlockedClientAttributeNames, getVar, getVar, getVisibleState, getVisibleState, getWaiRole, getWaiRole, getWidth, getWidth, getX, getX, getY, getY, isAriaLabelSetted, isAriaLevelSetted, isBackgroundColorSetted, isBottomSetted, isFirstSetted, isForegroundColorSetted, isHeightSetted, isHelpMessageSetted, isHelpURLSetted, isHiddenModeSetted, isLeftSetted, isLookIdSetted, isMarginBottomSetted, isMarginLeftSetted, isMarginRightSetted, isMarginTopSetted, isPartialRendering, isPartialRendering, isPartialRenderingSetted, isRightSetted, isRowsSetted, isSortManagerSetted, isStyleClassSetted, isTabIndexSetted, isToolTipTextSetted, isTopSetted, isUnlockedClientAttributeNamesSetted, isVarSetted, isVisible, isVisible, isVisibleSetted, isWaiRoleSetted, isWidthSetted, isXSetted, isYSetted, listBlurListeners, listClientDataKeys, listClientDataKeys, listErrorListeners, listFocusListeners, listInitListeners, listKeyDownListeners, listKeyPressListeners, listKeyUpListeners, listMouseOutListeners, listMouseOverListeners, listPropertyChangeListeners, listResetListeners, listServerDataKeys, listServerDataKeys, listUserEventListeners, removeBlurListener, removeClientData, removeErrorListener, removeFocusListener, removeInitListener, removeKeyDownListener, removeKeyPressListener, removeKeyUpListener, removeMouseOutListener, removeMouseOverListener, removePropertyChangeListener, removeResetListener, removeServerData, removeUserEventListener, setAriaLabel, setAriaLevel, setBackgroundColor, setBottom, setClientData, setClientData, setFirst, setForegroundColor, setHeight, setHelpMessage, setHelpURL, setHiddenMode, setHiddenMode, setLeft, setLookId, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPartialRendering, setRight, setRowIndex, setRowIndex, setRows, setServerData, setServerData, setSortManager, setStyleClass, setTabIndex, setToolTipText, setTop, setUnlockedClientAttributeNames, setVar, setVisible, setWaiRole, setWidth, setX, setY
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaGridComponent
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getDataModel, getDataModelValue, getFamily, getRendererType, getRowCount, getRowData, getTransientAttribute, getValue, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isRowAvailable, isRowAvailable, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValue, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
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.component.capability.IFilterCapability
getFilterProperties, setFilterProperties
 
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

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

CAMELIA_ATTRIBUTES

protected static final Set CAMELIA_ATTRIBUTES
Constructor Detail

ComboGridComponent

public ComboGridComponent()

ComboGridComponent

public ComboGridComponent(String componentId)
Method Detail

getSortedChildren

public UIComponent[] getSortedChildren()
Description copied from interface: ISortedChildrenCapability
Returns a string value giving the ordered list of the sorted components.

Specified by:
getSortedChildren in interface ISortedChildrenCapability
Returns:
ordered list of the sorted components

setSortedChildren

public void setSortedChildren(UIComponent[] components)
Description copied from interface: ISortedChildrenCapability
Set the ordered list of the sorted components

Specified by:
setSortedChildren in interface ISortedChildrenCapability

setOrderedChildren

public void setOrderedChildren(UIComponent[] components)
Description copied from interface: IOrderedChildrenCapability
Sets a list of the columns' id which represents their order from left to right.

Specified by:
setOrderedChildren in interface IOrderedChildrenCapability
Parameters:
components - ordered list of columns' id

getOrderedChildren

public UIComponent[] getOrderedChildren()
Description copied from interface: IOrderedChildrenCapability
Returns a list of the columns' id which represents their order from left to right.

Specified by:
getOrderedChildren in interface IOrderedChildrenCapability
Returns:
ordered list of columns' id

getComponentValueType

public org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType getComponentValueType()
Specified by:
getComponentValueType in interface org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapability

listColumns

public IColumnIterator listColumns()
Specified by:
listColumns in interface org.rcfaces.core.internal.capability.IGridComponent
Overrides:
listColumns in class KeyEntryComponent

listAdditionalInformations

public IAdditionalInformationIterator listAdditionalInformations()
Specified by:
listAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponent

setClientAdditionalInformationFullState

public void setClientAdditionalInformationFullState(String state)

getAdditionalInformationValuesCount

public int getAdditionalInformationValuesCount()
Specified by:
getAdditionalInformationValuesCount in interface IAdditionalInformationProvider

getFirstAdditionalInformationValue

public Object getFirstAdditionalInformationValue()
Specified by:
getFirstAdditionalInformationValue in interface IAdditionalInformationProvider

getAdditionalInformationValues

public Object getAdditionalInformationValues(FacesContext facesContext)

listAdditionalInformationValues

public Object[] listAdditionalInformationValues()
Specified by:
listAdditionalInformationValues in interface IAdditionalInformationProvider

getSortedColumns

public ComboColumnComponent[] getSortedColumns()

getFirstSortedColumn

public ComboColumnComponent getFirstSortedColumn()

setSortedColumn

public void setSortedColumn(ComboColumnComponent comboColumn)

setSortedColumns

public void setSortedColumns(ComboColumnComponent[] componentsColumns)

listSortedComponents

public ISortedComponent[] listSortedComponents()

listSortedComponents

public ISortedComponent[] listSortedComponents(FacesContext context)

showAdditionalInformation

public void showAdditionalInformation(Object rowValue)
Specified by:
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponent

showAdditionalInformation

public void showAdditionalInformation(int index)
Specified by:
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent

showAdditionalInformation

public void showAdditionalInformation(int[] indexes)
Specified by:
showAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent

showAllAdditionalInformations

public void showAllAdditionalInformations()
Specified by:
showAllAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponent

hideAdditionalInformation

public void hideAdditionalInformation(Object rowValue)
Specified by:
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponent

hideAdditionalInformation

public void hideAdditionalInformation(int index)
Specified by:
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent

hideAdditionalInformation

public void hideAdditionalInformation(int[] indexes)
Specified by:
hideAdditionalInformation in interface org.rcfaces.core.internal.capability.IAdditionalInformationRangeComponent

hideAllAdditionalInformations

public void hideAllAdditionalInformations()
Specified by:
hideAllAdditionalInformations in interface org.rcfaces.core.internal.capability.IAdditionalInformationComponent

addAdditionalInformationListener

public final void addAdditionalInformationListener(IAdditionalInformationListener listener)
Description copied from interface: IAdditionalInformationEventCapability
Adds a listener to the component for the additional event

Specified by:
addAdditionalInformationListener in interface IAdditionalInformationEventCapability
Parameters:
listener - the selection listener to add

removeAdditionalInformationListener

public final void removeAdditionalInformationListener(IAdditionalInformationListener listener)
Description copied from interface: IAdditionalInformationEventCapability
Removes a listener from the component for the additional event

Specified by:
removeAdditionalInformationListener in interface IAdditionalInformationEventCapability
Parameters:
listener - the selection listener to remove

listAdditionalInformationListeners

public final FacesListener[] listAdditionalInformationListeners()
Description copied from interface: IAdditionalInformationEventCapability
Returns a list of additional listener for the component

Specified by:
listAdditionalInformationListeners in interface IAdditionalInformationEventCapability
Returns:
selection listeners' list

getAdditionalInformationValues

public Object getAdditionalInformationValues()
Specified by:
getAdditionalInformationValues in interface IAdditionalInformationProvider

isAdditionalInformationValuesSetted

public final boolean isAdditionalInformationValuesSetted()
Returns true if the attribute "additionalInformationValues" is set.

Returns:
true if the attribute is set.

setAdditionalInformationValues

public void setAdditionalInformationValues(Object additionalInformationValues)
Specified by:
setAdditionalInformationValues in interface IAdditionalInformationProvider

getAdditionalInformationValuesType

public Class getAdditionalInformationValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext.

Specified by:
getAdditionalInformationValuesType in interface IAdditionalInformationValuesCapability

getClientAdditionalInformationFullState

public int getClientAdditionalInformationFullState()
Description copied from interface: IClientAdditionalInformationFullStateCapability
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).

Specified by:
getClientAdditionalInformationFullState in interface IClientAdditionalInformationFullStateCapability
Returns:
An integer value indicating whether the client should know about the component's full state.
See Also:
IClientFullStateCapability.NONE_CLIENT_FULL_STATE, IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE, IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATE

getClientAdditionalInformationFullState

public int getClientAdditionalInformationFullState(FacesContext facesContext)
See getClientAdditionalInformationFullState() for more details


isClientAdditionalInformationFullStateSetted

public final boolean isClientAdditionalInformationFullStateSetted()
Returns true if the attribute "clientAdditionalInformationFullState" is set.

Returns:
true if the attribute is set.

setClientAdditionalInformationFullState

public void setClientAdditionalInformationFullState(int clientAdditionalInformationFullState)
Description copied from interface: IClientAdditionalInformationFullStateCapability
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).

Specified by:
setClientAdditionalInformationFullState in interface IClientAdditionalInformationFullStateCapability
See Also:
IClientFullStateCapability.NONE_CLIENT_FULL_STATE, IClientFullStateCapability.ONEWAY_CLIENT_FULL_STATE, IClientFullStateCapability.TWOWAYS_CLIENT_FULL_STATE

getAdditionalInformationCardinality

public int getAdditionalInformationCardinality()
Description copied from interface: IAdditionalInformationCardinalityCapability
Returns an int value indicating the cardinality (number of additional-informations allowed) for this component.

Specified by:
getAdditionalInformationCardinality in interface IAdditionalInformationCardinalityCapability
Returns:
1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany

getAdditionalInformationCardinality

public int getAdditionalInformationCardinality(FacesContext facesContext)
See getAdditionalInformationCardinality() for more details


isAdditionalInformationCardinalitySetted

public final boolean isAdditionalInformationCardinalitySetted()
Returns true if the attribute "additionalInformationCardinality" is set.

Returns:
true if the attribute is set.

setAdditionalInformationCardinality

public void setAdditionalInformationCardinality(int additionalInformationCardinality)
Description copied from interface: IAdditionalInformationCardinalityCapability
Sets an int value indicating the cardinality (number of additional-informations allowed) for this component.

Specified by:
setAdditionalInformationCardinality in interface IAdditionalInformationCardinalityCapability
Parameters:
additionalInformationCardinality - 1:?,optional|2:*,zeroMany|3:1,one+|4:+,oneMany default=zeroMany

getRowStyleClass

public String getRowStyleClass()
Specified by:
getRowStyleClass in interface IRowStyleClassCapability

getRowStyleClass

public String getRowStyleClass(FacesContext facesContext)
See getRowStyleClass() for more details


isRowStyleClassSetted

public final boolean isRowStyleClassSetted()
Returns true if the attribute "rowStyleClass" is set.

Returns:
true if the attribute is set.

setRowStyleClass

public void setRowStyleClass(String rowStyleClass)
Specified by:
setRowStyleClass in interface IRowStyleClassCapability

getManyResultsMessage

public String getManyResultsMessage()
Specified by:
getManyResultsMessage in interface IPagerMessageCapability

getManyResultsMessage

public String getManyResultsMessage(FacesContext facesContext)
See getManyResultsMessage() for more details


isManyResultsMessageSetted

public final boolean isManyResultsMessageSetted()
Returns true if the attribute "manyResultsMessage" is set.

Returns:
true if the attribute is set.

setManyResultsMessage

public void setManyResultsMessage(String manyResultsMessage)
Specified by:
setManyResultsMessage in interface IPagerMessageCapability

getMessage

public String getMessage()
Specified by:
getMessage in interface IPagerMessageCapability

getMessage

public String getMessage(FacesContext facesContext)
See getMessage() for more details


isMessageSetted

public final boolean isMessageSetted()
Returns true if the attribute "message" is set.

Returns:
true if the attribute is set.

setMessage

public void setMessage(String message)
Specified by:
setMessage in interface IPagerMessageCapability

getOneResultMessage

public String getOneResultMessage()
Specified by:
getOneResultMessage in interface IPagerMessageCapability

getOneResultMessage

public String getOneResultMessage(FacesContext facesContext)
See getOneResultMessage() for more details


isOneResultMessageSetted

public final boolean isOneResultMessageSetted()
Returns true if the attribute "oneResultMessage" is set.

Returns:
true if the attribute is set.

setOneResultMessage

public void setOneResultMessage(String oneResultMessage)
Specified by:
setOneResultMessage in interface IPagerMessageCapability

getZeroResultMessage

public String getZeroResultMessage()
Specified by:
getZeroResultMessage in interface IPagerMessageCapability

getZeroResultMessage

public String getZeroResultMessage(FacesContext facesContext)
See getZeroResultMessage() for more details


isZeroResultMessageSetted

public final boolean isZeroResultMessageSetted()
Returns true if the attribute "zeroResultMessage" is set.

Returns:
true if the attribute is set.

setZeroResultMessage

public void setZeroResultMessage(String zeroResultMessage)
Specified by:
setZeroResultMessage in interface IPagerMessageCapability

isPaged

public boolean isPaged()
Description copied from interface: IPagedCapability
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). It is ignored if the attribute "rows" is undefined. The default value is true. If "rows" is defined and "paged"'s value is set to false, pages are downloaded automatically when the last displayed row is selected.

Specified by:
isPaged in interface IPagedCapability
Returns:
true if display by page

isPaged

public boolean isPaged(FacesContext facesContext)
See isPaged() for more details


isPagedSetted

public boolean isPagedSetted()
Specified by:
isPagedSetted in interface IPagedCapability

setPaged

public void setPaged(boolean paged)
Description copied from interface: IPagedCapability
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). It is ignored if the attribute "rows" is undefined. The default value is true. If "rows" is defined and "paged"'s value is set to false, pages are downloaded automatically when the last displayed row is selected.

Specified by:
setPaged in interface IPagedCapability
Parameters:
paged - true if display by page

isHeaderVisible

public boolean isHeaderVisible()
Description copied from interface: IHeaderVisibilityCapability
Returns a boolean value indicating wether the header should be visible.

Specified by:
isHeaderVisible in interface IHeaderVisibilityCapability
Returns:
true if the header is visible

isHeaderVisible

public boolean isHeaderVisible(FacesContext facesContext)
See isHeaderVisible() for more details


isHeaderVisibleSetted

public final boolean isHeaderVisibleSetted()
Returns true if the attribute "headerVisible" is set.

Returns:
true if the attribute is set.

setHeaderVisible

public void setHeaderVisible(boolean headerVisible)
Description copied from interface: IHeaderVisibilityCapability
Sets a boolean value indicating wether the header should be visible.

Specified by:
setHeaderVisible in interface IHeaderVisibilityCapability
Parameters:
headerVisible - true if the header should be visible

getPopupWidth

public int getPopupWidth()

getPopupWidth

public int getPopupWidth(FacesContext facesContext)

setPopupWidth

public void setPopupWidth(int popupWidth)

isPopupWidthSetted

public boolean isPopupWidthSetted()
Returns true if the attribute "popupWidth" is set.

Returns:
true if the attribute is set.

getPopupHeight

public int getPopupHeight()

getPopupHeight

public int getPopupHeight(FacesContext facesContext)

setPopupHeight

public void setPopupHeight(int popupHeight)

isPopupHeightSetted

public boolean isPopupHeightSetted()
Returns true if the attribute "popupHeight" is set.

Returns:
true if the attribute is set.

getPagerStyleClass

public String getPagerStyleClass()

getPagerStyleClass

public String getPagerStyleClass(FacesContext facesContext)

setPagerStyleClass

public void setPagerStyleClass(String pagerStyleClass)

isPagerStyleClassSetted

public boolean isPagerStyleClassSetted()
Returns true if the attribute "pagerStyleClass" is set.

Returns:
true if the attribute is set.

getPagerLookId

public String getPagerLookId()

getPagerLookId

public String getPagerLookId(FacesContext facesContext)

setPagerLookId

public void setPagerLookId(String pagerLookId)

isPagerLookIdSetted

public boolean isPagerLookIdSetted()
Returns true if the attribute "pagerLookId" is set.

Returns:
true if the attribute is set.

getPopupStyleClass

public String getPopupStyleClass()

getPopupStyleClass

public String getPopupStyleClass(FacesContext facesContext)

setPopupStyleClass

public void setPopupStyleClass(String popupStyleClass)

isPopupStyleClassSetted

public boolean isPopupStyleClassSetted()
Returns true if the attribute "popupStyleClass" is set.

Returns:
true if the attribute is set.

getGridStyleClass

public String getGridStyleClass()

getGridStyleClass

public String getGridStyleClass(FacesContext facesContext)

setGridStyleClass

public void setGridStyleClass(String gridStyleClass)

isGridStyleClassSetted

public boolean isGridStyleClassSetted()
Returns true if the attribute "gridStyleClass" is set.

Returns:
true if the attribute is set.

getGridLookId

public String getGridLookId()

getGridLookId

public String getGridLookId(FacesContext facesContext)

setGridLookId

public void setGridLookId(String gridLookId)

isGridLookIdSetted

public boolean isGridLookIdSetted()
Returns true if the attribute "gridLookId" is set.

Returns:
true if the attribute is set.

isSearchFieldVisible

public boolean isSearchFieldVisible()

isSearchFieldVisible

public boolean isSearchFieldVisible(FacesContext facesContext)

setSearchFieldVisible

public void setSearchFieldVisible(boolean searchFieldVisible)

isSearchFieldVisibleSetted

public boolean isSearchFieldVisibleSetted()
Returns true if the attribute "searchFieldVisible" is set.

Returns:
true if the attribute is set.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class KeyEntryComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.