net.sf.beanform
Class BeanFormButtons

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.BeanFormButtons
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, IComponent, IRender, ITemplateComponent

public abstract class BeanFormButtons
extends BeanFormComponent

A low level BeanForm component that renders the save, cancel, refresh and delete buttons. This component must be wrapped by a BeanForm component.

Author:
Daniel Gredler

Constructor Summary
BeanFormButtons()
           
 
Method Summary
 IComponent getButtonBlock()
           
 String getCancelJavaScript()
           
 IActionListener getDeleteListener()
           
 boolean getHasCancel()
           
 boolean getHasDelete()
           
 boolean getHasRefresh()
           
 boolean getHasSave()
           
 String getRefreshJavaScript()
           
 IActionListener getSaveListener()
           
protected  void renderComponent(IMarkupWriter writer, IRequestCycle cycle)
           
 
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
 
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

BeanFormButtons

public BeanFormButtons()
Method Detail

renderComponent

protected void renderComponent(IMarkupWriter writer,
                               IRequestCycle cycle)
Overrides:
renderComponent in class BaseComponent

getButtonBlock

public IComponent getButtonBlock()

getCancelJavaScript

public String getCancelJavaScript()

getRefreshJavaScript

public String getRefreshJavaScript()

getHasSave

public boolean getHasSave()

getHasCancel

public boolean getHasCancel()

getHasRefresh

public boolean getHasRefresh()

getHasDelete

public boolean getHasDelete()

getSaveListener

public IActionListener getSaveListener()

getDeleteListener

public IActionListener getDeleteListener()


Copyright © 2006 Daniel Gredler. All Rights Reserved.