|
||||||||||
| 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
javax.faces.component.UIMessages
org.apache.myfaces.tobago.internal.component.AbstractUIMessages
org.apache.myfaces.tobago.component.UIMessages
public class UIMessages
Renders error/validation messages.
UIComponent class, generated from template component1.2.stg with class
MessagesTagDeclaration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIMessages |
|---|
AbstractUIMessages.Item, AbstractUIMessages.ItemComparator, AbstractUIMessages.OrderBy |
| Field Summary | |
|---|---|
static String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIMessages |
|---|
COMPONENT_FAMILY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
UIMessages()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIMessages |
|---|
createMessageList |
| Methods inherited from class javax.faces.component.UIMessages |
|---|
getFamily, isGlobalOnly, setGlobalOnly |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
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 |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutComponent |
|---|
isRendered |
| Methods inherited from interface org.apache.myfaces.tobago.config.Configurable |
|---|
getRendererType |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
| Constructor Detail |
|---|
public UIMessages()
| Method Detail |
|---|
public Markup getMarkup()
getMarkup in interface SupportsMarkuppublic void setMarkup(Markup markup)
setMarkup in interface SupportsMarkuppublic boolean isShowSummary()
true
isShowSummary in class javax.faces.component.UIMessagespublic void setShowSummary(boolean showSummary)
setShowSummary in class javax.faces.component.UIMessagespublic AbstractUIMessages.OrderBy getOrderBy()
occurrenceoccurrence,severity
getOrderBy in class AbstractUIMessagespublic void setOrderBy(AbstractUIMessages.OrderBy orderBy)
public String getGlobalOnly()
false
public void setGlobalOnly(String globalOnly)
public Measure getMarginLeft()
getMarginLeft in interface LayoutBasepublic void setMarginLeft(Measure marginLeft)
setMarginLeft in interface LayoutBasepublic String getFor()
getFor in class AbstractUIMessagespublic void setFor(String forComponent)
public Measure getMinimumHeight()
getMinimumHeight in interface LayoutBasepublic void setMinimumHeight(Measure minimumHeight)
setMinimumHeight in interface LayoutBasepublic javax.faces.application.FacesMessage.Severity getMaxSeverity()
fatal
getMaxSeverity in class AbstractUIMessagespublic void setMaxSeverity(javax.faces.application.FacesMessage.Severity maxSeverity)
public javax.faces.application.FacesMessage.Severity getMinSeverity()
info
getMinSeverity in class AbstractUIMessagespublic void setMinSeverity(javax.faces.application.FacesMessage.Severity minSeverity)
public Measure getHeight()
getHeight in interface LayoutBasepublic void setHeight(Measure height)
setHeight in interface LayoutBasepublic Measure getMinimumWidth()
getMinimumWidth in interface LayoutBasepublic void setMinimumWidth(Measure minimumWidth)
setMinimumWidth in interface LayoutBasepublic Integer getRowSpan()
getRowSpan in interface LayoutComponentpublic void setRowSpan(Integer rowSpan)
setRowSpan in interface LayoutComponentpublic boolean isConfirmation()
false
public void setConfirmation(boolean confirmation)
public Measure getLeft()
getLeft in interface LayoutBasepublic void setLeft(Measure left)
setLeft in interface LayoutBasepublic Integer getColumnSpan()
getColumnSpan in interface LayoutComponentpublic void setColumnSpan(Integer columnSpan)
setColumnSpan in interface LayoutComponentpublic Measure getMaximumHeight()
getMaximumHeight in interface LayoutBasepublic void setMaximumHeight(Measure maximumHeight)
setMaximumHeight in interface LayoutBasepublic Measure getTop()
getTop in interface LayoutBasepublic void setTop(Measure top)
setTop in interface LayoutBasepublic Measure getCurrentWidth()
getCurrentWidth in interface LayoutBasepublic void setCurrentWidth(Measure currentWidth)
setCurrentWidth in interface LayoutBasepublic Measure getMarginTop()
getMarginTop in interface LayoutBasepublic void setMarginTop(Measure marginTop)
setMarginTop in interface LayoutBasepublic Measure getMarginRight()
getMarginRight in interface LayoutBasepublic void setMarginRight(Measure marginRight)
setMarginRight in interface LayoutBasepublic Measure getWidth()
getWidth in interface LayoutBasepublic void setWidth(Measure width)
setWidth in interface LayoutBasepublic Measure getCurrentHeight()
getCurrentHeight in interface LayoutBasepublic void setCurrentHeight(Measure currentHeight)
setCurrentHeight in interface LayoutBasepublic Measure getPreferredHeight()
getPreferredHeight in interface LayoutBasepublic void setPreferredHeight(Measure preferredHeight)
setPreferredHeight in interface LayoutBasepublic boolean isShowDetail()
false
isShowDetail in class javax.faces.component.UIMessagespublic void setShowDetail(boolean showDetail)
setShowDetail in class javax.faces.component.UIMessagespublic Display getDisplay()
getDisplay in interface LayoutComponentpublic void setDisplay(Display display)
setDisplay in interface LayoutComponentpublic Measure getMaximumWidth()
getMaximumWidth in interface LayoutBasepublic void setMaximumWidth(Measure maximumWidth)
setMaximumWidth in interface LayoutBasepublic Measure getPreferredWidth()
getPreferredWidth in interface LayoutBasepublic void setPreferredWidth(Measure preferredWidth)
setPreferredWidth in interface LayoutBasepublic Measure getMarginBottom()
getMarginBottom in interface LayoutBasepublic void setMarginBottom(Measure marginBottom)
setMarginBottom in interface LayoutBasepublic Integer getVerticalIndex()
getVerticalIndex in interface LayoutComponentpublic void setVerticalIndex(Integer verticalIndex)
setVerticalIndex in interface LayoutComponentpublic Markup getCurrentMarkup()
getCurrentMarkup in interface SupportsMarkupgetCurrentMarkup in interface Configurablepublic void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup in interface SupportsMarkuppublic Integer getHorizontalIndex()
getHorizontalIndex in interface LayoutComponentpublic void setHorizontalIndex(Integer horizontalIndex)
setHorizontalIndex in interface LayoutComponentpublic Integer getMaxNumber()
2147483647
getMaxNumber in class AbstractUIMessagespublic void setMaxNumber(Integer maxNumber)
public void restoreState(javax.faces.context.FacesContext context,
Object componentState)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIMessagespublic Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIMessages
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||