public class HtmlMessage extends UIMessage
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
COMPONENT_FAMILY
Constructor and Description |
---|
HtmlMessage() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorClass() |
String |
getErrorStyle() |
String |
getFatalClass() |
String |
getFatalStyle() |
String |
getInfoClass() |
String |
getInfoStyle() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTitle() |
String |
getWarnClass() |
String |
getWarnStyle() |
boolean |
isTooltip() |
void |
restoreState(FacesContext context,
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 context)
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 |
setErrorClass(String errorClass) |
void |
setErrorStyle(String errorStyle) |
void |
setFatalClass(String fatalClass) |
void |
setFatalStyle(String fatalStyle) |
void |
setInfoClass(String infoClass) |
void |
setInfoStyle(String infoStyle) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
void |
setTooltip(boolean tooltip) |
void |
setWarnClass(String warnClass) |
void |
setWarnStyle(String warnStyle) |
getFamily, getFor, isShowDetail, isShowSummary, setFor, setShowDetail, setShowSummary
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
public static final String COMPONENT_TYPE
public void setErrorClass(String errorClass)
public String getErrorClass()
public void setErrorStyle(String errorStyle)
public String getErrorStyle()
public void setFatalClass(String fatalClass)
public String getFatalClass()
public void setFatalStyle(String fatalStyle)
public String getFatalStyle()
public void setInfoClass(String infoClass)
public String getInfoClass()
public void setInfoStyle(String infoStyle)
public String getInfoStyle()
public void setStyle(String style)
public String getStyle()
public void setStyleClass(String styleClass)
public String getStyleClass()
public void setTitle(String title)
public String getTitle()
public void setTooltip(boolean tooltip)
public boolean isTooltip()
public void setWarnClass(String warnClass)
public String getWarnClass()
public void setWarnStyle(String warnStyle)
public String getWarnStyle()
public Object saveState(FacesContext context)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIMessage
public void restoreState(FacesContext context, 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 © 2012 Apache Software Foundation. All Rights Reserved.