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:
Locatable, LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender, org.apache.tapestry.ITemplateComponent
Direct Known Subclasses:
BeanForm, BeanFormButtons, BeanFormRowComponent, BeanFormRows

public abstract class BeanFormComponent
extends org.apache.tapestry.BaseComponent

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

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

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
BeanFormComponent()
           
 
Method Summary
protected  BeanForm getBeanForm()
           
protected  org.apache.tapestry.form.IFormComponent getCustomField(BeanProperty property)
           
protected  org.apache.tapestry.components.Block getCustomFieldBlock(BeanProperty property)
           
protected  String getCustomFieldBlockName(BeanProperty property)
           
protected  String getCustomFieldName(BeanProperty property)
           
protected  org.apache.tapestry.form.IPropertySelectionModel getPropertySelectionModel(BeanProperty prop, boolean useCache)
           
protected
<T extends org.apache.tapestry.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, getContainedRenderers, getInnerRenderers, renderComponent
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
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 org.apache.tapestry.components.Block getCustomFieldBlock(BeanProperty property)

getCustomFieldBlockName

protected String getCustomFieldBlockName(BeanProperty property)

getCustomField

protected org.apache.tapestry.form.IFormComponent getCustomField(BeanProperty property)

getCustomFieldName

protected String getCustomFieldName(BeanProperty property)

getSiblingComponent

protected <T extends org.apache.tapestry.IComponent> T getSiblingComponent(String id,
                                                                           Class<T> clazz)

hasPropertySelectionModel

protected boolean hasPropertySelectionModel(BeanProperty prop,
                                            boolean useCache)

getPropertySelectionModel

protected org.apache.tapestry.form.IPropertySelectionModel getPropertySelectionModel(BeanProperty prop,
                                                                                     boolean useCache)


Copyright © 2005-2008 SourceForge.net. All Rights Reserved.