org.apache.tapestry5
Interface PropertyOverrides

All Known Implementing Classes:
PropertyOverridesImpl

public interface PropertyOverrides

Provides access to blocks and messages used when overriding property labels, and property display or edit blocks. Generally, this is a wrapper around ComponentResources. An explicit implementation of this could be used to, for example, search for override blocks in multiple places.

See Also:
PropertyDisplay, PropertyEditor

Method Summary
 Block getOverrideBlock(String name)
          Searches for an override block with the given name.
 Messages getOverrideMessages()
          Returns the override messages (normally, the messages catalog for the component's container).
 

Method Detail

getOverrideMessages

Messages getOverrideMessages()
Returns the override messages (normally, the messages catalog for the component's container).


getOverrideBlock

Block getOverrideBlock(String name)
Searches for an override block with the given name.

Parameters:
name - the name of the block (typically, an informal parameter to a component)
Returns:
the block if found, or null if not found


Copyright © 2003-2012 The Apache Software Foundation.