org.rcfaces.core.component
Class TimeEntryComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.rcfaces.core.internal.component.CameliaInputComponent
                      extended by org.rcfaces.core.component.AbstractInputComponent
                          extended by org.rcfaces.core.component.TimeEntryComponent
All Implemented Interfaces:
EditableValueHolder, StateHolder, ValueHolder, IAccessKeyCapability, IAlternateTextCapability, IAutoTabCapability, IClientDataCapability, IComponentLocaleCapability, IComponentTimeZoneCapability, IDisabledCapability, IErrorEventCapability, IFocusBlurEventCapability, IFocusStyleClassCapability, IFontCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IImmediateCapability, IInitEventCapability, IKeyDownEventCapability, IKeyEventCapability, IKeyPressEventCapability, IKeyUpEventCapability, ILayoutPositionCapability, ILiteralLocaleCapability, ILiteralTimeZoneCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IReadOnlyCapability, IRequiredCapability, ISelectionEventCapability, IServerDataCapability, ISeverityStyleClassCapability, ISizeCapability, IStyleClassCapability, ITabIndexCapability, ITextAlignmentCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IValidationEventCapability, IValueChangeEventCapability, IValueLockedCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IConvertValueHolder, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.capability.ISubmittedExternalValue, 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.manager.IValidationParameters

public class TimeEntryComponent
extends AbstractInputComponent
implements IRequiredCapability, IAutoTabCapability, IValueChangeEventCapability, IFocusStyleClassCapability, ISelectionEventCapability, IReadOnlyCapability, ILiteralLocaleCapability, ILiteralTimeZoneCapability, IComponentLocaleCapability, IComponentTimeZoneCapability, ISeverityStyleClassCapability, IAlternateTextCapability, org.rcfaces.core.internal.manager.IValidationParameters

The timeEntry Component is a specialized textEntry Component. it sports auto-completion related to the validity of the numbers entered as a time.

The timeEntry Component has the following capabilities :


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
protected static String CAMELIA_VALUE_ALIAS
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaInputComponent
engine
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
 
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
 
Constructor Summary
TimeEntryComponent()
           
TimeEntryComponent(String componentId)
           
 
Method Summary
 void addSelectionListener(ISelectionListener listener)
          Adds a listener to the component for the selection event
 void addValueChangeListener(ValueChangeListener listener)
          Adds a listener to the component for the valueChange event
 String getAlternateText()
           
 String getAlternateText(FacesContext facesContext)
          See getAlternateText() for more details
protected  Set getCameliaFields()
           
protected  String getCameliaValueAlias()
           
 Map getClientValidationParametersMap()
           
 Map getClientValidationParametersMap(FacesContext facesContext)
           
 Locale getComponentLocale()
          Returns the locale defined for the component
 Locale getComponentLocale(FacesContext facesContext)
          See getComponentLocale() for more details
 TimeZone getComponentTimeZone()
          Returns the timeZone defined for the component.
 TimeZone getComponentTimeZone(FacesContext facesContext)
          See getComponentTimeZone() for more details
 Time getDefaultTime()
          Returns the default value.
 Time getDefaultTime(FacesContext facesContext)
          Returns the default value.
 String getErrorStyleClass()
          Returns a space-separated list of CSS style class(es) to be applied for error messages.
 String getErrorStyleClass(FacesContext facesContext)
          See getErrorStyleClass() for more details
 String getFatalStyleClass()
          Returns a space-separated list of CSS style class(es) to be applied for fatal messages.
 String getFatalStyleClass(FacesContext facesContext)
          See getFatalStyleClass() for more details
 String getFocusStyleClass()
          Returns the style class of the component.
 String getFocusStyleClass(FacesContext facesContext)
          See getFocusStyleClass() for more details
 String getHourStep()
          Returns an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.
 String getHourStep(FacesContext facesContext)
          Returns an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.
 String getInfoStyleClass()
          Returns a space-separated list of CSS style class(es) to be applied for info messages.
 String getInfoStyleClass(FacesContext facesContext)
          See getInfoStyleClass() for more details
 Locale getLiteralLocale()
          Returns the locale defined for literal attributes.
 Locale getLiteralLocale(FacesContext facesContext)
          See getLiteralLocale() for more details
 TimeZone getLiteralTimeZone()
          Returns the timeZone defined for literal attributes.
 TimeZone getLiteralTimeZone(FacesContext facesContext)
          See getLiteralTimeZone() for more details
 Time getMaxTime()
          Returns a time value indicating the maximum acceptable time for the component.
 Time getMaxTime(FacesContext facesContext)
          Returns a time value indicating the maximum acceptable time for the component.
 String getMillisStep()
          Returns an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.
 String getMillisStep(FacesContext facesContext)
          Returns an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.
 Time getMinTime()
          Returns a time value indicating the minimum acceptable time for the component.
 Time getMinTime(FacesContext facesContext)
          Returns a time value indicating the minimum acceptable time for the component.
 String getMinuteStep()
          Returns an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.
 String getMinuteStep(FacesContext facesContext)
          Returns an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.
 String getSecondStep()
          Returns an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.
 String getSecondStep(FacesContext facesContext)
          Returns an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.
 Time getTime()
           
 String getTimeFormat()
           
 String getTimeFormat(FacesContext facesContext)
           
 String getValidationParameter(String name)
           
 String getValidationParameter(String name, FacesContext facesContext)
           
 int getValidationParametersCount()
           
 int getValidationParametersCount(FacesContext facesContext)
           
 Map getValidationParametersMap()
           
 Map getValidationParametersMap(FacesContext facesContext)
           
 String getWarnStyleClass()
          Returns a space-separated list of CSS style class(es) to be applied for warning messages.
 String getWarnStyleClass(FacesContext facesContext)
          See getWarnStyleClass() for more details
 boolean isAlternateTextSetted()
          Returns true if the attribute "alternateText" is set.
 boolean isAutoCompletion()
          Returns a boolean value indicating if the component should complete automaticaly the user entry.
 boolean isAutoCompletion(FacesContext facesContext)
          Returns a boolean value indicating if the component should complete automaticaly the user entry.
 boolean isAutoCompletionSetted()
          Returns true if the attribute "autoCompletion" is set.
 boolean isAutoTab()
          Returns a boolean value indicating if the focus should move automatically to the next element when the entry is completed.
 boolean isAutoTab(FacesContext facesContext)
          See isAutoTab() for more details
 boolean isAutoTabSetted()
          Returns true if the attribute "autoTab" is set.
 boolean isClientSideValidationParameter(String name)
           
 boolean isClientSideValidationParameter(String name, FacesContext facesContext)
           
 boolean isComponentLocaleSetted()
          Returns true if the attribute "componentLocale" is set.
 boolean isComponentTimeZoneSetted()
          Returns true if the attribute "componentTimeZone" is set.
 boolean isDefaultTimeSetted()
          Returns true if the attribute "defaultTime" is set.
 boolean isErrorStyleClassSetted()
          Returns true if the attribute "errorStyleClass" is set.
 boolean isFatalStyleClassSetted()
          Returns true if the attribute "fatalStyleClass" is set.
 boolean isFocusStyleClassSetted()
          Returns true if the attribute "focusStyleClass" is set.
 boolean isHourStepSetted()
          Returns true if the attribute "hourStep" is set.
 boolean isInfoStyleClassSetted()
          Returns true if the attribute "infoStyleClass" is set.
 boolean isLiteralLocaleSetted()
          Returns true if the attribute "literalLocale" is set.
 boolean isLiteralTimeZoneSetted()
          Returns true if the attribute "literalTimeZone" is set.
 boolean isMaxTimeSetted()
          Returns true if the attribute "maxTime" is set.
 boolean isMillisStepSetted()
          Returns true if the attribute "millisStep" is set.
 boolean isMinTimeSetted()
          Returns true if the attribute "minTime" is set.
 boolean isMinuteStepSetted()
          Returns true if the attribute "minuteStep" 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 isSecondStepSetted()
          Returns true if the attribute "secondStep" is set.
 boolean isTimeFormatSetted()
          Returns true if the attribute "timeFormat" is set.
 boolean isWarnStyleClassSetted()
          Returns true if the attribute "warnStyleClass" is set.
 FacesListener[] listSelectionListeners()
          Returns a list of selection listener for the component
 FacesListener[] listValueChangeListeners()
          Returns a list of valueChange listener for the component
 void removeSelectionListener(ISelectionListener listener)
          Removes a listener from the component for the selection event
 String removeValidationParameter(String name)
           
 void removeValueChangeListener(ValueChangeListener listener)
          Removes a listener from the component for the valueChange event
 void setAlternateText(String alternateText)
           
 void setAutoCompletion(boolean autoCompletion)
          Sets a boolean value indicating if the component should complete automaticaly the user entry.
 void setAutoTab(boolean autoTab)
          Sets a boolean value indicating if the focus should move automatically to the next element when the entry is completed.
 void setComponentLocale(Locale componentLocale)
          Sets the locale for the component
 void setComponentLocale(String locale)
           
 void setComponentTimeZone(String timeZone)
           
 void setComponentTimeZone(TimeZone componentTimeZone)
          Sets the timeZone for component.
 void setDefaultTime(String time)
           
 void setDefaultTime(Time defaultTime)
          Sets the default value.
 void setErrorStyleClass(String errorStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for error messages.
 void setFatalStyleClass(String fatalStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for fatal messages.
 void setFocusStyleClass(String focusStyleClass)
          Specify the style class of the component.
 void setHourStep(String hourStep)
          Sets an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.
 void setInfoStyleClass(String infoStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for info messages.
 void setLiteralLocale(Locale literalLocale)
          Sets the locale for literal attributes.
 void setLiteralLocale(String locale)
           
 void setLiteralTimeZone(String timeZone)
           
 void setLiteralTimeZone(TimeZone literalTimeZone)
          Sets the timeZone for literal attributes.
 void setMaxTime(String time)
           
 void setMaxTime(Time maxTime)
          Sets a time value indicating the maximum acceptable time for the component.
 void setMillisStep(String millisStep)
          Sets an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.
 void setMinTime(String time)
           
 void setMinTime(Time minTime)
          Sets a time value indicating the minimum acceptable time for the component.
 void setMinuteStep(String minuteStep)
          Steps an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.
 void setReadOnly(boolean readOnly)
          Sets a boolean value indicating that this component will prohibit changes by the user.
 void setSecondStep(String secondStep)
          Sets an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.
 void setTime(String time)
           
 void setTime(Time time)
           
 void setTimeFormat(String timeFormat)
           
 String setValidationParameter(String name, String value, boolean client)
           
 void setValidationParameter(String name, javax.el.ValueExpression value, boolean client)
           
 void setWarnStyleClass(String warnStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for warning messages.
 
Methods inherited from class org.rcfaces.core.component.AbstractInputComponent
addBlurListener, addErrorListener, addFocusListener, addInitListener, addKeyDownListener, addKeyPressListener, addKeyUpListener, addMouseOutListener, addMouseOverListener, addPropertyChangeListener, addUserEventListener, addValidationListener, getAccessKey, getAccessKey, getAriaLabel, getAriaLabel, getAriaLevel, getAriaLevel, getBackgroundColor, getBackgroundColor, getBottom, getBottom, getClientData, getClientData, getClientDataCount, getClientDataMap, getClientDataMap, getFontBold, getFontBold, getFontItalic, getFontItalic, getFontName, getFontName, getFontSize, getFontSize, getFontUnderline, getFontUnderline, getForegroundColor, getForegroundColor, getHeight, getHeight, getHelpMessage, getHelpMessage, getHelpURL, getHelpURL, getHiddenMode, getHiddenMode, getLeft, getLeft, getLookId, getLookId, getMarginBottom, getMarginBottom, getMarginLeft, getMarginLeft, getMarginRight, getMarginRight, getMarginTop, getMarginTop, getRight, getRight, getServerData, getServerData, getServerDataCount, getServerDataMap, getServerDataMap, getStyleClass, getStyleClass, getTabIndex, getTabIndex, getTextAlignment, getTextAlignment, getToolTipText, getToolTipText, getTop, getTop, getUnlockedClientAttributeNames, getUnlockedClientAttributeNames, getVisibleState, getVisibleState, getWaiRole, getWaiRole, getWidth, getWidth, getX, getX, getY, getY, isAccessKeySetted, isAriaLabelSetted, isAriaLevelSetted, isBackgroundColorSetted, isBottomSetted, isDisabled, isDisabled, isDisabledSetted, isFontBoldSetted, isFontItalicSetted, isFontNameSetted, isFontSizeSetted, isFontUnderlineSetted, isForegroundColorSetted, isHeightSetted, isHelpMessageSetted, isHelpURLSetted, isHiddenModeSetted, isLeftSetted, isLookIdSetted, isMarginBottomSetted, isMarginLeftSetted, isMarginRightSetted, isMarginTopSetted, isPartialRendering, isPartialRendering, isPartialRenderingSetted, isRightSetted, isStyleClassSetted, isTabIndexSetted, isTextAlignmentSetted, isToolTipTextSetted, isTopSetted, isUnlockedClientAttributeNamesSetted, isValueLocked, isValueLocked, isValueLockedSetted, isVisible, isVisible, isVisibleSetted, isWaiRoleSetted, isWidthSetted, isXSetted, isYSetted, listBlurListeners, listClientDataKeys, listClientDataKeys, listErrorListeners, listFocusListeners, listInitListeners, listKeyDownListeners, listKeyPressListeners, listKeyUpListeners, listMouseOutListeners, listMouseOverListeners, listPropertyChangeListeners, listServerDataKeys, listServerDataKeys, listUserEventListeners, listValidationListeners, removeBlurListener, removeClientData, removeErrorListener, removeFocusListener, removeInitListener, removeKeyDownListener, removeKeyPressListener, removeKeyUpListener, removeMouseOutListener, removeMouseOverListener, removePropertyChangeListener, removeServerData, removeUserEventListener, removeValidationListener, setAccessKey, setAriaLabel, setAriaLevel, setBackgroundColor, setBottom, setClientData, setClientData, setDisabled, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline, setForegroundColor, setHeight, setHelpMessage, setHelpURL, setHiddenMode, setHiddenMode, setLeft, setLookId, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPartialRendering, setRight, setServerData, setServerData, setStyleClass, setTabIndex, setTextAlignment, setToolTipText, setTop, setUnlockedClientAttributeNames, setValueLocked, setVisible, setWaiRole, setWidth, setX, setY
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaInputComponent
broadcast, clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getChildren, getChildrenListState, getConvertedValue, getFamily, getLocalValue, getRendererType, getSubmittedExternalValue, getTransientAttribute, getValue, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isSubmittedValueSetted, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setConverter, setConverter, setDefaultProperties, setRendered, setSubmittedExternalValue, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIInput
addValidator, compareValues, decode, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, resetValue, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, 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.IRequiredCapability
isRequired, setRequired
 
Methods inherited from interface org.rcfaces.core.component.capability.IStyleClassCapability
getStyleClass, setStyleClass
 
Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability
isImmediate, setImmediate
 
Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager
getChildCount
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, setConverter, setValue
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

CAMELIA_ATTRIBUTES

protected static final Set CAMELIA_ATTRIBUTES

CAMELIA_VALUE_ALIAS

protected static final String CAMELIA_VALUE_ALIAS
See Also:
Constant Field Values
Constructor Detail

TimeEntryComponent

public TimeEntryComponent()

TimeEntryComponent

public TimeEntryComponent(String componentId)
Method Detail

getValidationParametersCount

public int getValidationParametersCount()
Specified by:
getValidationParametersCount in interface org.rcfaces.core.internal.manager.IValidationParameters

isClientSideValidationParameter

public boolean isClientSideValidationParameter(String name)
Specified by:
isClientSideValidationParameter in interface org.rcfaces.core.internal.manager.IValidationParameters

getValidationParametersMap

public Map getValidationParametersMap()
Specified by:
getValidationParametersMap in interface org.rcfaces.core.internal.manager.IValidationParameters

setValidationParameter

public void setValidationParameter(String name,
                                   javax.el.ValueExpression value,
                                   boolean client)
Specified by:
setValidationParameter in interface org.rcfaces.core.internal.manager.IValidationParameters

getValidationParameter

public String getValidationParameter(String name)
Specified by:
getValidationParameter in interface org.rcfaces.core.internal.manager.IValidationParameters

getClientValidationParametersMap

public Map getClientValidationParametersMap()
Specified by:
getClientValidationParametersMap in interface org.rcfaces.core.internal.manager.IValidationParameters

removeValidationParameter

public String removeValidationParameter(String name)
Specified by:
removeValidationParameter in interface org.rcfaces.core.internal.manager.IValidationParameters

setValidationParameter

public String setValidationParameter(String name,
                                     String value,
                                     boolean client)
Specified by:
setValidationParameter in interface org.rcfaces.core.internal.manager.IValidationParameters

getTime

public Time getTime()

setTime

public void setTime(Time time)

setTime

public void setTime(String time)

setMinTime

public void setMinTime(String time)

setDefaultTime

public void setDefaultTime(String time)

setMaxTime

public void setMaxTime(String time)

setLiteralLocale

public void setLiteralLocale(String locale)

setComponentLocale

public void setComponentLocale(String locale)

setLiteralTimeZone

public void setLiteralTimeZone(String timeZone)

setComponentTimeZone

public void setComponentTimeZone(String timeZone)

getValidationParameter

public String getValidationParameter(String name,
                                     FacesContext facesContext)

getValidationParametersCount

public int getValidationParametersCount(FacesContext facesContext)

getValidationParametersMap

public Map getValidationParametersMap(FacesContext facesContext)

getClientValidationParametersMap

public Map getClientValidationParametersMap(FacesContext facesContext)

isClientSideValidationParameter

public boolean isClientSideValidationParameter(String name,
                                               FacesContext facesContext)

isAutoTab

public boolean isAutoTab()
Description copied from interface: IAutoTabCapability
Returns a boolean value indicating if the focus should move automatically to the next element when the entry is completed.

Specified by:
isAutoTab in interface IAutoTabCapability
Returns:
boolean

isAutoTab

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


isAutoTabSetted

public final boolean isAutoTabSetted()
Returns true if the attribute "autoTab" is set.

Returns:
true if the attribute is set.

setAutoTab

public void setAutoTab(boolean autoTab)
Description copied from interface: IAutoTabCapability
Sets a boolean value indicating if the focus should move automatically to the next element when the entry is completed.

Specified by:
setAutoTab in interface IAutoTabCapability
Parameters:
autoTab - boolean

addValueChangeListener

public final void addValueChangeListener(ValueChangeListener listener)
Description copied from interface: IValueChangeEventCapability
Adds a listener to the component for the valueChange event

Specified by:
addValueChangeListener in interface EditableValueHolder
Specified by:
addValueChangeListener in interface IValueChangeEventCapability
Overrides:
addValueChangeListener in class UIInput
Parameters:
listener - the valueChange listener to add

removeValueChangeListener

public final void removeValueChangeListener(ValueChangeListener listener)
Description copied from interface: IValueChangeEventCapability
Removes a listener from the component for the valueChange event

Specified by:
removeValueChangeListener in interface EditableValueHolder
Specified by:
removeValueChangeListener in interface IValueChangeEventCapability
Overrides:
removeValueChangeListener in class UIInput
Parameters:
listener - the valueChange listener to remove

listValueChangeListeners

public final FacesListener[] listValueChangeListeners()
Description copied from interface: IValueChangeEventCapability
Returns a list of valueChange listener for the component

Specified by:
listValueChangeListeners in interface IValueChangeEventCapability
Returns:
valueChange listeners' list

getFocusStyleClass

public String getFocusStyleClass()
Description copied from interface: IFocusStyleClassCapability
Returns the style class of the component.

Specified by:
getFocusStyleClass in interface IFocusStyleClassCapability
Returns:
style class

getFocusStyleClass

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


isFocusStyleClassSetted

public final boolean isFocusStyleClassSetted()
Returns true if the attribute "focusStyleClass" is set.

Returns:
true if the attribute is set.

setFocusStyleClass

public void setFocusStyleClass(String focusStyleClass)
Description copied from interface: IFocusStyleClassCapability
Specify the style class of the component.

Specified by:
setFocusStyleClass in interface IFocusStyleClassCapability
Parameters:
focusStyleClass - style class

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

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

getLiteralLocale

public Locale getLiteralLocale()
Description copied from interface: ILiteralLocaleCapability
Returns the locale defined for literal attributes. (date, number)

Specified by:
getLiteralLocale in interface ILiteralLocaleCapability
Returns:
the defined locale

getLiteralLocale

public Locale getLiteralLocale(FacesContext facesContext)
See getLiteralLocale() for more details


isLiteralLocaleSetted

public final boolean isLiteralLocaleSetted()
Returns true if the attribute "literalLocale" is set.

Returns:
true if the attribute is set.

setLiteralLocale

public void setLiteralLocale(Locale literalLocale)
Description copied from interface: ILiteralLocaleCapability
Sets the locale for literal attributes. (date, number)

Specified by:
setLiteralLocale in interface ILiteralLocaleCapability
Parameters:
literalLocale - locale to define

getLiteralTimeZone

public TimeZone getLiteralTimeZone()
Description copied from interface: ILiteralTimeZoneCapability
Returns the timeZone defined for literal attributes. (date)

Specified by:
getLiteralTimeZone in interface ILiteralTimeZoneCapability
Returns:
the defined timeZone

getLiteralTimeZone

public TimeZone getLiteralTimeZone(FacesContext facesContext)
See getLiteralTimeZone() for more details


isLiteralTimeZoneSetted

public final boolean isLiteralTimeZoneSetted()
Returns true if the attribute "literalTimeZone" is set.

Returns:
true if the attribute is set.

setLiteralTimeZone

public void setLiteralTimeZone(TimeZone literalTimeZone)
Description copied from interface: ILiteralTimeZoneCapability
Sets the timeZone for literal attributes. (date)

Specified by:
setLiteralTimeZone in interface ILiteralTimeZoneCapability
Parameters:
literalTimeZone - timeZone to define

getComponentLocale

public Locale getComponentLocale()
Description copied from interface: IComponentLocaleCapability
Returns the locale defined for the component

Specified by:
getComponentLocale in interface IComponentLocaleCapability
Returns:
the defined locale

getComponentLocale

public Locale getComponentLocale(FacesContext facesContext)
See getComponentLocale() for more details


isComponentLocaleSetted

public final boolean isComponentLocaleSetted()
Returns true if the attribute "componentLocale" is set.

Returns:
true if the attribute is set.

setComponentLocale

public void setComponentLocale(Locale componentLocale)
Description copied from interface: IComponentLocaleCapability
Sets the locale for the component

Specified by:
setComponentLocale in interface IComponentLocaleCapability
Parameters:
componentLocale - locale to define

getComponentTimeZone

public TimeZone getComponentTimeZone()
Description copied from interface: IComponentTimeZoneCapability
Returns the timeZone defined for the component.

Specified by:
getComponentTimeZone in interface IComponentTimeZoneCapability
Returns:
the defined timeZone

getComponentTimeZone

public TimeZone getComponentTimeZone(FacesContext facesContext)
See getComponentTimeZone() for more details


isComponentTimeZoneSetted

public final boolean isComponentTimeZoneSetted()
Returns true if the attribute "componentTimeZone" is set.

Returns:
true if the attribute is set.

setComponentTimeZone

public void setComponentTimeZone(TimeZone componentTimeZone)
Description copied from interface: IComponentTimeZoneCapability
Sets the timeZone for component.

Specified by:
setComponentTimeZone in interface IComponentTimeZoneCapability
Parameters:
componentTimeZone - timeZone to define

getErrorStyleClass

public String getErrorStyleClass()
Description copied from interface: ISeverityStyleClassCapability
Returns a space-separated list of CSS style class(es) to be applied for error messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
getErrorStyleClass in interface ISeverityStyleClassCapability
Returns:
list of CSS style classes

getErrorStyleClass

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


isErrorStyleClassSetted

public final boolean isErrorStyleClassSetted()
Returns true if the attribute "errorStyleClass" is set.

Returns:
true if the attribute is set.

setErrorStyleClass

public void setErrorStyleClass(String errorStyleClass)
Description copied from interface: ISeverityStyleClassCapability
Sets a space-separated list of CSS style class(es) to be applied for error messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
setErrorStyleClass in interface ISeverityStyleClassCapability
Parameters:
errorStyleClass - list of CSS style classes

getFatalStyleClass

public String getFatalStyleClass()
Description copied from interface: ISeverityStyleClassCapability
Returns a space-separated list of CSS style class(es) to be applied for fatal messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
getFatalStyleClass in interface ISeverityStyleClassCapability
Returns:
list of CSS style classes

getFatalStyleClass

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


isFatalStyleClassSetted

public final boolean isFatalStyleClassSetted()
Returns true if the attribute "fatalStyleClass" is set.

Returns:
true if the attribute is set.

setFatalStyleClass

public void setFatalStyleClass(String fatalStyleClass)
Description copied from interface: ISeverityStyleClassCapability
Sets a space-separated list of CSS style class(es) to be applied for fatal messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
setFatalStyleClass in interface ISeverityStyleClassCapability
Parameters:
fatalStyleClass - list of CSS style classes

getInfoStyleClass

public String getInfoStyleClass()
Description copied from interface: ISeverityStyleClassCapability
Returns a space-separated list of CSS style class(es) to be applied for info messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
getInfoStyleClass in interface ISeverityStyleClassCapability
Returns:
list of CSS style classes

getInfoStyleClass

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


isInfoStyleClassSetted

public final boolean isInfoStyleClassSetted()
Returns true if the attribute "infoStyleClass" is set.

Returns:
true if the attribute is set.

setInfoStyleClass

public void setInfoStyleClass(String infoStyleClass)
Description copied from interface: ISeverityStyleClassCapability
Sets a space-separated list of CSS style class(es) to be applied for info messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
setInfoStyleClass in interface ISeverityStyleClassCapability
Parameters:
infoStyleClass - list of CSS style classes

getWarnStyleClass

public String getWarnStyleClass()
Description copied from interface: ISeverityStyleClassCapability
Returns a space-separated list of CSS style class(es) to be applied for warning messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
getWarnStyleClass in interface ISeverityStyleClassCapability
Returns:
list of CSS style classes

getWarnStyleClass

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


isWarnStyleClassSetted

public final boolean isWarnStyleClassSetted()
Returns true if the attribute "warnStyleClass" is set.

Returns:
true if the attribute is set.

setWarnStyleClass

public void setWarnStyleClass(String warnStyleClass)
Description copied from interface: ISeverityStyleClassCapability
Sets a space-separated list of CSS style class(es) to be applied for warning messages. This value will be passed through as the "class" attribute on generated markup.

Specified by:
setWarnStyleClass in interface ISeverityStyleClassCapability
Parameters:
warnStyleClass - list of CSS style classes

getAlternateText

public String getAlternateText()
Specified by:
getAlternateText in interface IAlternateTextCapability

getAlternateText

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


isAlternateTextSetted

public final boolean isAlternateTextSetted()
Returns true if the attribute "alternateText" is set.

Returns:
true if the attribute is set.

setAlternateText

public void setAlternateText(String alternateText)
Specified by:
setAlternateText in interface IAlternateTextCapability

isAutoCompletion

public boolean isAutoCompletion()
Returns a boolean value indicating if the component should complete automaticaly the user entry.

Returns:
true if the user entry must completed

isAutoCompletion

public boolean isAutoCompletion(FacesContext facesContext)
Returns a boolean value indicating if the component should complete automaticaly the user entry.

Returns:
true if the user entry must completed

setAutoCompletion

public void setAutoCompletion(boolean autoCompletion)
Sets a boolean value indicating if the component should complete automaticaly the user entry.

Parameters:
autoCompletion - true if the user entry must completed

isAutoCompletionSetted

public boolean isAutoCompletionSetted()
Returns true if the attribute "autoCompletion" is set.

Returns:
true if the attribute is set.

getMinTime

public Time getMinTime()
Returns a time value indicating the minimum acceptable time for the component. The first accepted value is greater than minTime.

Returns:
min Time

getMinTime

public Time getMinTime(FacesContext facesContext)
Returns a time value indicating the minimum acceptable time for the component. The first accepted value is greater than minTime.

Returns:
min Time

setMinTime

public void setMinTime(Time minTime)
Sets a time value indicating the minimum acceptable time for the component. The first accepted value is greater than minTime.

Parameters:
minTime - min Time

isMinTimeSetted

public boolean isMinTimeSetted()
Returns true if the attribute "minTime" is set.

Returns:
true if the attribute is set.

getDefaultTime

public Time getDefaultTime()
Returns the default value.

Returns:
default value

getDefaultTime

public Time getDefaultTime(FacesContext facesContext)
Returns the default value.

Returns:
default value

setDefaultTime

public void setDefaultTime(Time defaultTime)
Sets the default value.

Parameters:
defaultTime - default value

isDefaultTimeSetted

public boolean isDefaultTimeSetted()
Returns true if the attribute "defaultTime" is set.

Returns:
true if the attribute is set.

getMaxTime

public Time getMaxTime()
Returns a time value indicating the maximum acceptable time for the component. The last accepted value is lesser than maxTime.

Returns:
max time

getMaxTime

public Time getMaxTime(FacesContext facesContext)
Returns a time value indicating the maximum acceptable time for the component. The last accepted value is lesser than maxTime.

Returns:
max time

setMaxTime

public void setMaxTime(Time maxTime)
Sets a time value indicating the maximum acceptable time for the component. The last accepted value is lesser than maxTime.

Parameters:
maxTime - max time

isMaxTimeSetted

public boolean isMaxTimeSetted()
Returns true if the attribute "maxTime" is set.

Returns:
true if the attribute is set.

getTimeFormat

public String getTimeFormat()

getTimeFormat

public String getTimeFormat(FacesContext facesContext)

setTimeFormat

public void setTimeFormat(String timeFormat)

isTimeFormatSetted

public boolean isTimeFormatSetted()
Returns true if the attribute "timeFormat" is set.

Returns:
true if the attribute is set.

getHourStep

public String getHourStep()
Returns an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.

Returns:
step used

getHourStep

public String getHourStep(FacesContext facesContext)
Returns an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.

Returns:
step used

setHourStep

public void setHourStep(String hourStep)
Sets an int value specifying the step used for the hour field when increasing/decreasing the value with the up/down arrows.

Parameters:
hourStep - stop to use

isHourStepSetted

public boolean isHourStepSetted()
Returns true if the attribute "hourStep" is set.

Returns:
true if the attribute is set.

getMinuteStep

public String getMinuteStep()
Returns an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.

Returns:
step

getMinuteStep

public String getMinuteStep(FacesContext facesContext)
Returns an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.

Returns:
step

setMinuteStep

public void setMinuteStep(String minuteStep)
Steps an int value specifying the step used for the minute field when increasing/decreasing the value with the up/down arrows.

Parameters:
minuteStep - step

isMinuteStepSetted

public boolean isMinuteStepSetted()
Returns true if the attribute "minuteStep" is set.

Returns:
true if the attribute is set.

getSecondStep

public String getSecondStep()
Returns an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.

Returns:
step

getSecondStep

public String getSecondStep(FacesContext facesContext)
Returns an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.

Returns:
step

setSecondStep

public void setSecondStep(String secondStep)
Sets an int value specifying the step used for the second field when increasing/decreasing the value with the up/down arrows.

Parameters:
secondStep - step

isSecondStepSetted

public boolean isSecondStepSetted()
Returns true if the attribute "secondStep" is set.

Returns:
true if the attribute is set.

getMillisStep

public String getMillisStep()
Returns an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.

Returns:
step

getMillisStep

public String getMillisStep(FacesContext facesContext)
Returns an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.

Returns:
step

setMillisStep

public void setMillisStep(String millisStep)
Sets an int value specifying the step used for the millisecond field when increasing/decreasing the value with the up/down arrows.

Parameters:
millisStep - step

isMillisStepSetted

public boolean isMillisStepSetted()
Returns true if the attribute "millisStep" is set.

Returns:
true if the attribute is set.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractInputComponent

getCameliaValueAlias

protected String getCameliaValueAlias()
Overrides:
getCameliaValueAlias in class org.rcfaces.core.internal.component.CameliaInputComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.