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:
Locatable, LocationHolder, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender, org.apache.tapestry.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

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
BeanFormButtons()
           
 
Method Summary
 org.apache.tapestry.IComponent getButtonBlock()
           
 String getCancelJavaScript()
           
 org.apache.tapestry.IActionListener getDeleteListener()
           
 boolean getHasCancel()
           
 boolean getHasDelete()
           
 boolean getHasRefresh()
           
 boolean getHasSave()
           
 String getRefreshJavaScript()
           
 org.apache.tapestry.IActionListener getSaveListener()
           
protected  void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.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, getContainedRenderers, getInnerRenderers
 
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

BeanFormButtons

public BeanFormButtons()
Method Detail

renderComponent

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

getButtonBlock

public org.apache.tapestry.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 org.apache.tapestry.IActionListener getSaveListener()

getDeleteListener

public org.apache.tapestry.IActionListener getDeleteListener()


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