|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.rcfaces.core.internal.component.CameliaBaseComponent
org.rcfaces.core.component.AbstractBasicComponent
org.rcfaces.core.component.StyledMessageComponent
public class StyledMessageComponent
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.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 |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public StyledMessageComponent()
public StyledMessageComponent(String componentId)
| Method Detail |
|---|
public String getBackgroundImageHorizontalPosition()
IBackgroundImageCapability
getBackgroundImageHorizontalPosition in interface IBackgroundImageCapabilitypublic String getBackgroundImageHorizontalPosition(FacesContext facesContext)
getBackgroundImageHorizontalPosition() for more details
public final boolean isBackgroundImageHorizontalPositionSetted()
true if the attribute "backgroundImageHorizontalPosition" is set.
true if the attribute is set.public void setBackgroundImageHorizontalPosition(String backgroundImageHorizontalPosition)
IBackgroundImageCapability
setBackgroundImageHorizontalPosition in interface IBackgroundImageCapabilitybackgroundImageHorizontalPosition - horizontal positionpublic boolean isBackgroundImageHorizontalRepeat()
IBackgroundImageCapability
isBackgroundImageHorizontalRepeat in interface IBackgroundImageCapabilitypublic boolean isBackgroundImageHorizontalRepeat(FacesContext facesContext)
isBackgroundImageHorizontalRepeat() for more details
public final boolean isBackgroundImageHorizontalRepeatSetted()
true if the attribute "backgroundImageHorizontalRepeat" is set.
true if the attribute is set.public void setBackgroundImageHorizontalRepeat(boolean backgroundImageHorizontalRepeat)
IBackgroundImageCapability
setBackgroundImageHorizontalRepeat in interface IBackgroundImageCapabilitybackgroundImageHorizontalRepeat - booleanpublic String getBackgroundImageURL()
IBackgroundImageCapability
getBackgroundImageURL in interface IBackgroundImageCapabilitypublic String getBackgroundImageURL(FacesContext facesContext)
getBackgroundImageURL() for more details
public final boolean isBackgroundImageURLSetted()
true if the attribute "backgroundImageURL" is set.
true if the attribute is set.public void setBackgroundImageURL(String backgroundImageURL)
IBackgroundImageCapability
setBackgroundImageURL in interface IBackgroundImageCapabilitybackgroundImageURL - image urlpublic String getBackgroundImageVerticalPosition()
IBackgroundImageCapability
getBackgroundImageVerticalPosition in interface IBackgroundImageCapabilitypublic String getBackgroundImageVerticalPosition(FacesContext facesContext)
getBackgroundImageVerticalPosition() for more details
public final boolean isBackgroundImageVerticalPositionSetted()
true if the attribute "backgroundImageVerticalPosition" is set.
true if the attribute is set.public void setBackgroundImageVerticalPosition(String backgroundImageVerticalPosition)
IBackgroundImageCapability
setBackgroundImageVerticalPosition in interface IBackgroundImageCapabilitybackgroundImageVerticalPosition - positionpublic boolean isBackgroundImageVerticalRepeat()
IBackgroundImageCapability
isBackgroundImageVerticalRepeat in interface IBackgroundImageCapabilitypublic boolean isBackgroundImageVerticalRepeat(FacesContext facesContext)
isBackgroundImageVerticalRepeat() for more details
public final boolean isBackgroundImageVerticalRepeatSetted()
true if the attribute "backgroundImageVerticalRepeat" is set.
true if the attribute is set.public void setBackgroundImageVerticalRepeat(boolean backgroundImageVerticalRepeat)
IBackgroundImageCapability
setBackgroundImageVerticalRepeat in interface IBackgroundImageCapabilitybackgroundImageVerticalRepeat - booleanpublic boolean isBorder()
IBorderCapability
isBorder in interface IBorderCapabilitypublic boolean isBorder(FacesContext facesContext)
isBorder() for more details
public final boolean isBorderSetted()
true if the attribute "border" is set.
true if the attribute is set.public void setBorder(boolean border)
IBorderCapability
setBorder in interface IBorderCapabilityborder - booleanpublic final void addMouseOutListener(IMouseOutListener listener)
IMouseEventCapability
addMouseOutListener in interface IMouseEventCapabilitylistener - the mouseOut listener to addpublic final void removeMouseOutListener(IMouseOutListener listener)
IMouseEventCapability
removeMouseOutListener in interface IMouseEventCapabilitylistener - the mouseOut listener to removepublic final FacesListener[] listMouseOutListeners()
IMouseEventCapability
listMouseOutListeners in interface IMouseEventCapabilitypublic final void addMouseOverListener(IMouseOverListener listener)
IMouseEventCapability
addMouseOverListener in interface IMouseEventCapabilitylistener - the mouseOver listener to addpublic final void removeMouseOverListener(IMouseOverListener listener)
IMouseEventCapability
removeMouseOverListener in interface IMouseEventCapabilitylistener - the mouseOver listener to removepublic final FacesListener[] listMouseOverListeners()
IMouseEventCapability
listMouseOverListeners in interface IMouseEventCapabilitypublic final void addInitListener(IInitListener listener)
IInitEventCapability
addInitListener in interface IInitEventCapabilitylistener - the init listener to addpublic final void removeInitListener(IInitListener listener)
IInitEventCapability
removeInitListener in interface IInitEventCapabilitylistener - the init listener to removepublic final FacesListener[] listInitListeners()
IInitEventCapability
listInitListeners in interface IInitEventCapabilitypublic String getFor()
IForCapability
getFor in interface IForCapabilitypublic String getFor(FacesContext facesContext)
getFor() for more details
public final boolean isForSetted()
true if the attribute "for" is set.
true if the attribute is set.public void setFor(String forValue)
IForCapability
setFor in interface IForCapabilityforValue - id for a linked componentpublic String getErrorStyleClass()
ISeverityStyleClassCapability
getErrorStyleClass in interface ISeverityStyleClassCapabilitypublic String getErrorStyleClass(FacesContext facesContext)
getErrorStyleClass() for more details
public final boolean isErrorStyleClassSetted()
true if the attribute "errorStyleClass" is set.
true if the attribute is set.public void setErrorStyleClass(String errorStyleClass)
ISeverityStyleClassCapability
setErrorStyleClass in interface ISeverityStyleClassCapabilityerrorStyleClass - list of CSS style classespublic String getFatalStyleClass()
ISeverityStyleClassCapability
getFatalStyleClass in interface ISeverityStyleClassCapabilitypublic String getFatalStyleClass(FacesContext facesContext)
getFatalStyleClass() for more details
public final boolean isFatalStyleClassSetted()
true if the attribute "fatalStyleClass" is set.
true if the attribute is set.public void setFatalStyleClass(String fatalStyleClass)
ISeverityStyleClassCapability
setFatalStyleClass in interface ISeverityStyleClassCapabilityfatalStyleClass - list of CSS style classespublic String getInfoStyleClass()
ISeverityStyleClassCapability
getInfoStyleClass in interface ISeverityStyleClassCapabilitypublic String getInfoStyleClass(FacesContext facesContext)
getInfoStyleClass() for more details
public final boolean isInfoStyleClassSetted()
true if the attribute "infoStyleClass" is set.
true if the attribute is set.public void setInfoStyleClass(String infoStyleClass)
ISeverityStyleClassCapability
setInfoStyleClass in interface ISeverityStyleClassCapabilityinfoStyleClass - list of CSS style classespublic String getWarnStyleClass()
ISeverityStyleClassCapability
getWarnStyleClass in interface ISeverityStyleClassCapabilitypublic String getWarnStyleClass(FacesContext facesContext)
getWarnStyleClass() for more details
public final boolean isWarnStyleClassSetted()
true if the attribute "warnStyleClass" is set.
true if the attribute is set.public void setWarnStyleClass(String warnStyleClass)
ISeverityStyleClassCapability
setWarnStyleClass in interface ISeverityStyleClassCapabilitywarnStyleClass - list of CSS style classespublic boolean isShowIfMessage()
public boolean isShowIfMessage(FacesContext facesContext)
public void setShowIfMessage(boolean showIfMessage)
public boolean isShowIfMessageSetted()
true if the attribute "showIfMessage" is set.
true if the attribute is set.public boolean isSetFocusIfMessage()
public boolean isSetFocusIfMessage(FacesContext facesContext)
public void setSetFocusIfMessage(boolean setFocusIfMessage)
public boolean isSetFocusIfMessageSetted()
true if the attribute "setFocusIfMessage" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractBasicComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||