public class UIMessages extends AbstractUIMessages implements SupportsMarkup
component1.2.stg
with class
MessagesTagDeclaration
.AbstractUIMessages.Item, AbstractUIMessages.ItemComparator, AbstractUIMessages.OrderBy
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIMessages() |
Modifier and Type | Method and Description |
---|---|
Integer |
getColumnSpan() |
Measure |
getCurrentHeight()
This value will usually be set by the layout manager.
|
Markup |
getCurrentMarkup() |
Measure |
getCurrentWidth()
This value will usually be set by the layout manager.
|
Display |
getDisplay()
This attribute is for internal use only.
|
String |
getFor()
Id of the component, this is related to.
|
String |
getGlobalOnly()
Flag indicating that only messages that are not associated to any
particular UIComponent should be displayed.
|
Measure |
getHeight()
This value will usually be set by the layout manager.
|
Integer |
getHorizontalIndex()
This attribute is for internal use only.
|
Measure |
getLeft()
This value will usually be set by the layout manager.
|
Measure |
getMarginBottom() |
Measure |
getMarginLeft() |
Measure |
getMarginRight() |
Measure |
getMarginTop() |
Markup |
getMarkup() |
Measure |
getMaximumHeight() |
Measure |
getMaximumWidth() |
Integer |
getMaxNumber()
Sets the maximum number of messages to show.
|
javax.faces.application.FacesMessage.Severity |
getMaxSeverity()
Sets the maximum severity to be shown.
|
Measure |
getMinimumHeight() |
Measure |
getMinimumWidth() |
javax.faces.application.FacesMessage.Severity |
getMinSeverity()
Sets the mininum severity to be shown.
|
AbstractUIMessages.OrderBy |
getOrderBy()
Sets the order of the messages.
|
Measure |
getPreferredHeight() |
Measure |
getPreferredWidth() |
Integer |
getRowSpan() |
Measure |
getTop()
This value will usually be set by the layout manager.
|
Integer |
getVerticalIndex()
This attribute is for internal use only.
|
Measure |
getWidth()
This value will usually be set by the layout manager.
|
boolean |
isConfirmation()
Has the user to confirm this message?
|
boolean |
isShowDetail()
Flag indicating whether the detail should be included
Default: false |
boolean |
isShowSummary()
Flag indicating whether the summary should be included
Default: true |
void |
restoreState(javax.faces.context.FacesContext context,
Object componentState) |
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setColumnSpan(Integer columnSpan) |
void |
setConfirmation(boolean confirmation) |
void |
setCurrentHeight(Measure currentHeight) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCurrentWidth(Measure currentWidth) |
void |
setDisplay(Display display) |
void |
setFor(String forComponent) |
void |
setGlobalOnly(String globalOnly) |
void |
setHeight(Measure height) |
void |
setHorizontalIndex(Integer horizontalIndex) |
void |
setLeft(Measure left) |
void |
setMarginBottom(Measure marginBottom) |
void |
setMarginLeft(Measure marginLeft) |
void |
setMarginRight(Measure marginRight) |
void |
setMarginTop(Measure marginTop) |
void |
setMarkup(Markup markup) |
void |
setMaximumHeight(Measure maximumHeight) |
void |
setMaximumWidth(Measure maximumWidth) |
void |
setMaxNumber(Integer maxNumber) |
void |
setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity) |
void |
setMinimumHeight(Measure minimumHeight) |
void |
setMinimumWidth(Measure minimumWidth) |
void |
setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity) |
void |
setOrderBy(AbstractUIMessages.OrderBy orderBy) |
void |
setPreferredHeight(Measure preferredHeight) |
void |
setPreferredWidth(Measure preferredWidth) |
void |
setRowSpan(Integer rowSpan) |
void |
setShowDetail(boolean showDetail) |
void |
setShowSummary(boolean showSummary) |
void |
setTop(Measure top) |
void |
setVerticalIndex(Integer verticalIndex) |
void |
setWidth(Measure width) |
createMessageList
getFamily, isGlobalOnly, setGlobalOnly
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRendered
getRendererType
public static final String COMPONENT_TYPE
public Markup getMarkup()
getMarkup
in interface SupportsMarkup
public void setMarkup(Markup markup)
setMarkup
in interface SupportsMarkup
public boolean isShowSummary()
true
isShowSummary
in class javax.faces.component.UIMessages
public void setShowSummary(boolean showSummary)
setShowSummary
in class javax.faces.component.UIMessages
public AbstractUIMessages.OrderBy getOrderBy()
occurrence
occurrence,severity
getOrderBy
in class AbstractUIMessages
public void setOrderBy(AbstractUIMessages.OrderBy orderBy)
public String getGlobalOnly()
false
public void setGlobalOnly(String globalOnly)
public Measure getMarginLeft()
getMarginLeft
in interface LayoutBase
public void setMarginLeft(Measure marginLeft)
setMarginLeft
in interface LayoutBase
public String getFor()
getFor
in class AbstractUIMessages
public void setFor(String forComponent)
public Measure getMinimumHeight()
getMinimumHeight
in interface LayoutBase
public void setMinimumHeight(Measure minimumHeight)
setMinimumHeight
in interface LayoutBase
public javax.faces.application.FacesMessage.Severity getMaxSeverity()
fatal
getMaxSeverity
in class AbstractUIMessages
public void setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity)
public javax.faces.application.FacesMessage.Severity getMinSeverity()
info
getMinSeverity
in class AbstractUIMessages
public void setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity)
public Measure getHeight()
getHeight
in interface LayoutBase
public void setHeight(Measure height)
setHeight
in interface LayoutBase
public Measure getMinimumWidth()
getMinimumWidth
in interface LayoutBase
public void setMinimumWidth(Measure minimumWidth)
setMinimumWidth
in interface LayoutBase
public boolean isConfirmation()
false
public void setConfirmation(boolean confirmation)
public Integer getRowSpan()
getRowSpan
in interface LayoutComponent
public void setRowSpan(Integer rowSpan)
setRowSpan
in interface LayoutComponent
public Measure getLeft()
getLeft
in interface LayoutBase
public void setLeft(Measure left)
setLeft
in interface LayoutBase
public Integer getColumnSpan()
getColumnSpan
in interface LayoutComponent
public void setColumnSpan(Integer columnSpan)
setColumnSpan
in interface LayoutComponent
public Measure getMaximumHeight()
getMaximumHeight
in interface LayoutBase
public void setMaximumHeight(Measure maximumHeight)
setMaximumHeight
in interface LayoutBase
public Measure getTop()
getTop
in interface LayoutBase
public void setTop(Measure top)
setTop
in interface LayoutBase
public Measure getCurrentWidth()
getCurrentWidth
in interface LayoutBase
public void setCurrentWidth(Measure currentWidth)
setCurrentWidth
in interface LayoutBase
public Measure getMarginTop()
getMarginTop
in interface LayoutBase
public void setMarginTop(Measure marginTop)
setMarginTop
in interface LayoutBase
public Measure getMarginRight()
getMarginRight
in interface LayoutBase
public void setMarginRight(Measure marginRight)
setMarginRight
in interface LayoutBase
public Measure getWidth()
getWidth
in interface LayoutBase
public void setWidth(Measure width)
setWidth
in interface LayoutBase
public Measure getCurrentHeight()
getCurrentHeight
in interface LayoutBase
public void setCurrentHeight(Measure currentHeight)
setCurrentHeight
in interface LayoutBase
public Measure getPreferredHeight()
getPreferredHeight
in interface LayoutBase
public void setPreferredHeight(Measure preferredHeight)
setPreferredHeight
in interface LayoutBase
public boolean isShowDetail()
false
isShowDetail
in class javax.faces.component.UIMessages
public void setShowDetail(boolean showDetail)
setShowDetail
in class javax.faces.component.UIMessages
public Display getDisplay()
getDisplay
in interface LayoutComponent
public void setDisplay(Display display)
setDisplay
in interface LayoutComponent
public Measure getMaximumWidth()
getMaximumWidth
in interface LayoutBase
public void setMaximumWidth(Measure maximumWidth)
setMaximumWidth
in interface LayoutBase
public Measure getPreferredWidth()
getPreferredWidth
in interface LayoutBase
public void setPreferredWidth(Measure preferredWidth)
setPreferredWidth
in interface LayoutBase
public Measure getMarginBottom()
getMarginBottom
in interface LayoutBase
public void setMarginBottom(Measure marginBottom)
setMarginBottom
in interface LayoutBase
public Integer getVerticalIndex()
getVerticalIndex
in interface LayoutComponent
public void setVerticalIndex(Integer verticalIndex)
setVerticalIndex
in interface LayoutComponent
public Markup getCurrentMarkup()
getCurrentMarkup
in interface SupportsMarkup
getCurrentMarkup
in interface Configurable
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface SupportsMarkup
public Integer getHorizontalIndex()
getHorizontalIndex
in interface LayoutComponent
public void setHorizontalIndex(Integer horizontalIndex)
setHorizontalIndex
in interface LayoutComponent
public Integer getMaxNumber()
2147483647
getMaxNumber
in class AbstractUIMessages
public void setMaxNumber(Integer maxNumber)
public void restoreState(javax.faces.context.FacesContext context, Object componentState)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIMessages
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIMessages
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.