net.sf.beanform
Class BeanFormRows

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.BaseComponent
              extended by net.sf.beanform.BeanFormComponent
                  extended by net.sf.beanform.BeanFormRows
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent

public abstract class BeanFormRows
extends BeanFormComponent

A low level BeanForm component that generates the rows for all the properties. This component must be wrapped by a BeanForm component.

Author:
Daniel Gredler

Field Summary
static java.lang.String BEAN_FORM_ROWS_ATTRIBUTE
           
 
Constructor Summary
BeanFormRows()
           
 
Method Summary
 int getIndex()
           
 java.util.List<BeanProperty> getProperties()
           
 BeanProperty getProperty()
           
protected  void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
           
 void setIndex(int index)
           
 void setProperty(BeanProperty property)
           
 
Methods inherited from class net.sf.beanform.BeanFormComponent
getBeanForm, getCustomField, getCustomFieldBlock, hasCustomField
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, format, format, format, format, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty, toString
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessage, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainedComponent, setContainer, setId, setNamespace, setPage, setProperty
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Field Detail

BEAN_FORM_ROWS_ATTRIBUTE

public static final java.lang.String BEAN_FORM_ROWS_ATTRIBUTE
Constructor Detail

BeanFormRows

public BeanFormRows()
Method Detail

getProperty

public BeanProperty getProperty()

setProperty

public void setProperty(BeanProperty property)

getIndex

public int getIndex()

setIndex

public void setIndex(int index)

getProperties

public java.util.List<BeanProperty> getProperties()

renderComponent

protected void renderComponent(org.apache.tapestry.IMarkupWriter writer,
                               org.apache.tapestry.IRequestCycle cycle)
Overrides:
renderComponent in class org.apache.tapestry.BaseComponent


Copyright © 2006 Daniel Gredler. All Rights Reserved.