|
||||||||||
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 component2.0.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_FAMILY
|
static String |
COMPONENT_TYPE
|
Fields inherited from class javax.faces.component.UIComponent |
---|
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY |
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 |
getFamily()
|
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? |
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 |
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 |
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 |
---|
getFor, isGlobalOnly, isRedisplay, isShowDetail, isShowSummary, setFor, setGlobalOnly, setRedisplay, setShowDetail, setShowSummary |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent |
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
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public UIMessages()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.UIMessages
public Markup getMarkup()
getMarkup
in interface SupportsMarkup
public void setMarkup(Markup markup)
setMarkup
in interface SupportsMarkup
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 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 getPreferredHeight()
getPreferredHeight
in interface LayoutBase
public void setPreferredHeight(Measure preferredHeight)
setPreferredHeight
in interface LayoutBase
public Measure getCurrentHeight()
getCurrentHeight
in interface LayoutBase
public void setCurrentHeight(Measure currentHeight)
setCurrentHeight
in interface LayoutBase
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 Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |