org.rcfaces.core.component
Class RadioButtonComponent

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.RadioButtonComponent
All Implemented Interfaces:
EditableValueHolder, StateHolder, ValueHolder, IAccessKeyCapability, IAlternateTextCapability, IClientDataCapability, IDisabledCapability, IErrorEventCapability, IFocusBlurEventCapability, IFocusStyleClassCapability, IFontCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IHorizontalTextPositionCapability, IImmediateCapability, IInitEventCapability, IKeyDownEventCapability, IKeyEventCapability, IKeyPressEventCapability, IKeyUpEventCapability, ILayoutPositionCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IRadioGroupCapability, IRadioValueCapability, IReadOnlyCapability, IRequiredCapability, ISelectedCapability, ISelectionEventCapability, IServerDataCapability, ISeverityStyleClassCapability, ISizeCapability, IStyleClassCapability, ITabIndexCapability, ITextAlignmentCapability, ITextCapability, ITextDirectionCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IValidationEventCapability, 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
Direct Known Subclasses:
ImageRadioButtonComponent

public class RadioButtonComponent
extends AbstractInputComponent
implements ITextCapability, ITextDirectionCapability, IHorizontalTextPositionCapability, ISelectionEventCapability, IReadOnlyCapability, IAlternateTextCapability, ISeverityStyleClassCapability, IFocusStyleClassCapability, ISelectedCapability, IRadioValueCapability, IRequiredCapability, org.rcfaces.core.internal.manager.IValidationParameters

The radioButton Component is based on the standard HTML tag <INPUT TYPE="radio">. It can interoperate automatically with other radioButtons from the same group.

The radioButton Component has the following capabilities :

The default radioButton renderer is linked to the f_radioButton javascript class. f_radioButton extends f_checkButton, fa_groupName, fa_required, fa_clientValidatorParameters

Table of component style classes:

Style Name Description
f_radioButton Defines styles for the wrapper element


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
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.ITextDirectionCapability
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION
 
Fields inherited from interface org.rcfaces.core.component.capability.IHorizontalTextPositionCapability
CENTER_POSITION, DEFAULT_POSITION, LEFT_POSITION, RIGHT_POSITION, UNKNOWN_POSITION
 
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
RadioButtonComponent()
           
RadioButtonComponent(String componentId)
           
 
Method Summary
 void addSelectionListener(ISelectionListener listener)
          Adds a listener to the component for the selection event
 String getAlternateText()
           
 String getAlternateText(FacesContext facesContext)
          See getAlternateText() for more details
protected  Set getCameliaFields()
           
 Map getClientValidationParametersMap()
           
 Map getClientValidationParametersMap(FacesContext facesContext)
           
 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 getGroupName()
          Returns a string specifying the name of the virtual entity that links different components together.
 String getGroupName(FacesContext facesContext)
          See getGroupName() for more details
 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
 Object getRadioValue()
          Returns the object associated with the group valued for this component.
 Object getRadioValue(FacesContext facesContext)
          See getRadioValue() for more details
 RadioButtonComponent getSelectedFromSameGroup()
           
 String getText()
          Returns a string value specifying the text shown.
 String getText(FacesContext facesContext)
          See getText() for more details
 int getTextDirection()
           
 int getTextDirection(FacesContext facesContext)
          See getTextDirection() for more details
 int getTextPosition()
          Returns an int value specifying the position of the text in the component.
 int getTextPosition(FacesContext facesContext)
          See getTextPosition() for more details
protected  Converter getTextPositionConverter()
           
 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 isClientSideValidationParameter(String name)
           
 boolean isClientSideValidationParameter(String name, FacesContext facesContext)
           
 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 isGroupNameSetted()
          Returns true if the attribute "groupName" is set.
 boolean isInfoStyleClassSetted()
          Returns true if the attribute "infoStyleClass" is set.
 boolean isRadioValueSetted()
          Returns true if the attribute "radioValue" 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 isSelected()
          Returns a boolean value indicating wether the component is selected.
 boolean isSelected(FacesContext facesContext)
          See isSelected() for more details
 boolean isSelectedSetted()
          Returns true if the attribute "selected" is set.
 boolean isTextDirectionSetted()
          Returns true if the attribute "textDirection" is set.
 boolean isTextPositionSetted()
          Returns true if the attribute "textPosition" is set.
 boolean isTextSetted()
          Returns true if the attribute "text" is set.
 boolean isWarnStyleClassSetted()
          Returns true if the attribute "warnStyleClass" is set.
 IRadioButtonIterator listSameGroup()
           
 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
 String removeValidationParameter(String name)
           
 void setAlternateText(String alternateText)
           
 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 setGroupName(String groupName)
          Sets a string specifying the name of the virtual entity that links different components together.
 void setInfoStyleClass(String infoStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for info messages.
 void setRadioValue(Object radioValue)
          Sets the object associated with the group valued for this component.
 void setReadOnly(boolean readOnly)
          Sets a boolean value indicating that this component will prohibit changes by the user.
 void setSelected(boolean selected)
          Sets a boolean value indicating wether the component is selected.
 void setText(String text)
          Sets a string value specifying the text to be shown.
 void setTextDirection(int textDirection)
           
 void setTextPosition(int textPosition)
          Sets an int value specifying the position of the text in the component.
 void setTextPosition(String textPosition)
           
 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, getCameliaValueAlias, 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, addValueChangeListener, compareValues, decode, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, removeValidator, removeValueChangeListener, 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.IStyleClassCapability
getStyleClass, setStyleClass
 
Methods inherited from interface org.rcfaces.core.component.capability.IRequiredCapability
isRequired, setRequired
 
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
Constructor Detail

RadioButtonComponent

public RadioButtonComponent()

RadioButtonComponent

public RadioButtonComponent(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

getTextPositionConverter

protected Converter getTextPositionConverter()

setTextPosition

public void setTextPosition(String textPosition)

getSelectedFromSameGroup

public RadioButtonComponent getSelectedFromSameGroup()

listSameGroup

public IRadioButtonIterator listSameGroup()

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)

getText

public String getText()
Description copied from interface: ITextCapability
Returns a string value specifying the text shown.

Specified by:
getText in interface ITextCapability
Returns:
text

getText

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


isTextSetted

public final boolean isTextSetted()
Returns true if the attribute "text" is set.

Returns:
true if the attribute is set.

setText

public void setText(String text)
Description copied from interface: ITextCapability
Sets a string value specifying the text to be shown.

Specified by:
setText in interface ITextCapability
Parameters:
text - text

getTextDirection

public int getTextDirection()
Specified by:
getTextDirection in interface ITextDirectionCapability

getTextDirection

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


isTextDirectionSetted

public final boolean isTextDirectionSetted()
Returns true if the attribute "textDirection" is set.

Returns:
true if the attribute is set.

setTextDirection

public void setTextDirection(int textDirection)
Specified by:
setTextDirection in interface ITextDirectionCapability

getTextPosition

public int getTextPosition()
Description copied from interface: IHorizontalTextPositionCapability
Returns an int value specifying the position of the text in the component.

Specified by:
getTextPosition in interface IHorizontalTextPositionCapability
Returns:
0x08:right|0x10:left

getTextPosition

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


isTextPositionSetted

public final boolean isTextPositionSetted()
Returns true if the attribute "textPosition" is set.

Returns:
true if the attribute is set.

setTextPosition

public void setTextPosition(int textPosition)
Description copied from interface: IHorizontalTextPositionCapability
Sets an int value specifying the position of the text in the component.

Specified by:
setTextPosition in interface IHorizontalTextPositionCapability
Parameters:
textPosition - 0x00:right|0x10:left

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

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

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

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

isSelected

public boolean isSelected()
Description copied from interface: ISelectedCapability
Returns a boolean value indicating wether the component is selected.

Specified by:
isSelected in interface ISelectedCapability
Returns:
true if selected, false otherwise

isSelected

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


isSelectedSetted

public final boolean isSelectedSetted()
Returns true if the attribute "selected" is set.

Returns:
true if the attribute is set.

setSelected

public void setSelected(boolean selected)
Description copied from interface: ISelectedCapability
Sets a boolean value indicating wether the component is selected.

Specified by:
setSelected in interface ISelectedCapability
Parameters:
selected - true to select, false to unselect

getRadioValue

public Object getRadioValue()
Description copied from interface: IRadioValueCapability
Returns the object associated with the group valued for this component.

Specified by:
getRadioValue in interface IRadioValueCapability
Returns:
value object

getRadioValue

public Object getRadioValue(FacesContext facesContext)
See getRadioValue() for more details


isRadioValueSetted

public final boolean isRadioValueSetted()
Returns true if the attribute "radioValue" is set.

Returns:
true if the attribute is set.

setRadioValue

public void setRadioValue(Object radioValue)
Description copied from interface: IRadioValueCapability
Sets the object associated with the group valued for this component.

Specified by:
setRadioValue in interface IRadioValueCapability
Parameters:
radioValue - value object

getGroupName

public String getGroupName()
Description copied from interface: IRadioGroupCapability
Returns a string specifying the name of the virtual entity that links different components together.

Specified by:
getGroupName in interface IRadioGroupCapability
Returns:
group name

getGroupName

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


isGroupNameSetted

public final boolean isGroupNameSetted()
Returns true if the attribute "groupName" is set.

Returns:
true if the attribute is set.

setGroupName

public void setGroupName(String groupName)
Description copied from interface: IRadioGroupCapability
Sets a string specifying the name of the virtual entity that links different components together.

Specified by:
setGroupName in interface IRadioGroupCapability
Parameters:
groupName - group name

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractInputComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.