org.apache.tapestry.spec
Interface IContainedComponent
- All Superinterfaces:
- ILocatable, ILocationHolder, IPropertyHolder
- All Known Implementing Classes:
- ContainedComponent
- public interface IContainedComponent
- extends IPropertyHolder, ILocationHolder, ILocatable
Defines a contained component. This includes the information needed to
get the contained component's specification, as well as any bindings
for the component.
- Version:
- $Id: IContainedComponent.java,v 1.3 2003/04/20 18:55:56 mindbridge Exp $
- Author:
- glongman@intelligentworks.com
getBinding
public IBindingSpecification getBinding(String name)
- Returns the named binding, or null if the binding does not
exist.
getBindingNames
public Collection getBindingNames()
- Returns an umodifiable
Collection
of Strings, each the name of one binding
for the component.
getType
public String getType()
setBinding
public void setBinding(String name,
IBindingSpecification spec)
setType
public void setType(String value)
setCopyOf
public void setCopyOf(String id)
- Sets the String Id of the component being copied from.
For use by IDE tools like Spindle.
- Since:
- 1.0.9
getCopyOf
public String getCopyOf()
- Returns the id of the component being copied from.
For use by IDE tools like Spindle.
- Since:
- 1.0.9
getInheritInformalParameters
public boolean getInheritInformalParameters()
- Returns whether the contained component will inherit
the informal parameters of its parent.
- Since:
- 3.0
setInheritInformalParameters
public void setInheritInformalParameters(boolean value)
- Sets whether the contained component will inherit
the informal parameters of its parent.
- Since:
- 3.0