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

Quick Search    Search Deep

org.apache.myfaces.wap.def
Class PanelGrid  view PanelGrid download PanelGrid.java

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UIPanel
              extended byorg.apache.myfaces.wap.def.PanelGrid
All Implemented Interfaces:
javax.faces.component.StateHolder

public class PanelGrid
extends javax.faces.component.UIPanel

Renders an WML table element. Required attribute is "column" what sets number of colums in the table. Render the "header" and a "footer" facet if present, as the first or last row of the table. Render the children based on the value of the "columns" attribute, creating a new row each time a "columns" worth of children have been rendered. Each child is rendered inside of a "td" element. If a child has "rendered==false" it is not rendered, and the column counter must not be incremented.

Version:
$Revision: 1.1 $ $Date: 2004/12/30 09:37:25 $ $Log: PanelGrid.java,v $ Revision 1.1 2004/12/30 09:37:25 matzew added a new RenderKit for WML. Thanks to Jirí Žaloudek

Field Summary
(package private)  java.lang.String align
          Aligns the text in a column.
(package private)  java.lang.String binding
          The value binding expression linking this component to a property in a backing bean.
(package private)  java.lang.String columns
          Sets the number of columns in the table.
(package private)  java.lang.String id
          The component identifier for the associated component.
(package private)  boolean rendered
          Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.
(package private)  java.lang.String styleClass
          The attribute styleClass affiliates an element with one or more classes.
(package private)  java.lang.String title
          Sets a title for the table.
(package private)  java.lang.String xmllang
          The xml:lang attribute specifies the natural or formal language of an element or its attributes.
 
Fields inherited from class javax.faces.component.UIPanel
COMPONENT_FAMILY, COMPONENT_TYPE
 
Fields inherited from class javax.faces.component.UIComponentBase
 
Constructor Summary
PanelGrid()
           
 
Methods inherited from class javax.faces.component.UIPanel
getFamily
 
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, restoreState, saveAttachedState, saveState, 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

align

java.lang.String align
Aligns the text in a column. Specify a list of the align values, one for each column. Posible are values: "C", "L" or "R". Example: aling="RRCL" - the first column is align to right, second right, third center and the fourth column to left. Default aling is left.


columns

java.lang.String columns
Sets the number of columns in the table.


styleClass

java.lang.String styleClass
The attribute styleClass affiliates an element with one or more classes. Multiple elements can be given the same styleClass name.


title

java.lang.String title
Sets a title for the table.


xmllang

java.lang.String xmllang
The xml:lang attribute specifies the natural or formal language of an element or its attributes.


id

java.lang.String id
The component identifier for the associated component.


rendered

boolean rendered
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit.


binding

java.lang.String binding
The value binding expression linking this component to a property in a backing bean.

Constructor Detail

PanelGrid

public PanelGrid()