org.trails.descriptor
Interface BlockFinder

All Known Implementing Classes:
BaseBlockFinder, EditorBlockFinder

public interface BlockFinder


Method Summary
 org.apache.tapestry.components.Block findBlock(org.apache.tapestry.IRequestCycle cycle, IPropertyDescriptor descriptor)
          Return the block for the specified property
 org.apache.tapestry.util.ComponentAddress findBlockAddress(IPropertyDescriptor descriptor)
           
 org.apache.tapestry.util.ComponentAddress getDefaultBlockAddress()
           
 void setDefaultBlockAddress(org.apache.tapestry.util.ComponentAddress defaultEditor)
           
 

Method Detail

findBlockAddress

org.apache.tapestry.util.ComponentAddress findBlockAddress(IPropertyDescriptor descriptor)
Returns:
the component address for a block for the specified property

findBlock

org.apache.tapestry.components.Block findBlock(org.apache.tapestry.IRequestCycle cycle,
                                               IPropertyDescriptor descriptor)
Return the block for the specified property

Parameters:
cycle -
descriptor -
Returns:

setDefaultBlockAddress

void setDefaultBlockAddress(org.apache.tapestry.util.ComponentAddress defaultEditor)

getDefaultBlockAddress

org.apache.tapestry.util.ComponentAddress getDefaultBlockAddress()


Copyright © 2004-2007. All Rights Reserved.