org.rcfaces.core.component
Class StyledMessageComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.rcfaces.core.internal.component.CameliaBaseComponent
              extended by org.rcfaces.core.component.AbstractBasicComponent
                  extended by org.rcfaces.core.component.StyledMessageComponent
All Implemented Interfaces:
StateHolder, IBackgroundImageCapability, IBorderCapability, IClientDataCapability, IErrorEventCapability, IForCapability, IForegroundBackgroundColorCapability, IHeightCapability, IHelpCapability, IHiddenModeCapability, IInitEventCapability, ILayoutPositionCapability, ILookAndFeelCapability, IMarginCapability, IMouseEventCapability, IPartialRenderingCapability, IPositionCapability, IPropertyChangeEventCapability, IServerDataCapability, ISeverityStyleClassCapability, ISizeCapability, IStyleClassCapability, IToolTipCapability, IUnlockedClientAttributesCapability, IUserEventCapability, IVisibilityCapability, IWAIRoleCapability, IWidthCapability, org.rcfaces.core.internal.capability.IComponentLifeCycle, 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 StyledMessageComponent
extends AbstractBasicComponent
implements IBackgroundImageCapability, IBorderCapability, IMouseEventCapability, IInitEventCapability, IForCapability, ISeverityStyleClassCapability

An englobing tag that changes the style class surronuding a component when a particular message is emitted for a component. ex : <v:styledMessage errorStyleClass="formErreur" for="ef1"> <v:textEntry id="ef1" ... /> </v:styledMessage>


Field Summary
protected static Set CAMELIA_ATTRIBUTES
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent
engine
 
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
StyledMessageComponent()
           
StyledMessageComponent(String componentId)
           
 
Method Summary
 void addInitListener(IInitListener listener)
          Adds a listener to the component for the init event
 void addMouseOutListener(IMouseOutListener listener)
          Adds a listener to the component for the mouseOut event
 void addMouseOverListener(IMouseOverListener listener)
          Adds a listener to the component for the mouseOver event
 String getBackgroundImageHorizontalPosition()
          Returns a string indicating the horizontal positionning for the background image.
 String getBackgroundImageHorizontalPosition(FacesContext facesContext)
          See getBackgroundImageHorizontalPosition() for more details
 String getBackgroundImageURL()
          Returns an url string pointing to the background image.
 String getBackgroundImageURL(FacesContext facesContext)
          See getBackgroundImageURL() for more details
 String getBackgroundImageVerticalPosition()
          Returns a string indicating the vertical positionning for the background image.
 String getBackgroundImageVerticalPosition(FacesContext facesContext)
          See getBackgroundImageVerticalPosition() for more details
protected  Set getCameliaFields()
           
 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 getFor()
          Returns a component's id that express the link between the two components.
 String getFor(FacesContext facesContext)
          See getFor() 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 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 isBackgroundImageHorizontalPositionSetted()
          Returns true if the attribute "backgroundImageHorizontalPosition" is set.
 boolean isBackgroundImageHorizontalRepeat()
          Returns a boolean value indicating wether the background image should be repeated horizontally or not.
 boolean isBackgroundImageHorizontalRepeat(FacesContext facesContext)
          See isBackgroundImageHorizontalRepeat() for more details
 boolean isBackgroundImageHorizontalRepeatSetted()
          Returns true if the attribute "backgroundImageHorizontalRepeat" is set.
 boolean isBackgroundImageURLSetted()
          Returns true if the attribute "backgroundImageURL" is set.
 boolean isBackgroundImageVerticalPositionSetted()
          Returns true if the attribute "backgroundImageVerticalPosition" is set.
 boolean isBackgroundImageVerticalRepeat()
          Returns a boolean value indicating wether the background image should be repeated vertically or not.
 boolean isBackgroundImageVerticalRepeat(FacesContext facesContext)
          See isBackgroundImageVerticalRepeat() for more details
 boolean isBackgroundImageVerticalRepeatSetted()
          Returns true if the attribute "backgroundImageVerticalRepeat" is set.
 boolean isBorder()
          Returns a boolean value that indicates if the component should show a border or not.
 boolean isBorder(FacesContext facesContext)
          See isBorder() for more details
 boolean isBorderSetted()
          Returns true if the attribute "border" is set.
 boolean isErrorStyleClassSetted()
          Returns true if the attribute "errorStyleClass" is set.
 boolean isFatalStyleClassSetted()
          Returns true if the attribute "fatalStyleClass" is set.
 boolean isForSetted()
          Returns true if the attribute "for" 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 isShowIfMessage()
           
 boolean isShowIfMessage(FacesContext facesContext)
           
 boolean isShowIfMessageSetted()
          Returns true if the attribute "showIfMessage" is set.
 boolean isWarnStyleClassSetted()
          Returns true if the attribute "warnStyleClass" is set.
 FacesListener[] listInitListeners()
          Returns a list of init listener for the component
 FacesListener[] listMouseOutListeners()
          Returns a list of mouseOut listener for the component
 FacesListener[] listMouseOverListeners()
          Returns a list of mouseOver listener for the component
 void removeInitListener(IInitListener listener)
          Removes a listener from the component for the init event
 void removeMouseOutListener(IMouseOutListener listener)
          Removes a listener from the component for the mouseOut event
 void removeMouseOverListener(IMouseOverListener listener)
          Removes a listener from the component for the mouseOver event
 void setBackgroundImageHorizontalPosition(String backgroundImageHorizontalPosition)
          Sets a string indicating the horizontal positionning for the background image.
 void setBackgroundImageHorizontalRepeat(boolean backgroundImageHorizontalRepeat)
          Sets a boolean value indicating wether the background image should be repeated horizontally or not.
 void setBackgroundImageURL(String backgroundImageURL)
          Sets an url string pointing to the background image.
 void setBackgroundImageVerticalPosition(String backgroundImageVerticalPosition)
          Sets a string indicating the vertical positionning for the background image.
 void setBackgroundImageVerticalRepeat(boolean backgroundImageVerticalRepeat)
          Sets a boolean value indicating wether the background image should be repeated vertically or not.
 void setBorder(boolean border)
          Sets a boolean value that indicates if the component should show a border or not.
 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 setFor(String forValue)
          Sets a component's id that express the link between the two components.
 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 setShowIfMessage(boolean showIfMessage)
           
 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.AbstractBasicComponent
addErrorListener, 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, isVisible, isVisible, isVisibleSetted, isWaiRoleSetted, isWidthSetted, isXSetted, isYSetted, listClientDataKeys, listClientDataKeys, listErrorListeners, listPropertyChangeListeners, listServerDataKeys, listServerDataKeys, listUserEventListeners, removeClientData, removeErrorListener, 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, setVisible, setWaiRole, setWidth, setX, setY
 
Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent
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, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode
 
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.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

StyledMessageComponent

public StyledMessageComponent()

StyledMessageComponent

public StyledMessageComponent(String componentId)
Method Detail

getBackgroundImageHorizontalPosition

public String getBackgroundImageHorizontalPosition()
Description copied from interface: IBackgroundImageCapability
Returns a string indicating the horizontal positionning for the background image.

Specified by:
getBackgroundImageHorizontalPosition in interface IBackgroundImageCapability
Returns:
horizontal position

getBackgroundImageHorizontalPosition

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


isBackgroundImageHorizontalPositionSetted

public final boolean isBackgroundImageHorizontalPositionSetted()
Returns true if the attribute "backgroundImageHorizontalPosition" is set.

Returns:
true if the attribute is set.

setBackgroundImageHorizontalPosition

public void setBackgroundImageHorizontalPosition(String backgroundImageHorizontalPosition)
Description copied from interface: IBackgroundImageCapability
Sets a string indicating the horizontal positionning for the background image.

Specified by:
setBackgroundImageHorizontalPosition in interface IBackgroundImageCapability
Parameters:
backgroundImageHorizontalPosition - horizontal position

isBackgroundImageHorizontalRepeat

public boolean isBackgroundImageHorizontalRepeat()
Description copied from interface: IBackgroundImageCapability
Returns a boolean value indicating wether the background image should be repeated horizontally or not.

Specified by:
isBackgroundImageHorizontalRepeat in interface IBackgroundImageCapability
Returns:
repeat

isBackgroundImageHorizontalRepeat

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


isBackgroundImageHorizontalRepeatSetted

public final boolean isBackgroundImageHorizontalRepeatSetted()
Returns true if the attribute "backgroundImageHorizontalRepeat" is set.

Returns:
true if the attribute is set.

setBackgroundImageHorizontalRepeat

public void setBackgroundImageHorizontalRepeat(boolean backgroundImageHorizontalRepeat)
Description copied from interface: IBackgroundImageCapability
Sets a boolean value indicating wether the background image should be repeated horizontally or not.

Specified by:
setBackgroundImageHorizontalRepeat in interface IBackgroundImageCapability
Parameters:
backgroundImageHorizontalRepeat - boolean

getBackgroundImageURL

public String getBackgroundImageURL()
Description copied from interface: IBackgroundImageCapability
Returns an url string pointing to the background image.

Specified by:
getBackgroundImageURL in interface IBackgroundImageCapability
Returns:
image url

getBackgroundImageURL

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


isBackgroundImageURLSetted

public final boolean isBackgroundImageURLSetted()
Returns true if the attribute "backgroundImageURL" is set.

Returns:
true if the attribute is set.

setBackgroundImageURL

public void setBackgroundImageURL(String backgroundImageURL)
Description copied from interface: IBackgroundImageCapability
Sets an url string pointing to the background image.

Specified by:
setBackgroundImageURL in interface IBackgroundImageCapability
Parameters:
backgroundImageURL - image url

getBackgroundImageVerticalPosition

public String getBackgroundImageVerticalPosition()
Description copied from interface: IBackgroundImageCapability
Returns a string indicating the vertical positionning for the background image.

Specified by:
getBackgroundImageVerticalPosition in interface IBackgroundImageCapability
Returns:
vertical position

getBackgroundImageVerticalPosition

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


isBackgroundImageVerticalPositionSetted

public final boolean isBackgroundImageVerticalPositionSetted()
Returns true if the attribute "backgroundImageVerticalPosition" is set.

Returns:
true if the attribute is set.

setBackgroundImageVerticalPosition

public void setBackgroundImageVerticalPosition(String backgroundImageVerticalPosition)
Description copied from interface: IBackgroundImageCapability
Sets a string indicating the vertical positionning for the background image.

Specified by:
setBackgroundImageVerticalPosition in interface IBackgroundImageCapability
Parameters:
backgroundImageVerticalPosition - position

isBackgroundImageVerticalRepeat

public boolean isBackgroundImageVerticalRepeat()
Description copied from interface: IBackgroundImageCapability
Returns a boolean value indicating wether the background image should be repeated vertically or not.

Specified by:
isBackgroundImageVerticalRepeat in interface IBackgroundImageCapability
Returns:
repeat

isBackgroundImageVerticalRepeat

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


isBackgroundImageVerticalRepeatSetted

public final boolean isBackgroundImageVerticalRepeatSetted()
Returns true if the attribute "backgroundImageVerticalRepeat" is set.

Returns:
true if the attribute is set.

setBackgroundImageVerticalRepeat

public void setBackgroundImageVerticalRepeat(boolean backgroundImageVerticalRepeat)
Description copied from interface: IBackgroundImageCapability
Sets a boolean value indicating wether the background image should be repeated vertically or not.

Specified by:
setBackgroundImageVerticalRepeat in interface IBackgroundImageCapability
Parameters:
backgroundImageVerticalRepeat - boolean

isBorder

public boolean isBorder()
Description copied from interface: IBorderCapability
Returns a boolean value that indicates if the component should show a border or not.

Specified by:
isBorder in interface IBorderCapability
Returns:
border

isBorder

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


isBorderSetted

public final boolean isBorderSetted()
Returns true if the attribute "border" is set.

Returns:
true if the attribute is set.

setBorder

public void setBorder(boolean border)
Description copied from interface: IBorderCapability
Sets a boolean value that indicates if the component should show a border or not.

Specified by:
setBorder in interface IBorderCapability
Parameters:
border - boolean

addMouseOutListener

public final void addMouseOutListener(IMouseOutListener listener)
Description copied from interface: IMouseEventCapability
Adds a listener to the component for the mouseOut event

Specified by:
addMouseOutListener in interface IMouseEventCapability
Parameters:
listener - the mouseOut listener to add

removeMouseOutListener

public final void removeMouseOutListener(IMouseOutListener listener)
Description copied from interface: IMouseEventCapability
Removes a listener from the component for the mouseOut event

Specified by:
removeMouseOutListener in interface IMouseEventCapability
Parameters:
listener - the mouseOut listener to remove

listMouseOutListeners

public final FacesListener[] listMouseOutListeners()
Description copied from interface: IMouseEventCapability
Returns a list of mouseOut listener for the component

Specified by:
listMouseOutListeners in interface IMouseEventCapability
Returns:
mouseOut listeners' list

addMouseOverListener

public final void addMouseOverListener(IMouseOverListener listener)
Description copied from interface: IMouseEventCapability
Adds a listener to the component for the mouseOver event

Specified by:
addMouseOverListener in interface IMouseEventCapability
Parameters:
listener - the mouseOver listener to add

removeMouseOverListener

public final void removeMouseOverListener(IMouseOverListener listener)
Description copied from interface: IMouseEventCapability
Removes a listener from the component for the mouseOver event

Specified by:
removeMouseOverListener in interface IMouseEventCapability
Parameters:
listener - the mouseOver listener to remove

listMouseOverListeners

public final FacesListener[] listMouseOverListeners()
Description copied from interface: IMouseEventCapability
Returns a list of mouseOver listener for the component

Specified by:
listMouseOverListeners in interface IMouseEventCapability
Returns:
mouseOver listeners' list

addInitListener

public final void addInitListener(IInitListener listener)
Description copied from interface: IInitEventCapability
Adds a listener to the component for the init event

Specified by:
addInitListener in interface IInitEventCapability
Parameters:
listener - the init listener to add

removeInitListener

public final void removeInitListener(IInitListener listener)
Description copied from interface: IInitEventCapability
Removes a listener from the component for the init event

Specified by:
removeInitListener in interface IInitEventCapability
Parameters:
listener - the init listener to remove

listInitListeners

public final FacesListener[] listInitListeners()
Description copied from interface: IInitEventCapability
Returns a list of init listener for the component

Specified by:
listInitListeners in interface IInitEventCapability
Returns:
init listeners' list

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

isShowIfMessage

public boolean isShowIfMessage()

isShowIfMessage

public boolean isShowIfMessage(FacesContext facesContext)

setShowIfMessage

public void setShowIfMessage(boolean showIfMessage)

isShowIfMessageSetted

public boolean isShowIfMessageSetted()
Returns true if the attribute "showIfMessage" is set.

Returns:
true if the attribute is set.

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.

getCameliaFields

protected Set getCameliaFields()
Overrides:
getCameliaFields in class AbstractBasicComponent


Copyright © 2006-2011 Vedana. All Rights Reserved.