net.sf.beanform
Class BeanFormComponent

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
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IRender, ITemplateComponent
Direct Known Subclasses:
BeanForm, BeanFormButtons, BeanFormRowComponent, BeanFormRows

public abstract class BeanFormComponent
extends BaseComponent

Superclass for low level BeanForm components which must be wrapped by a BeanForm component.

Author:
Daniel Gredler
See Also:
BeanFormRows, BeanFormLabel, BeanFormField, BeanFormButtons

Constructor Summary
BeanFormComponent()
           
 
Method Summary
protected  BeanForm getBeanForm()
           
protected  IFormComponent getCustomField(BeanProperty property)
           
protected  Block getCustomFieldBlock(BeanProperty property)
           
protected  String getCustomFieldBlockName(BeanProperty property)
           
protected  String getCustomFieldName(BeanProperty property)
           
protected  IPropertySelectionModel getPropertySelectionModel(BeanProperty prop, boolean useCache)
           
protected
<T extends IComponent>
T
getSiblingComponent(String id, Class<T> clazz)
           
protected  boolean hasCustomField(BeanProperty property)
           
protected  boolean hasPropertySelectionModel(BeanProperty prop, boolean useCache)
           
 
Methods inherited from class org.apache.tapestry.BaseComponent
addOuter, finishLoad, renderComponent
 
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
 

Constructor Detail

BeanFormComponent

public BeanFormComponent()
Method Detail

getBeanForm

protected BeanForm getBeanForm()

hasCustomField

protected boolean hasCustomField(BeanProperty property)

getCustomFieldBlock

protected Block getCustomFieldBlock(BeanProperty property)

getCustomFieldBlockName

protected String getCustomFieldBlockName(BeanProperty property)

getCustomField

protected IFormComponent getCustomField(BeanProperty property)

getCustomFieldName

protected String getCustomFieldName(BeanProperty property)

getSiblingComponent

protected <T extends IComponent> T getSiblingComponent(String id,
                                                       Class<T> clazz)

hasPropertySelectionModel

protected boolean hasPropertySelectionModel(BeanProperty prop,
                                            boolean useCache)

getPropertySelectionModel

protected IPropertySelectionModel getPropertySelectionModel(BeanProperty prop,
                                                            boolean useCache)


Copyright © 2006 Daniel Gredler. All Rights Reserved.