org.rcfaces.core.component
Class MenuRadioItemComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UISelectItem
              extended by org.rcfaces.core.internal.component.CameliaItemComponent
                  extended by org.rcfaces.core.component.AbstractItemComponent
                      extended by org.rcfaces.core.component.SelectItemComponent
                          extended by org.rcfaces.core.component.UIImageItemComponent
                              extended by org.rcfaces.core.component.ExpandableItemComponent
                                  extended by org.rcfaces.core.component.MenuItemComponent
                                      extended by org.rcfaces.core.component.MenuCheckItemComponent
                                          extended by org.rcfaces.core.component.MenuRadioItemComponent
All Implemented Interfaces:
StateHolder, IAcceleratorKeyCapability, IAccessKeyCapability, IAlternateTextCapability, IClientDataCapability, IDisabledCapability, IExpandImageCapability, IForegroundBackgroundColorCapability, IImageCapability, IImmediateCapability, IMenuEventCapability, IRadioGroupCapability, IRadioValueCapability, IServerDataCapability, IStatesImageCapability, IStyleClassCapability, ITextCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IVisibilityCapability, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IImageAccessorsCapability, 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

public class MenuRadioItemComponent
extends MenuCheckItemComponent
implements IRadioValueCapability

A menu item with a radiobutton (see attribute GroupName)


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaItemComponent
engine
 
Fields inherited from class javax.faces.component.UISelectItem
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
MenuRadioItemComponent()
           
MenuRadioItemComponent(String componentId)
           
 
Method Summary
protected  Set getCameliaFields()
           
 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
 Object getRadioValue()
          Returns the object associated with the group valued for this component.
 Object getRadioValue(FacesContext facesContext)
          See getRadioValue() for more details
 boolean isGroupNameSetted()
          Returns true if the attribute "groupName" is set.
 boolean isRadioValueSetted()
          Returns true if the attribute "radioValue" is set.
 void setGroupName(String groupName)
          Sets a string specifying the name of the virtual entity that links different components together.
 void setRadioValue(Object radioValue)
          Sets the object associated with the group valued for this component.
 
Methods inherited from class org.rcfaces.core.component.MenuItemComponent
addMenuListener, getAcceleratorKey, getAcceleratorKey, getAccessKey, getAccessKey, getMenu, getStyleClass, getStyleClass, isAcceleratorKeySetted, isAccessKeySetted, isImmediate, isImmediate, isImmediateSetted, isRemoveAllWhenShown, isRemoveAllWhenShown, isRemoveAllWhenShownSetted, isStyleClassSetted, listMenuItems, listMenuListeners, removeMenuListener, setAcceleratorKey, setAccessKey, setImmediate, setRemoveAllWhenShown, setStyleClass
 
Methods inherited from class org.rcfaces.core.component.ExpandableItemComponent
getBackgroundColor, getBackgroundColor, getExpandedImageURL, getExpandedImageURL, getForegroundColor, getForegroundColor, getText, isBackgroundColorSetted, isExpandedImageURLSetted, isForegroundColorSetted, isTextSetted, setBackgroundColor, setExpandedImageURL, setForegroundColor, setText, setValueExpression
 
Methods inherited from class org.rcfaces.core.component.UIImageItemComponent
getAlternateText, getAlternateText, getDisabledImageURL, getDisabledImageURL, getHoverImageURL, getHoverImageURL, getImageAccessors, getImageAccessors, getImageURL, getImageURL, getSelectedImageURL, getSelectedImageURL, getVisibleState, getVisibleState, isAlternateTextSetted, isDisabledImageURLSetted, isHoverImageURLSetted, isImageURLSetted, isSelectedImageURLSetted, isVisible, isVisible, isVisibleSetted, setAlternateText, setDisabledImageURL, setHoverImageURL, setImageURL, setSelectedImageURL, setVisible
 
Methods inherited from class org.rcfaces.core.component.SelectItemComponent
getToolTip, getToolTipText, getToolTipText, isToolTipTextSetted, setToolTip, setToolTipText
 
Methods inherited from class org.rcfaces.core.component.AbstractItemComponent
getClientData, getClientData, getClientDataCount, getClientDataMap, getClientDataMap, getServerData, getServerData, getServerDataCount, getServerDataMap, getServerDataMap, getUnlockedClientAttributeNames, getUnlockedClientAttributeNames, isDisabled, isDisabledSetted, isUnlockedClientAttributeNamesSetted, listClientDataKeys, listClientDataKeys, listServerDataKeys, listServerDataKeys, removeClientData, removeServerData, setClientData, setClientData, setDisabled, setServerData, setServerData, setUnlockedClientAttributeNames
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaItemComponent
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UISelectItem
getItemDescription, getItemLabel, getItemValue, getValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.rcfaces.core.component.capability.IStatesImageCapability
getDisabledImageURL, getHoverImageURL, getSelectedImageURL, setDisabledImageURL, setHoverImageURL, setSelectedImageURL
 
Methods inherited from interface org.rcfaces.core.component.capability.IImageCapability
getImageAccessors, getImageURL, setImageURL
 
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

MenuRadioItemComponent

public MenuRadioItemComponent()

MenuRadioItemComponent

public MenuRadioItemComponent(String componentId)
Method Detail

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 MenuCheckItemComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.