net.sf.beanform
Class BeanFormField

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.BeanFormRowComponent
                      extended by net.sf.beanform.BeanFormField
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IRender, ITemplateComponent

public abstract class BeanFormField
extends BeanFormRowComponent

A low level BeanForm component that renders fields for all the properties. This component must be wrapped by a BeanFormRows component.

Author:
Daniel Gredler

Field Summary
static String CHECKBOX_FIELD_ID
           
static String DATEPICKER_FIELD_ID
           
static String INSERT_FIELD_ID
           
static String PROPERTYSELECTION_FIELD_ID
           
static String TEXTAREA_FIELD_ID
           
static String TEXTFIELD_FIELD_ID
           
static String UPLOAD_FIELD_ID
           
 
Constructor Summary
BeanFormField()
           
 
Method Summary
 boolean getDisabled()
           
 IComponent getFieldBlock()
           
 String getFieldId()
           
 IPropertySelectionModel getPropertySelectionModel()
           
abstract  CachingValidatorFactory getValidatorFactory()
           
 List<Validator> getValidators()
           
 Object getValue()
           
 void setValue(Object value)
           
 
Methods inherited from class net.sf.beanform.BeanFormRowComponent
addExtraBindings, getBean, getCustomField, getCustomFieldBlock, getDisplayName, getProperty
 
Methods inherited from class net.sf.beanform.BeanFormComponent
getBeanForm, getCustomField, getCustomFieldBlock, getCustomFieldBlockName, getCustomFieldName, getPropertySelectionModel, getSiblingComponent, hasCustomField, hasPropertySelectionModel
 
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
 

Field Detail

PROPERTYSELECTION_FIELD_ID

public static final String PROPERTYSELECTION_FIELD_ID
See Also:
Constant Field Values

TEXTFIELD_FIELD_ID

public static final String TEXTFIELD_FIELD_ID
See Also:
Constant Field Values

TEXTAREA_FIELD_ID

public static final String TEXTAREA_FIELD_ID
See Also:
Constant Field Values

CHECKBOX_FIELD_ID

public static final String CHECKBOX_FIELD_ID
See Also:
Constant Field Values

DATEPICKER_FIELD_ID

public static final String DATEPICKER_FIELD_ID
See Also:
Constant Field Values

UPLOAD_FIELD_ID

public static final String UPLOAD_FIELD_ID
See Also:
Constant Field Values

INSERT_FIELD_ID

public static final String INSERT_FIELD_ID
See Also:
Constant Field Values
Constructor Detail

BeanFormField

public BeanFormField()
Method Detail

getValidatorFactory

public abstract CachingValidatorFactory getValidatorFactory()

getFieldBlock

public IComponent getFieldBlock()

getFieldId

public String getFieldId()

getValue

public Object getValue()

setValue

public void setValue(Object value)

getDisabled

public boolean getDisabled()

getValidators

public List<Validator> getValidators()

getPropertySelectionModel

public IPropertySelectionModel getPropertySelectionModel()


Copyright © 2006 Daniel Gredler. All Rights Reserved.