org.rcfaces.core.component
Class MessageFieldSetComponent

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.FieldSetComponent
                          extended by org.rcfaces.core.component.MessageFieldSetComponent
All Implemented Interfaces:
StateHolder, ValueHolder, IBorderTypeCapability, IClientDataCapability, IErrorEventCapability, IFontCapability, IForCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IImageCapability, IImageSizeCapability, IInitEventCapability, ILayoutPositionCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IOverStyleClassCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IServerDataCapability, ISeverityImagesCapability, ISeverityStyleClassCapability, ISizeCapability, IStyleClassCapability, ITextAlignmentCapability, ITextCapability, ITextDirectionCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IValueLockedCapability, IVerticalAlignmentCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, org.rcfaces.core.internal.capability.IComponentLifeCycle, org.rcfaces.core.internal.capability.IConvertValueHolder, org.rcfaces.core.internal.capability.IImageAccessorsCapability, 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

public class MessageFieldSetComponent
extends FieldSetComponent
implements IForCapability, ISeverityStyleClassCapability, ISeverityImagesCapability


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.component.FieldSetComponent
CAMELIA_VALUE_ALIAS
 
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.ITextDirectionCapability
DEFAULT_TEXT_DIRECTION, LEFT_TO_RIGHT_TEXT_DIRECTION, RIGHT_LEFT_TEXT_DIRECTION
 
Fields inherited from interface org.rcfaces.core.component.capability.IBorderTypeCapability
NONE_BORDER_TYPE_NAME
 
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
MessageFieldSetComponent()
           
MessageFieldSetComponent(String componentId)
           
 
Method Summary
protected  Set getCameliaFields()
           
 String getErrorImageURL()
          Returns an url string pointing to the image used for an error message.
 String getErrorImageURL(FacesContext facesContext)
          See getErrorImageURL() for more details
 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 getFatalImageURL()
          Returns an url string pointing to the image used for an fatal message.
 String getFatalImageURL(FacesContext facesContext)
          See getFatalImageURL() 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 getFor()
          Returns a component's id that express the link between the two components.
 String getFor(FacesContext facesContext)
          See getFor() for more details
 String getInfoImageURL()
          Returns an url string pointing to the image used for an info message.
 String getInfoImageURL(FacesContext facesContext)
          See getInfoImageURL() 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
 String getWarnImageURL()
          Returns an url string pointing to the image used for an warning message.
 String getWarnImageURL(FacesContext facesContext)
          See getWarnImageURL() for more details
 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 isErrorImageURLSetted()
          Returns true if the attribute "errorImageURL" is set.
 boolean isErrorStyleClassSetted()
          Returns true if the attribute "errorStyleClass" is set.
 boolean isFatalImageURLSetted()
          Returns true if the attribute "fatalImageURL" is set.
 boolean isFatalStyleClassSetted()
          Returns true if the attribute "fatalStyleClass" is set.
 boolean isForSetted()
          Returns true if the attribute "for" is set.
 boolean isInfoImageURLSetted()
          Returns true if the attribute "infoImageURL" is set.
 boolean isInfoStyleClassSetted()
          Returns true if the attribute "infoStyleClass" is set.
 boolean isSetFocusIfMessage()
           
 boolean isSetFocusIfMessage(FacesContext facesContext)
           
 boolean isSetFocusIfMessageSetted()
          Returns true if the attribute "setFocusIfMessage" is set.
 boolean isShowActiveComponentMessage()
           
 boolean isShowActiveComponentMessage(FacesContext facesContext)
           
 boolean isShowActiveComponentMessageSetted()
          Returns true if the attribute "showActiveComponentMessage" is set.
 boolean isWarnImageURLSetted()
          Returns true if the attribute "warnImageURL" is set.
 boolean isWarnStyleClassSetted()
          Returns true if the attribute "warnStyleClass" is set.
 void setErrorImageURL(String errorImageURL)
          Sets an url string pointing to the image used for an error message.
 void setErrorStyleClass(String errorStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for error messages.
 void setFatalImageURL(String fatalImageURL)
          Sets an url string pointing to the image used for an fatal message.
 void setFatalStyleClass(String fatalStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for fatal messages.
 void setFor(String forValue)
          Sets a component's id that express the link between the two components.
 void setInfoImageURL(String infoImageURL)
          Sets an url string pointing to the image used for an info message.
 void setInfoStyleClass(String infoStyleClass)
          Sets a space-separated list of CSS style class(es) to be applied for info messages.
 void setSetFocusIfMessage(boolean setFocusIfMessage)
           
 void setShowActiveComponentMessage(boolean showActiveComponentMessage)
           
 void setWarnImageURL(String warnImageURL)
          Sets an url string pointing to the image used for an warning message.
 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.FieldSetComponent
getBorderType, getBorderType, getCameliaValueAlias, getFontBold, getFontBold, getFontItalic, getFontItalic, getFontName, getFontName, getFontSize, getFontSize, getFontUnderline, getFontUnderline, getImageAccessors, getImageAccessors, getImageHeight, getImageHeight, getImageURL, getImageURL, getImageWidth, getImageWidth, getOverStyleClass, getOverStyleClass, getScopeValue, getScopeValue, getScopeVar, getScopeVar, getText, getText, getTextAlignment, getTextAlignment, getTextDirection, getTextDirection, getVerticalAlignment, getVerticalAlignment, isBorderTypeSetted, isFontBoldSetted, isFontItalicSetted, isFontNameSetted, isFontSizeSetted, isFontUnderlineSetted, isImageHeightSetted, isImageURLSetted, isImageWidthSetted, isOverStyleClassSetted, isScopeSaveValue, isScopeSaveValue, isScopeSaveValueSetted, isScopeValueSetted, isScopeVarSetted, isTextAlignmentSetted, isTextDirectionSetted, isTextSetted, isVerticalAlignmentSetted, setBorderType, setFontBold, setFontItalic, setFontName, setFontSize, setFontUnderline, setImageHeight, setImageURL, setImageWidth, setOverStyleClass, setScopeSaveValue, setScopeValue, setScopeVar, setText, setTextAlignment, setTextDirection, setVerticalAlignment
 
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, 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.component.capability.IStyleClassCapability
getStyleClass, setStyleClass
 
Methods inherited from interface org.rcfaces.core.component.capability.IImageCapability
getImageAccessors, getImageURL, setImageURL
 
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

MessageFieldSetComponent

public MessageFieldSetComponent()

MessageFieldSetComponent

public MessageFieldSetComponent(String componentId)
Method Detail

getFor

public String getFor()
Description copied from interface: IForCapability
Returns a component's id that express the link between the two components.

Specified by:
getFor in interface IForCapability
Returns:
id for a linked component

getFor

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


isForSetted

public final boolean isForSetted()
Returns true if the attribute "for" is set.

Returns:
true if the attribute is set.

setFor

public void setFor(String forValue)
Description copied from interface: IForCapability
Sets a component's id that express the link between the two components.

Specified by:
setFor in interface IForCapability
Parameters:
forValue - id for a linked component

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

getErrorImageURL

public String getErrorImageURL()
Description copied from interface: ISeverityImagesCapability
Returns an url string pointing to the image used for an error message.

Specified by:
getErrorImageURL in interface ISeverityImagesCapability
Returns:
url

getErrorImageURL

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


isErrorImageURLSetted

public final boolean isErrorImageURLSetted()
Returns true if the attribute "errorImageURL" is set.

Returns:
true if the attribute is set.

setErrorImageURL

public void setErrorImageURL(String errorImageURL)
Description copied from interface: ISeverityImagesCapability
Sets an url string pointing to the image used for an error message.

Specified by:
setErrorImageURL in interface ISeverityImagesCapability
Parameters:
errorImageURL - url

getFatalImageURL

public String getFatalImageURL()
Description copied from interface: ISeverityImagesCapability
Returns an url string pointing to the image used for an fatal message.

Specified by:
getFatalImageURL in interface ISeverityImagesCapability
Returns:
url

getFatalImageURL

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


isFatalImageURLSetted

public final boolean isFatalImageURLSetted()
Returns true if the attribute "fatalImageURL" is set.

Returns:
true if the attribute is set.

setFatalImageURL

public void setFatalImageURL(String fatalImageURL)
Description copied from interface: ISeverityImagesCapability
Sets an url string pointing to the image used for an fatal message.

Specified by:
setFatalImageURL in interface ISeverityImagesCapability
Parameters:
fatalImageURL - url

getInfoImageURL

public String getInfoImageURL()
Description copied from interface: ISeverityImagesCapability
Returns an url string pointing to the image used for an info message.

Specified by:
getInfoImageURL in interface ISeverityImagesCapability
Returns:
url

getInfoImageURL

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


isInfoImageURLSetted

public final boolean isInfoImageURLSetted()
Returns true if the attribute "infoImageURL" is set.

Returns:
true if the attribute is set.

setInfoImageURL

public void setInfoImageURL(String infoImageURL)
Description copied from interface: ISeverityImagesCapability
Sets an url string pointing to the image used for an info message.

Specified by:
setInfoImageURL in interface ISeverityImagesCapability
Parameters:
infoImageURL - url

getWarnImageURL

public String getWarnImageURL()
Description copied from interface: ISeverityImagesCapability
Returns an url string pointing to the image used for an warning message.

Specified by:
getWarnImageURL in interface ISeverityImagesCapability
Returns:
url

getWarnImageURL

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


isWarnImageURLSetted

public final boolean isWarnImageURLSetted()
Returns true if the attribute "warnImageURL" is set.

Returns:
true if the attribute is set.

setWarnImageURL

public void setWarnImageURL(String warnImageURL)
Description copied from interface: ISeverityImagesCapability
Sets an url string pointing to the image used for an warning message.

Specified by:
setWarnImageURL in interface ISeverityImagesCapability
Parameters:
warnImageURL - url

isSetFocusIfMessage

public boolean isSetFocusIfMessage()

isSetFocusIfMessage

public boolean isSetFocusIfMessage(FacesContext facesContext)

setSetFocusIfMessage

public void setSetFocusIfMessage(boolean setFocusIfMessage)

isSetFocusIfMessageSetted

public boolean isSetFocusIfMessageSetted()
Returns true if the attribute "setFocusIfMessage" is set.

Returns:
true if the attribute is set.

isShowActiveComponentMessage

public boolean isShowActiveComponentMessage()

isShowActiveComponentMessage

public boolean isShowActiveComponentMessage(FacesContext facesContext)

setShowActiveComponentMessage

public void setShowActiveComponentMessage(boolean showActiveComponentMessage)

isShowActiveComponentMessageSetted

public boolean isShowActiveComponentMessageSetted()
Returns true if the attribute "showActiveComponentMessage" is set.

Returns:
true if the attribute is set.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class FieldSetComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.