org.rcfaces.core.component
Class CardComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by org.rcfaces.core.internal.component.CameliaOutputComponent
                  extended by org.rcfaces.core.component.AbstractOutputComponent
                      extended by org.rcfaces.core.component.CardComponent
All Implemented Interfaces:
StateHolder, ValueHolder, IAsyncDecodeModeCapability, IClientDataCapability, IErrorEventCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IInitEventCapability, ILayoutPositionCapability, ILoadEventCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IServerDataCapability, ISizeCapability, IStyleClassCapability, ITextAlignmentCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IValueLockedCapability, IVerticalAlignmentCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, org.rcfaces.core.internal.capability.IAsyncRenderComponent, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IConvertValueHolder, org.rcfaces.core.internal.capability.IRCFacesComponent, org.rcfaces.core.internal.capability.IVariableScopeCapability, 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:
TabComponent

public class CardComponent
extends AbstractOutputComponent
implements ITextAlignmentCapability, IVerticalAlignmentCapability, org.rcfaces.core.internal.capability.IVariableScopeCapability, IAsyncDecodeModeCapability, ILoadEventCapability, org.rcfaces.core.internal.capability.IAsyncRenderComponent

An element belonging to a cardBox Component and holding the components.


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent
engine
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Fields inherited from interface org.rcfaces.core.component.capability.IAsyncDecodeModeCapability
COMPLETE_ASYNC_DECODE_MODE, DEFAULT_ASYNC_DECODE_MODE, PARTIAL_ASYNC_DECODE_MODE
 
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
CardComponent()
           
CardComponent(String componentId)
           
 
Method Summary
 void addLoadListener(ILoadListener listener)
          Adds a listener to the component for the load event
 int getAsyncDecodeMode()
          Returns a int value that indicates the decoding mode for asynchronous capable component.
 int getAsyncDecodeMode(FacesContext facesContext)
           
protected  Set getCameliaFields()
           
 CardBoxComponent getCardBox()
           
 Object getScopeValue()
           
 Object getScopeValue(FacesContext facesContext)
          See getScopeValue() for more details
 String getScopeVar()
           
 String getScopeVar(FacesContext facesContext)
          See getScopeVar() for more details
 String getTextAlignment()
          Returns horizontal alignment.
 String getTextAlignment(FacesContext facesContext)
          See getTextAlignment() for more details
 String getVerticalAlignment()
          Returns vertical alignment.
 String getVerticalAlignment(FacesContext facesContext)
          See getVerticalAlignment() for more details
 boolean isAsyncDecodeModeSetted()
          Returns true if the attribute "asyncDecodeMode" is set.
 boolean isScopeSaveValue()
           
 boolean isScopeSaveValue(FacesContext facesContext)
          See isScopeSaveValue() for more details
 boolean isScopeSaveValueSetted()
          Returns true if the attribute "scopeSaveValue" is set.
 boolean isScopeValueSetted()
          Returns true if the attribute "scopeValue" is set.
 boolean isScopeVarSetted()
          Returns true if the attribute "scopeVar" is set.
 boolean isTextAlignmentSetted()
          Returns true if the attribute "textAlignment" is set.
 boolean isVerticalAlignmentSetted()
          Returns true if the attribute "verticalAlignment" is set.
 FacesListener[] listLoadListeners()
          Returns a list of load listener for the component
 void removeLoadListener(ILoadListener listener)
          Removes a listener from the component for the load event
 void setAsyncDecodeMode(int asyncDecodeMode)
          Sets a int value that indicates the decoding mode for asynchronous capable component.
 void setAsyncDecodeMode(String asyncDecodeMode)
           
 void setScopeSaveValue(boolean scopeSaveValue)
           
 void setScopeValue(Object scopeValue)
           
 void setScopeVar(String scopeVar)
           
 void setTextAlignment(String textAlignment)
          Specifies horizontal alignment.
 void setVerticalAlignment(String verticalAlignment)
          Specifies vertical alignment.
 
Methods inherited from class org.rcfaces.core.component.AbstractOutputComponent
addErrorListener, addInitListener, addMouseOutListener, addMouseOverListener, addPropertyChangeListener, addUserEventListener, getAriaLabel, getAriaLabel, getAriaLevel, getAriaLevel, getBackgroundColor, getBackgroundColor, getBottom, getBottom, getClientData, getClientData, getClientDataCount, getClientDataMap, getClientDataMap, 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, getToolTipText, getToolTipText, getTop, getTop, getUnlockedClientAttributeNames, getUnlockedClientAttributeNames, getVisibleState, getVisibleState, getWaiRole, getWaiRole, getWidth, getWidth, getX, getX, getY, getY, isAriaLabelSetted, isAriaLevelSetted, isBackgroundColorSetted, isBottomSetted, isForegroundColorSetted, isHeightSetted, isHelpMessageSetted, isHelpURLSetted, isHiddenModeSetted, isLeftSetted, isLookIdSetted, isMarginBottomSetted, isMarginLeftSetted, isMarginRightSetted, isMarginTopSetted, isPartialRendering, isPartialRendering, isPartialRenderingSetted, isRightSetted, isStyleClassSetted, isToolTipTextSetted, isTopSetted, isUnlockedClientAttributeNamesSetted, isValueLocked, isValueLocked, isValueLockedSetted, isVisible, isVisible, isVisibleSetted, isWaiRoleSetted, isWidthSetted, isXSetted, isYSetted, listClientDataKeys, listClientDataKeys, listErrorListeners, listInitListeners, listMouseOutListeners, listMouseOverListeners, listPropertyChangeListeners, listServerDataKeys, listServerDataKeys, listUserEventListeners, removeClientData, removeErrorListener, removeInitListener, removeMouseOutListener, removeMouseOverListener, removePropertyChangeListener, removeServerData, removeUserEventListener, setAriaLabel, setAriaLevel, setBackgroundColor, setBottom, setClientData, setClientData, setForegroundColor, setHeight, setHelpMessage, setHelpURL, setHiddenMode, setHiddenMode, setLeft, setLookId, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setPartialRendering, setRight, setServerData, setServerData, setStyleClass, setToolTipText, setTop, setUnlockedClientAttributeNames, setValueLocked, setVisible, setWaiRole, setWidth, setX, setY
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaOutputComponent
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, setConverter, setConverter, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter, 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.internal.capability.IAsyncRenderComponent
getAsyncRenderer
 
Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager
getChildCount
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, 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

CardComponent

public CardComponent()

CardComponent

public CardComponent(String componentId)
Method Detail

getCardBox

public CardBoxComponent getCardBox()

getAsyncDecodeMode

public int getAsyncDecodeMode(FacesContext facesContext)

setAsyncDecodeMode

public void setAsyncDecodeMode(String asyncDecodeMode)

getTextAlignment

public String getTextAlignment()
Description copied from interface: ITextAlignmentCapability
Returns horizontal alignment.

Specified by:
getTextAlignment in interface ITextAlignmentCapability
Returns:
alignment

getTextAlignment

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


isTextAlignmentSetted

public final boolean isTextAlignmentSetted()
Returns true if the attribute "textAlignment" is set.

Returns:
true if the attribute is set.

setTextAlignment

public void setTextAlignment(String textAlignment)
Description copied from interface: ITextAlignmentCapability
Specifies horizontal alignment.

Specified by:
setTextAlignment in interface ITextAlignmentCapability
Parameters:
textAlignment - text alignment

getVerticalAlignment

public String getVerticalAlignment()
Description copied from interface: IVerticalAlignmentCapability
Returns vertical alignment.

Specified by:
getVerticalAlignment in interface IVerticalAlignmentCapability
Returns:
vertical alignment

getVerticalAlignment

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


isVerticalAlignmentSetted

public final boolean isVerticalAlignmentSetted()
Returns true if the attribute "verticalAlignment" is set.

Returns:
true if the attribute is set.

setVerticalAlignment

public void setVerticalAlignment(String verticalAlignment)
Description copied from interface: IVerticalAlignmentCapability
Specifies vertical alignment.

Specified by:
setVerticalAlignment in interface IVerticalAlignmentCapability
Parameters:
verticalAlignment - vertical alignment

isScopeSaveValue

public boolean isScopeSaveValue()
Specified by:
isScopeSaveValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

isScopeSaveValue

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


isScopeSaveValueSetted

public final boolean isScopeSaveValueSetted()
Returns true if the attribute "scopeSaveValue" is set.

Returns:
true if the attribute is set.

setScopeSaveValue

public void setScopeSaveValue(boolean scopeSaveValue)
Specified by:
setScopeSaveValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeValue

public Object getScopeValue()
Specified by:
getScopeValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeValue

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


isScopeValueSetted

public final boolean isScopeValueSetted()
Returns true if the attribute "scopeValue" is set.

Returns:
true if the attribute is set.

setScopeValue

public void setScopeValue(Object scopeValue)
Specified by:
setScopeValue in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeVar

public String getScopeVar()
Specified by:
getScopeVar in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getScopeVar

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


isScopeVarSetted

public final boolean isScopeVarSetted()
Returns true if the attribute "scopeVar" is set.

Returns:
true if the attribute is set.

setScopeVar

public void setScopeVar(String scopeVar)
Specified by:
setScopeVar in interface org.rcfaces.core.internal.capability.IVariableScopeCapability

getAsyncDecodeMode

public int getAsyncDecodeMode()
Description copied from interface: IAsyncDecodeModeCapability
Returns a int value that indicates the decoding mode for asynchronous capable component.

Specified by:
getAsyncDecodeMode in interface IAsyncDecodeModeCapability
Returns:
0:complete|1:partial

isAsyncDecodeModeSetted

public final boolean isAsyncDecodeModeSetted()
Returns true if the attribute "asyncDecodeMode" is set.

Returns:
true if the attribute is set.

setAsyncDecodeMode

public void setAsyncDecodeMode(int asyncDecodeMode)
Description copied from interface: IAsyncDecodeModeCapability
Sets a int value that indicates the decoding mode for asynchronous capable component.

Specified by:
setAsyncDecodeMode in interface IAsyncDecodeModeCapability
Parameters:
asyncDecodeMode - 0:complete|1:partial

addLoadListener

public final void addLoadListener(ILoadListener listener)
Description copied from interface: ILoadEventCapability
Adds a listener to the component for the load event

Specified by:
addLoadListener in interface ILoadEventCapability
Parameters:
listener - the load listener to add

removeLoadListener

public final void removeLoadListener(ILoadListener listener)
Description copied from interface: ILoadEventCapability
Removes a listener from the component for the load event

Specified by:
removeLoadListener in interface ILoadEventCapability
Parameters:
listener - the load listener to remove

listLoadListeners

public final FacesListener[] listLoadListeners()
Description copied from interface: ILoadEventCapability
Returns a list of load listener for the component

Specified by:
listLoadListeners in interface ILoadEventCapability
Returns:
load listeners' list

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractOutputComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.