Package org.apache.tapestry5.internal
Interface InternalComponentResourcesCommon
- 
- All Known Subinterfaces:
 ComponentPageElement,InternalComponentResources
- All Known Implementing Classes:
 ComponentPageElementImpl,InternalComponentResourcesImpl
public interface InternalComponentResourcesCommon
Operations shared byInternalComponentResourcesandComponentPageElement. Typically, these means methods of InternalComponentResources that are delegated to the component page element. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidbindParameter(String parameterName, Binding binding)Used during construction of the page to identify the binding for a particular parameter.BindinggetBinding(String parameterName)Returns the binding for the given parameter name, or null.Map<String,Binding>getInformalParameterBindings()Constructs a map linking informal parameters to the corresponding bindings.ComponentgetMixinByClassName(String mixinClassName)Returns the mixin instance for the fully qualfied mixin class name.booleanisLoaded()Returns true if the component has finished loading. 
 - 
 
- 
- 
Method Detail
- 
isLoaded
boolean isLoaded()
Returns true if the component has finished loading. Initially, this value will be false. 
- 
bindParameter
void bindParameter(String parameterName, Binding binding)
Used during construction of the page to identify the binding for a particular parameter. 
- 
getBinding
Binding getBinding(String parameterName)
Returns the binding for the given parameter name, or null.- Parameters:
 parameterName- name of component parameter- Returns:
 - binding if bound, or null
 - Since:
 - 5.1.0.0
 
 
- 
getMixinByClassName
Component getMixinByClassName(String mixinClassName)
Returns the mixin instance for the fully qualfied mixin class name.- Parameters:
 mixinClassName- fully qualified class name- Returns:
 - IllegalArgumentException if no such mixin is associated with the core component
 
 
- 
getInformalParameterBindings
Map<String,Binding> getInformalParameterBindings()
Constructs a map linking informal parameters to the corresponding bindings.- Returns:
 - map, possible empty
 
 
 - 
 
 -