public class HtmlMessage extends UIMessage
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
HtmlMessage()
Construct an instance of the HtmlMessage.
|
Modifier and Type | Method and Description |
---|---|
String |
getDir()
Gets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
String |
getErrorClass()
Gets CSS class to be used for messages with severity "ERROR".
|
String |
getErrorStyle()
Gets CSS style to be used for messages with severity "ERROR".
|
String |
getFamily() |
String |
getFatalClass()
Gets CSS class to be used for messages with severity "FATAL".
|
String |
getFatalStyle()
Gets CSS style to be used for messages with severity "FATAL".
|
String |
getInfoClass()
Gets CSS class to be used for messages with severity "INFO".
|
String |
getInfoStyle()
Gets CSS style to be used for messages with severity "INFO".
|
String |
getLang()
Gets The base language of this document.
|
String |
getStyle()
Gets CSS styling instructions.
|
String |
getStyleClass()
Gets The CSS class for this element.
|
String |
getTitle()
Gets An advisory title for this element.
|
String |
getWarnClass()
Gets CSS class to be used for messages with severity "WARN".
|
String |
getWarnStyle()
Gets CSS style to be used for messages with severity "WARN".
|
boolean |
isTooltip()
Gets If true, the message summary will be rendered as a tooltip (i.e.
|
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setDir(String dir)
Sets The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
|
void |
setErrorClass(String errorClass)
Sets CSS class to be used for messages with severity "ERROR".
|
void |
setErrorStyle(String errorStyle)
Sets CSS style to be used for messages with severity "ERROR".
|
void |
setFatalClass(String fatalClass)
Sets CSS class to be used for messages with severity "FATAL".
|
void |
setFatalStyle(String fatalStyle)
Sets CSS style to be used for messages with severity "FATAL".
|
void |
setInfoClass(String infoClass)
Sets CSS class to be used for messages with severity "INFO".
|
void |
setInfoStyle(String infoStyle)
Sets CSS style to be used for messages with severity "INFO".
|
void |
setLang(String lang)
Sets The base language of this document.
|
void |
setStyle(String style)
Sets CSS styling instructions.
|
void |
setStyleClass(String styleClass)
Sets The CSS class for this element.
|
void |
setTitle(String title)
Sets An advisory title for this element.
|
void |
setTooltip(boolean tooltip)
Sets If true, the message summary will be rendered as a tooltip (i.e.
|
void |
setWarnClass(String warnClass)
Sets CSS class to be used for messages with severity "WARN".
|
void |
setWarnStyle(String warnStyle)
Sets CSS style to be used for messages with severity "WARN".
|
getFor, isShowDetail, isShowSummary, setFor, setShowDetail, setShowSummary
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
encodeAll, getContainerClientId, getValueExpression, setValueExpression
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public String getStyle()
public void setStyle(String style)
style
- the new style valuepublic String getStyleClass()
public void setStyleClass(String styleClass)
styleClass
- the new styleClass valuepublic String getDir()
public void setDir(String dir)
dir
- the new dir valuepublic String getLang()
public void setLang(String lang)
lang
- the new lang valuepublic String getTitle()
public void setTitle(String title)
title
- the new title valuepublic String getInfoClass()
public void setInfoClass(String infoClass)
infoClass
- the new infoClass valuepublic String getInfoStyle()
public void setInfoStyle(String infoStyle)
infoStyle
- the new infoStyle valuepublic String getWarnClass()
public void setWarnClass(String warnClass)
warnClass
- the new warnClass valuepublic String getWarnStyle()
public void setWarnStyle(String warnStyle)
warnStyle
- the new warnStyle valuepublic String getErrorClass()
public void setErrorClass(String errorClass)
errorClass
- the new errorClass valuepublic String getErrorStyle()
public void setErrorStyle(String errorStyle)
errorStyle
- the new errorStyle valuepublic String getFatalClass()
public void setFatalClass(String fatalClass)
fatalClass
- the new fatalClass valuepublic String getFatalStyle()
public void setFatalStyle(String fatalStyle)
fatalStyle
- the new fatalStyle valuepublic boolean isTooltip()
public void setTooltip(boolean tooltip)
tooltip
- the new tooltip valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIMessage
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIMessage
state
- is an object previously returned by
the saveState method of this class.Copyright © 2013 Apache Software Foundation. All Rights Reserved.