org.rcfaces.core.component
Class KeyEntryComponent

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
All Implemented Interfaces:
NamingContainer, StateHolder, IBorderCapability, IClientDataCapability, IDisabledCapability, IEditableCapability, IEmptyDataMessageCapability, IEmptyMessageCapability, IErrorEventCapability, IFilterCapability, IFocusBlurEventCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IInitEventCapability, IKeyDownEventCapability, IKeyEventCapability, IKeyPressEventCapability, IKeyUpEventCapability, ILayoutPositionCapability, ILookAndFeelCapability, IMarginCapability, IMaxTextLengthCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IReadOnlyCapability, IRequiredCapability, IResetEventCapability, ISelectionEventCapability, IServerDataCapability, ISizeCapability, ISortManagerCapability, IStyleClassCapability, ITabIndexCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, 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
Direct Known Subclasses:
ComboGridComponent

public class KeyEntryComponent
extends AbstractGridComponent
implements IEmptyMessageCapability, IEmptyDataMessageCapability, ISelectionEventCapability, IDisabledCapability, IRequiredCapability, IReadOnlyCapability, IBorderCapability, IMaxTextLengthCapability, IEditableCapability, IFilterCapability, org.rcfaces.core.internal.capability.IGridComponent


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.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
KeyEntryComponent()
           
KeyEntryComponent(String componentId)
           
 
Method Summary
 void addSelectionListener(ISelectionListener listener)
          Adds a listener to the component for the selection event
protected  Set getCameliaFields()
           
 String getEmptyDataMessage()
          Returns a string containing the message shown when there is no result.
 String getEmptyDataMessage(FacesContext facesContext)
          See getEmptyDataMessage() for more details
 String getEmptyMessage()
          Returns a string containing the message shown when there is no result.
 String getEmptyMessage(FacesContext facesContext)
          See getEmptyMessage() for more details
 IFilterProperties getFilterProperties()
          Return an object that represent the filter to use on the server side.
 IFilterProperties getFilterProperties(FacesContext facesContext)
          See getFilterProperties() for more details
 String getForLabel()
           
 String getForLabel(FacesContext facesContext)
           
 String getLabelColumnId()
           
 String getLabelColumnId(FacesContext facesContext)
           
 int getMaxTextLength()
          Returns an int value specifying the maximum number of characters that the user can enter in the component.
 int getMaxTextLength(FacesContext facesContext)
          See getMaxTextLength() for more details
 String getNoValueFormatLabel()
           
 String getNoValueFormatLabel(FacesContext facesContext)
           
 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.
 Object getSelectedValue()
           
 Object getSelectedValue(FacesContext facesContext)
           
 int getSuggestionDelayMs()
          Returns an int value specifying the delay in milliseconds before showing the suggestion list.
 int getSuggestionDelayMs(FacesContext facesContext)
          Returns an int value specifying the delay in milliseconds before showing the suggestion list.
 int getSuggestionMinChars()
          Returns an int value specifying the minimum number of characters before the suggestion is calculated.
 int getSuggestionMinChars(FacesContext facesContext)
          Returns an int value specifying the minimum number of characters before the suggestion is calculated.
 String getValueColumnId()
           
 String getValueColumnId(FacesContext facesContext)
           
 String getValueFormat()
           
 String getValueFormat(FacesContext facesContext)
           
 String getValueFormatLabel()
           
 String getValueFormatLabel(FacesContext facesContext)
           
 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 isDisabled()
          Returns false if the receiver is enabled and all ancestors up to and including the receiver's nearest ancestor shell are enabled.
 boolean isDisabled(FacesContext facesContext)
          See isDisabled() for more details
 boolean isDisabledSetted()
          Returns true if the attribute "disabled" is set.
 boolean isEditable()
           
 boolean isEditable(FacesContext facesContext)
          See isEditable() for more details
 boolean isEditableSetted()
          Returns true if the attribute "editable" is set.
 boolean isEmptyDataMessageSetted()
          Returns true if the attribute "emptyDataMessage" is set.
 boolean isEmptyMessageSetted()
          Returns true if the attribute "emptyMessage" is set.
 boolean isFilterPropertiesSetted()
          Returns true if the attribute "filterProperties" is set.
 boolean isForceValidation()
           
 boolean isForceValidation(FacesContext facesContext)
           
 boolean isForceValidationSetted()
          Returns true if the attribute "forceValidation" is set.
 boolean isForLabelSetted()
          Returns true if the attribute "forLabel" is set.
 boolean isLabelColumnIdSetted()
          Returns true if the attribute "labelColumnId" is set.
 boolean isMaxTextLengthSetted()
          Returns true if the attribute "maxTextLength" is set.
 boolean isNoValueFormatLabelSetted()
          Returns true if the attribute "noValueFormatLabel" is set.
 boolean isReadOnly()
          Returns a boolean value indicating that this component will prohibit changes by the user.
 boolean isReadOnly(FacesContext facesContext)
          See isReadOnly() for more details
 boolean isReadOnlySetted()
          Returns true if the attribute "readOnly" 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 isSelectedValueSetted()
          Returns true if the attribute "selectedValue" is set.
 boolean isSuggestionDelayMsSetted()
          Returns true if the attribute "suggestionDelayMs" is set.
 boolean isSuggestionMinCharsSetted()
          Returns true if the attribute "suggestionMinChars" is set.
 boolean isValueColumnIdSetted()
          Returns true if the attribute "valueColumnId" is set.
 boolean isValueFormatLabelSetted()
          Returns true if the attribute "valueFormatLabel" is set.
 boolean isValueFormatSetted()
          Returns true if the attribute "valueFormat" is set.
 IColumnIterator listColumns()
           
 FacesListener[] listSelectionListeners()
          Returns a list of selection listener for the component
 void removeSelectionListener(ISelectionListener listener)
          Removes a listener from the component for the selection event
 void setBorder(boolean border)
          Sets a boolean value that indicates if the component should show a border or not.
 void setDisabled(boolean disabled)
          Disabled the receiver if the argument is true, and enables it otherwise.
 void setEditable(boolean editable)
           
 void setEmptyDataMessage(String emptyDataMessage)
          Sets the string conatining the message shown when there is no result.
 void setEmptyMessage(String emptyMessage)
          Sets the string conatining the message shown when there is no result.
 void setFilterProperties(IFilterProperties filterProperties)
          Sets an object that represent the filter to use on the server side.
 void setFilterProperties(String properties)
           
 void setForceValidation(boolean forceValidation)
           
 void setForLabel(String forLabel)
           
 void setLabelColumnId(String labelColumnId)
           
 void setMaxTextLength(int maxTextLength)
          Sets an int value specifying the maximum number of characters that the user can enter in the component.
 void setNoValueFormatLabel(String noValueFormatLabel)
           
 void setReadOnly(boolean readOnly)
          Sets a boolean value indicating that this component will prohibit changes by the user.
 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 setSelectedValue(Object selectedValue)
           
 void setSuggestionDelayMs(int suggestionDelayMs)
          Sets an int value specifying the delay in milliseconds before showing the suggestion list.
 void setSuggestionMinChars(int suggestionMinChars)
          Sets an int value specifying the minimum number of characters before the suggestion is calculated.
 void setValueColumnId(String valueColumnId)
           
 void setValueFormat(String valueFormat)
           
 void setValueFormatLabel(String valueFormatLabel)
           
 
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.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

KeyEntryComponent

public KeyEntryComponent()

KeyEntryComponent

public KeyEntryComponent(String componentId)
Method Detail

listColumns

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

setFilterProperties

public void setFilterProperties(String properties)

getEmptyMessage

public String getEmptyMessage()
Description copied from interface: IEmptyMessageCapability
Returns a string containing the message shown when there is no result.

Specified by:
getEmptyMessage in interface IEmptyMessageCapability
Returns:
message

getEmptyMessage

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


isEmptyMessageSetted

public final boolean isEmptyMessageSetted()
Returns true if the attribute "emptyMessage" is set.

Returns:
true if the attribute is set.

setEmptyMessage

public void setEmptyMessage(String emptyMessage)
Description copied from interface: IEmptyMessageCapability
Sets the string conatining the message shown when there is no result.

Specified by:
setEmptyMessage in interface IEmptyMessageCapability
Parameters:
emptyMessage - the message

getEmptyDataMessage

public String getEmptyDataMessage()
Description copied from interface: IEmptyDataMessageCapability
Returns a string containing the message shown when there is no result.

Specified by:
getEmptyDataMessage in interface IEmptyDataMessageCapability
Returns:
message

getEmptyDataMessage

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


isEmptyDataMessageSetted

public final boolean isEmptyDataMessageSetted()
Returns true if the attribute "emptyDataMessage" is set.

Returns:
true if the attribute is set.

setEmptyDataMessage

public void setEmptyDataMessage(String emptyDataMessage)
Description copied from interface: IEmptyDataMessageCapability
Sets the string conatining the message shown when there is no result.

Specified by:
setEmptyDataMessage in interface IEmptyDataMessageCapability
Parameters:
emptyDataMessage - the message

addSelectionListener

public final void addSelectionListener(ISelectionListener listener)
Description copied from interface: ISelectionEventCapability
Adds a listener to the component for the selection event

Specified by:
addSelectionListener in interface ISelectionEventCapability
Parameters:
listener - the selection listener to add

removeSelectionListener

public final void removeSelectionListener(ISelectionListener listener)
Description copied from interface: ISelectionEventCapability
Removes a listener from the component for the selection event

Specified by:
removeSelectionListener in interface ISelectionEventCapability
Parameters:
listener - the selection listener to remove

listSelectionListeners

public final FacesListener[] listSelectionListeners()
Description copied from interface: ISelectionEventCapability
Returns a list of selection listener for the component

Specified by:
listSelectionListeners in interface ISelectionEventCapability
Returns:
selection listeners' list

isDisabled

public boolean isDisabled()
Description copied from interface: IDisabledCapability
Returns false if the receiver is enabled and all ancestors up to and including the receiver's nearest ancestor shell are enabled.
Otherwise, false is returned. A disabled control is typically not selectable from the user interface and draws with an inactive or "grayed" look.

Specified by:
isDisabled in interface IDisabledCapability
Returns:
the receiver's enabled state

isDisabled

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


isDisabledSetted

public final boolean isDisabledSetted()
Returns true if the attribute "disabled" is set.

Returns:
true if the attribute is set.

setDisabled

public void setDisabled(boolean disabled)
Description copied from interface: IDisabledCapability
Disabled the receiver if the argument is true, and enables it otherwise. A disabled control is typically not selectable from the user interface and draws with an inactive or "grayed" look.

Specified by:
setDisabled in interface IDisabledCapability
Parameters:
disabled - the new enabled state

isRequired

public boolean isRequired()
Description copied from interface: IRequiredCapability
Returns a boolean value indicating that the user is required to provide a submitted value for this input component.

Specified by:
isRequired in interface IRequiredCapability
Returns:
required boolean property

isRequired

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


isRequiredSetted

public final boolean isRequiredSetted()
Returns true if the attribute "required" is set.

Returns:
true if the attribute is set.

setRequired

public void setRequired(boolean required)
Description copied from interface: IRequiredCapability
Sets a boolean value indicating that the user is required to provide a submitted value for this input component.

Specified by:
setRequired in interface IRequiredCapability
Parameters:
required - required boolean property

isReadOnly

public boolean isReadOnly()
Description copied from interface: IReadOnlyCapability
Returns a boolean value indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled.

Specified by:
isReadOnly in interface IReadOnlyCapability
Returns:
readOnly boolean property

isReadOnly

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


isReadOnlySetted

public final boolean isReadOnlySetted()
Returns true if the attribute "readOnly" is set.

Returns:
true if the attribute is set.

setReadOnly

public void setReadOnly(boolean readOnly)
Description copied from interface: IReadOnlyCapability
Sets a boolean value indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled.

Specified by:
setReadOnly in interface IReadOnlyCapability
Parameters:
readOnly - readOnly boolean property

isBorder

public boolean isBorder()
Description copied from interface: IBorderCapability
Returns a boolean value that indicates if the component should show a border or not.

Specified by:
isBorder in interface IBorderCapability
Returns:
border

isBorder

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


isBorderSetted

public final boolean isBorderSetted()
Returns true if the attribute "border" is set.

Returns:
true if the attribute is set.

setBorder

public void setBorder(boolean border)
Description copied from interface: IBorderCapability
Sets a boolean value that indicates if the component should show a border or not.

Specified by:
setBorder in interface IBorderCapability
Parameters:
border - boolean

getMaxTextLength

public int getMaxTextLength()
Description copied from interface: IMaxTextLengthCapability
Returns an int value specifying the maximum number of characters that the user can enter in the component.

Specified by:
getMaxTextLength in interface IMaxTextLengthCapability
Returns:
maximum number of characters

getMaxTextLength

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


isMaxTextLengthSetted

public final boolean isMaxTextLengthSetted()
Returns true if the attribute "maxTextLength" is set.

Returns:
true if the attribute is set.

setMaxTextLength

public void setMaxTextLength(int maxTextLength)
Description copied from interface: IMaxTextLengthCapability
Sets an int value specifying the maximum number of characters that the user can enter in the component.

Specified by:
setMaxTextLength in interface IMaxTextLengthCapability
Parameters:
maxTextLength - maximum number of characters

isEditable

public boolean isEditable()
Specified by:
isEditable in interface IEditableCapability

isEditable

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


isEditableSetted

public final boolean isEditableSetted()
Returns true if the attribute "editable" is set.

Returns:
true if the attribute is set.

setEditable

public void setEditable(boolean editable)
Specified by:
setEditable in interface IEditableCapability

getFilterProperties

public IFilterProperties getFilterProperties()
Description copied from interface: IFilterCapability
Return an object that represent the filter to use on the server side.

Specified by:
getFilterProperties in interface IFilterCapability
Returns:
filter

getFilterProperties

public IFilterProperties getFilterProperties(FacesContext facesContext)
See getFilterProperties() for more details


isFilterPropertiesSetted

public final boolean isFilterPropertiesSetted()
Returns true if the attribute "filterProperties" is set.

Returns:
true if the attribute is set.

setFilterProperties

public void setFilterProperties(IFilterProperties filterProperties)
Description copied from interface: IFilterCapability
Sets an object that represent the filter to use on the server side.

Specified by:
setFilterProperties in interface IFilterCapability
Parameters:
filterProperties - filter

getSuggestionDelayMs

public int getSuggestionDelayMs()
Returns an int value specifying the delay in milliseconds before showing the suggestion list.

Returns:
delay in milliseconds

getSuggestionDelayMs

public int getSuggestionDelayMs(FacesContext facesContext)
Returns an int value specifying the delay in milliseconds before showing the suggestion list.

Returns:
delay in milliseconds

setSuggestionDelayMs

public void setSuggestionDelayMs(int suggestionDelayMs)
Sets an int value specifying the delay in milliseconds before showing the suggestion list.

Parameters:
suggestionDelayMs - delay in milliseconds

isSuggestionDelayMsSetted

public boolean isSuggestionDelayMsSetted()
Returns true if the attribute "suggestionDelayMs" is set.

Returns:
true if the attribute is set.

getSuggestionMinChars

public int getSuggestionMinChars()
Returns an int value specifying the minimum number of characters before the suggestion is calculated.

Returns:
minimum number of characters

getSuggestionMinChars

public int getSuggestionMinChars(FacesContext facesContext)
Returns an int value specifying the minimum number of characters before the suggestion is calculated.

Returns:
minimum number of characters

setSuggestionMinChars

public void setSuggestionMinChars(int suggestionMinChars)
Sets an int value specifying the minimum number of characters before the suggestion is calculated.

Parameters:
suggestionMinChars - minimum number of characters

isSuggestionMinCharsSetted

public boolean isSuggestionMinCharsSetted()
Returns true if the attribute "suggestionMinChars" is set.

Returns:
true if the attribute is set.

getRowCountVar

public String getRowCountVar()
Returns a string value specifying the name of the variable receiving the number of rows.

Specified by:
getRowCountVar in interface org.rcfaces.core.internal.capability.IGridComponent
Returns:
variable name

getRowCountVar

public String getRowCountVar(FacesContext facesContext)
Returns a string value specifying the name of the variable receiving the number of rows.

Returns:
variable name

setRowCountVar

public void setRowCountVar(String rowCountVar)
Sets a string value specifying the name of the variable receiving the number of rows.

Parameters:
rowCountVar - variable name

isRowCountVarSetted

public boolean isRowCountVarSetted()
Returns true if the attribute "rowCountVar" is set.

Returns:
true if the attribute is set.

getRowIndexVar

public String getRowIndexVar()
Returns a string value specifying the name of the variable receiving the index of the current row.

Specified by:
getRowIndexVar in interface org.rcfaces.core.internal.capability.IGridComponent
Returns:
variable name

getRowIndexVar

public String getRowIndexVar(FacesContext facesContext)
Returns a string value specifying the name of the variable receiving the index of the current row.

Returns:
variable name

setRowIndexVar

public void setRowIndexVar(String rowIndexVar)
Sets a string value specifying the name of the variable receiving the index of the current row.

Parameters:
rowIndexVar - variable name

isRowIndexVarSetted

public boolean isRowIndexVarSetted()
Returns true if the attribute "rowIndexVar" is set.

Returns:
true if the attribute is set.

getValueColumnId

public String getValueColumnId()

getValueColumnId

public String getValueColumnId(FacesContext facesContext)

setValueColumnId

public void setValueColumnId(String valueColumnId)

isValueColumnIdSetted

public boolean isValueColumnIdSetted()
Returns true if the attribute "valueColumnId" is set.

Returns:
true if the attribute is set.

getLabelColumnId

public String getLabelColumnId()

getLabelColumnId

public String getLabelColumnId(FacesContext facesContext)

setLabelColumnId

public void setLabelColumnId(String labelColumnId)

isLabelColumnIdSetted

public boolean isLabelColumnIdSetted()
Returns true if the attribute "labelColumnId" is set.

Returns:
true if the attribute is set.

getSelectedValue

public Object getSelectedValue()

getSelectedValue

public Object getSelectedValue(FacesContext facesContext)

setSelectedValue

public void setSelectedValue(Object selectedValue)

isSelectedValueSetted

public boolean isSelectedValueSetted()
Returns true if the attribute "selectedValue" is set.

Returns:
true if the attribute is set.

getValueFormat

public String getValueFormat()

getValueFormat

public String getValueFormat(FacesContext facesContext)

setValueFormat

public void setValueFormat(String valueFormat)

isValueFormatSetted

public boolean isValueFormatSetted()
Returns true if the attribute "valueFormat" is set.

Returns:
true if the attribute is set.

isForceValidation

public boolean isForceValidation()

isForceValidation

public boolean isForceValidation(FacesContext facesContext)

setForceValidation

public void setForceValidation(boolean forceValidation)

isForceValidationSetted

public boolean isForceValidationSetted()
Returns true if the attribute "forceValidation" is set.

Returns:
true if the attribute is set.

getForLabel

public String getForLabel()

getForLabel

public String getForLabel(FacesContext facesContext)

setForLabel

public void setForLabel(String forLabel)

isForLabelSetted

public boolean isForLabelSetted()
Returns true if the attribute "forLabel" is set.

Returns:
true if the attribute is set.

getValueFormatLabel

public String getValueFormatLabel()

getValueFormatLabel

public String getValueFormatLabel(FacesContext facesContext)

setValueFormatLabel

public void setValueFormatLabel(String valueFormatLabel)

isValueFormatLabelSetted

public boolean isValueFormatLabelSetted()
Returns true if the attribute "valueFormatLabel" is set.

Returns:
true if the attribute is set.

getNoValueFormatLabel

public String getNoValueFormatLabel()

getNoValueFormatLabel

public String getNoValueFormatLabel(FacesContext facesContext)

setNoValueFormatLabel

public void setNoValueFormatLabel(String noValueFormatLabel)

isNoValueFormatLabelSetted

public boolean isNoValueFormatLabelSetted()
Returns true if the attribute "noValueFormatLabel" is set.

Returns:
true if the attribute is set.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractGridComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.