Class MessagesBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIMessages
org.primefaces.component.messages.MessagesBase
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, UINotification
Direct Known Subclasses:
Messages

public abstract class MessagesBase extends javax.faces.component.UIMessages implements UINotification
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class javax.faces.component.UIMessages

    COMPONENT_TYPE

    Fields inherited from class javax.faces.component.UIComponent

    ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    void
    setClosable(boolean closable)
     
    void
    setEscape(boolean escape)
     
    void
    setForIgnores(String forIgnores)
     
    void
    setForType(String forType)
     
    void
    setSeverity(String severity)
     
    void
    setShowIcon(boolean showIcon)
     
    void
    setSkipDetailIfEqualsSummary(boolean skipDetailIfEqualsSummary)
     
    void
     
    void
    setStyleClass(String styleClass)
     

    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, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class javax.faces.component.UIComponent

    encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.primefaces.component.api.UINotification

    isRedisplay
  • Field Details

  • Constructor Details

    • MessagesBase

      public MessagesBase()
  • Method Details

    • getFamily

      public String getFamily()
      Overrides:
      getFamily in class javax.faces.component.UIMessages
    • isEscape

      public boolean isEscape()
    • setEscape

      public void setEscape(boolean escape)
    • getSeverity

      public String getSeverity()
      Specified by:
      getSeverity in interface UINotification
    • setSeverity

      public void setSeverity(String severity)
    • isClosable

      public boolean isClosable()
    • setClosable

      public void setClosable(boolean closable)
    • getStyle

      public String getStyle()
    • setStyle

      public void setStyle(String style)
    • getStyleClass

      public String getStyleClass()
    • setStyleClass

      public void setStyleClass(String styleClass)
    • isShowIcon

      public boolean isShowIcon()
    • setShowIcon

      public void setShowIcon(boolean showIcon)
    • getForType

      public String getForType()
    • setForType

      public void setForType(String forType)
    • getForIgnores

      public String getForIgnores()
    • setForIgnores

      public void setForIgnores(String forIgnores)
    • isSkipDetailIfEqualsSummary

      public boolean isSkipDetailIfEqualsSummary()
      Specified by:
      isSkipDetailIfEqualsSummary in interface UINotification
    • setSkipDetailIfEqualsSummary

      public void setSkipDetailIfEqualsSummary(boolean skipDetailIfEqualsSummary)