com.sun.rave.web.ui.component
Class PropertySheetSection

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.sun.rave.web.ui.component.PropertySheetSectionBase
              extended by com.sun.rave.web.ui.component.PropertySheetSection
All Implemented Interfaces:
javax.faces.component.StateHolder

public class PropertySheetSection
extends PropertySheetSectionBase


Field Summary
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
PropertySheetSection()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext context)
          If the rendered property is true, render the begining of the current state of this UIComponent to the response contained in the specified FacesContext.
 int getSectionChildrenCount()
           This method calculates the number of visible child PropertySheetSection or Property UIComponents.
 java.util.List getVisibleSectionChildren()
           This method creates a List of visible (rendered=true) child PropertySheetSection or Property components.
 
Methods inherited from class com.sun.rave.web.ui.component.PropertySheetSectionBase
getFamily, getLabel, getStyle, getStyleClass, isVisible, restoreState, saveState, setLabel, setStyle, setStyleClass, setVisible
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, 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
 

Constructor Detail

PropertySheetSection

public PropertySheetSection()
Method Detail

getSectionChildrenCount

public int getSectionChildrenCount()

This method calculates the number of visible child PropertySheetSection or Property UIComponents. A PropertySheetSection or Property can be made not visible by setting their rendered property to false.

Returns:
The number of visible PropertySheetSection children.

getVisibleSectionChildren

public java.util.List getVisibleSectionChildren()

This method creates a List of visible (rendered=true) child PropertySheetSection or Property components.

Returns:
List of child PropertySheetSection or Property UIComponent objects.

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
If the rendered property is true, render the begining of the current state of this UIComponent to the response contained in the specified FacesContext. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer.encodeBegin(FacesContext, UIComponent).

Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Parameters:
context - FacesContext for the current request.
Throws:
java.io.IOException - if an input/output error occurs while rendering.
java.lang.NullPointerException - if FacesContext is null.