Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.faces.component
Class UIMessages  view UIMessages download UIMessages.java

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIMessages
All Implemented Interfaces:
StateHolder

public class UIMessages
extends UIComponentBase

see Javadoc of JSF Specification

Version:
$Revision: 166994 $ $Date: 2004-07-01 18:12:40 -0400 (Thu, 01 Jul 2004) $

Field Summary
private  java.lang.Boolean _globalOnly
           
private  java.lang.Boolean _showDetail
           
private  java.lang.Boolean _showSummary
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
private static boolean DEFAULT_GLOBALONLY
           
private static java.lang.String DEFAULT_RENDERER_TYPE
           
private static boolean DEFAULT_SHOWDETAIL
           
private static boolean DEFAULT_SHOWSUMMARY
           
 
Fields inherited from class javax.faces.component.UIComponentBase
 
Constructor Summary
UIMessages()
           
 
Method Summary
 java.lang.String getFamily()
           
 boolean isGlobalOnly()
           
 boolean isShowDetail()
           
 boolean isShowSummary()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setGlobalOnly(boolean globalOnly)
           
 void setShowDetail(boolean showDetail)
           
 void setShowSummary(boolean showSummary)
           
 
Methods inherited from class javax.faces.component.UIComponentBase
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final java.lang.String COMPONENT_FAMILY
See Also:
Constant Field Values

DEFAULT_RENDERER_TYPE

private static final java.lang.String DEFAULT_RENDERER_TYPE
See Also:
Constant Field Values

DEFAULT_GLOBALONLY

private static final boolean DEFAULT_GLOBALONLY
See Also:
Constant Field Values

DEFAULT_SHOWDETAIL

private static final boolean DEFAULT_SHOWDETAIL
See Also:
Constant Field Values

DEFAULT_SHOWSUMMARY

private static final boolean DEFAULT_SHOWSUMMARY
See Also:
Constant Field Values

_globalOnly

private java.lang.Boolean _globalOnly

_showDetail

private java.lang.Boolean _showDetail

_showSummary

private java.lang.Boolean _showSummary
Constructor Detail

UIMessages

public UIMessages()
Method Detail

getFamily

public java.lang.String getFamily()
Specified by:
getFamily in class UIComponent

setGlobalOnly

public void setGlobalOnly(boolean globalOnly)

isGlobalOnly

public boolean isGlobalOnly()

setShowDetail

public void setShowDetail(boolean showDetail)

isShowDetail

public boolean isShowDetail()

setShowSummary

public void setShowSummary(boolean showSummary)

isShowSummary

public boolean isShowSummary()

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface StateHolder
Overrides:
saveState in class UIComponentBase

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface StateHolder
Overrides:
restoreState in class UIComponentBase