|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ComponentResources | |
|---|---|
| org.apache.tapestry | |
| org.apache.tapestry.internal | |
| org.apache.tapestry.internal.bindings | |
| org.apache.tapestry.internal.renderers | |
| org.apache.tapestry.internal.services | |
| org.apache.tapestry.internal.structure | |
| org.apache.tapestry.runtime | Contains interfaces that are added to component classes at runtime. |
| org.apache.tapestry.services | |
| org.apache.tapestry.test | |
| Uses of ComponentResources in org.apache.tapestry |
|---|
| Methods in org.apache.tapestry that return ComponentResources | |
|---|---|
ComponentResources |
ComponentResources.getContainerResources()
Returns the ComponentResources for the container, or null if the this is the root component (that has no
container). |
| Methods in org.apache.tapestry with parameters of type ComponentResources | |
|---|---|
String |
PageRenderSupport.allocateClientId(ComponentResources resources)
As with PageRenderSupport.allocateClientId(String) but uses the id of the component extracted from the resources. |
Object |
FieldValidationSupport.parseClient(String clientValue,
ComponentResources componentResources,
Translator translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around Translator.parseClient(String, org.apache.tapestry.ioc.Messages). |
String |
FieldValidationSupport.toClient(Object value,
ComponentResources componentResources,
Translator translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around Translator.toClient(Object) that first fires a "toclient" event on
the component to see if it can perform the conversion. |
void |
FieldValidationSupport.validate(Object value,
ComponentResources componentResources,
FieldValidator validator)
Performs validation on a parsed value from the client. |
| Uses of ComponentResources in org.apache.tapestry.internal |
|---|
| Subinterfaces of ComponentResources in org.apache.tapestry.internal | |
|---|---|
interface |
InternalComponentResources
An extension of ComponentResources that represents additional methods that are private to
the framework and not exposed in any public APIs. |
| Uses of ComponentResources in org.apache.tapestry.internal.bindings |
|---|
| Methods in org.apache.tapestry.internal.bindings with parameters of type ComponentResources | |
|---|---|
Binding |
ValidateBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
TranslateBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
RenderVariableBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
PropBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
NullFieldStrategyBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
MessageBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
LiteralBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
ComponentBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
BlockBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
Binding |
AssetBindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
|
| Constructors in org.apache.tapestry.internal.bindings with parameters of type ComponentResources | |
|---|---|
BlockBinding(String description,
ComponentResources component,
String blockId,
Location location)
|
|
ComponentBinding(String description,
ComponentResources resources,
String componentId,
Location location)
|
|
RenderVariableBinding(String description,
ComponentResources resources,
String name,
Location location)
|
|
| Uses of ComponentResources in org.apache.tapestry.internal.renderers |
|---|
| Methods in org.apache.tapestry.internal.renderers with parameters of type ComponentResources | |
|---|---|
void |
ComponentResourcesRenderer.render(ComponentResources object,
MarkupWriter writer)
|
| Uses of ComponentResources in org.apache.tapestry.internal.services |
|---|
| Methods in org.apache.tapestry.internal.services with parameters of type ComponentResources | ||
|---|---|---|
String |
PartialRenderPageRenderSupport.allocateClientId(ComponentResources resources)
|
|
String |
PageRenderSupportImpl.allocateClientId(ComponentResources resources)
|
|
|
BeanModelSourceImpl.create(Class<T> beanClass,
boolean filterReadOnlyProperties,
ComponentResources resources)
|
|
Binding |
ComponentDefaultProviderImpl.defaultBinding(String parameterName,
ComponentResources resources)
|
|
String |
ComponentDefaultProviderImpl.defaultLabel(ComponentResources resources)
|
|
Translator |
ComponentDefaultProviderImpl.defaultTranslator(String parameterName,
ComponentResources resources)
|
|
ValueEncoder |
ComponentDefaultProviderImpl.defaultValueEncoder(String parameterName,
ComponentResources resources)
|
|
|
MetaDataLocatorImpl.findMeta(String key,
ComponentResources resources,
Class<T> expectedType)
|
|
PageElement |
PageElementFactoryImpl.newAttributeElement(ComponentResources componentResources,
AttributeToken token)
|
|
PageElement |
PageElementFactory.newAttributeElement(ComponentResources componentResources,
AttributeToken token)
|
|
Binding |
PageElementFactoryImpl.newBinding(String parameterName,
ComponentResources loadingComponentResources,
ComponentResources embeddedComponentResources,
String defaultBindingPrefix,
String expression,
Location location)
|
|
Binding |
PageElementFactory.newBinding(String parameterName,
ComponentResources loadingComponentResources,
ComponentResources embeddedComponentResources,
String defaultBindingPrefix,
String expression,
Location location)
Creates a new binding as with BindingSource.newBinding(String, ComponentResources, ComponentResources,
String, String, Location). |
|
Binding |
BindingSourceImpl.newBinding(String description,
ComponentResources container,
ComponentResources component,
String defaultPrefix,
String expression,
Location location)
|
|
Binding |
BindingSourceImpl.newBinding(String description,
ComponentResources container,
String defaultPrefix,
String expression)
|
|
PageElement |
PageElementFactoryImpl.newExpansionElement(ComponentResources componentResources,
ExpansionToken token)
|
|
PageElement |
PageElementFactory.newExpansionElement(ComponentResources componentResources,
ExpansionToken token)
|
|
Object |
FieldValidationSupportImpl.parseClient(String clientValue,
ComponentResources componentResources,
Translator translator,
NullFieldStrategy nullFieldStrategy)
|
|
void |
ComponentResourcesOperation.perform(ComponentResources resources)
Perform some operation that requires the components' resources. |
|
void |
PersistentFieldManagerImpl.postChange(String pageName,
ComponentResources resources,
String fieldName,
Object newValue)
|
|
void |
PersistentFieldManager.postChange(String pageName,
ComponentResources resources,
String fieldName,
Object newValue)
Posts a change of a persistent property. |
|
void |
RenderQueueImpl.startComponent(ComponentResources resources)
|
|
String |
FieldValidationSupportImpl.toClient(Object value,
ComponentResources componentResources,
Translator translator,
NullFieldStrategy nullFieldStrategy)
|
|
void |
FieldValidationSupportImpl.validate(Object value,
ComponentResources componentResources,
FieldValidator validator)
|
|
| Uses of ComponentResources in org.apache.tapestry.internal.structure |
|---|
| Classes in org.apache.tapestry.internal.structure that implement ComponentResources | |
|---|---|
class |
InternalComponentResourcesImpl
The bridge between a component and its ComponentPageElement, that supplies all kinds of resources to the
component, including access to its parameters, parameter bindings, and persistent field data. |
| Methods in org.apache.tapestry.internal.structure that return ComponentResources | |
|---|---|
ComponentResources |
InternalComponentResourcesImpl.getContainerResources()
|
| Methods in org.apache.tapestry.internal.structure with parameters of type ComponentResources | |
|---|---|
void |
PageImpl.persistFieldChange(ComponentResources resources,
String fieldName,
Object newValue)
|
void |
Page.persistFieldChange(ComponentResources resources,
String fieldName,
Object newValue)
Posts a change to a persistent field. |
| Constructors in org.apache.tapestry.internal.structure with parameters of type ComponentResources | |
|---|---|
InternalComponentResourcesImpl(Page page,
ComponentPageElement element,
ComponentResources containerResources,
Instantiator componentInstantiator,
PageResources elementResources)
|
|
| Uses of ComponentResources in org.apache.tapestry.runtime |
|---|
| Methods in org.apache.tapestry.runtime that return ComponentResources | |
|---|---|
ComponentResources |
ComponentResourcesAware.getComponentResources()
Returns the resources associated with this component class. |
| Methods in org.apache.tapestry.runtime with parameters of type ComponentResources | |
|---|---|
void |
RenderQueue.startComponent(ComponentResources resources)
Indicates that a component is starting its render. |
| Uses of ComponentResources in org.apache.tapestry.services |
|---|
| Methods in org.apache.tapestry.services with parameters of type ComponentResources | ||
|---|---|---|
|
BeanModelSource.create(Class<T> beanClass,
boolean filterReadOnlyProperties,
ComponentResources resources)
Creates a new model used for editing the indicated bean class. |
|
Binding |
ComponentDefaultProvider.defaultBinding(String parameterName,
ComponentResources resources)
Checks to see if the container of the component (identified by its resources) contains a property matching the component's id. |
|
String |
ComponentDefaultProvider.defaultLabel(ComponentResources resources)
Computes the default label for the component (which will generally be a Field). |
|
Translator |
ComponentDefaultProvider.defaultTranslator(String parameterName,
ComponentResources resources)
Provides a translator based on the bound parameter type, if possible. |
|
ValueEncoder |
ComponentDefaultProvider.defaultValueEncoder(String parameterName,
ComponentResources resources)
Gets or creates a value encoder based on the type of the named parameter. |
|
|
MetaDataLocator.findMeta(String key,
ComponentResources resources,
Class<T> expectedType)
Searches for the value for the corresponding key. |
|
Binding |
BindingFactory.newBinding(String description,
ComponentResources container,
ComponentResources component,
String expression,
Location location)
Creates a new binding instance. |
|
Binding |
BindingSource.newBinding(String description,
ComponentResources container,
ComponentResources component,
String defaultPrefix,
String expression,
Location location)
Examines the expression and strips off the leading prefix. |
|
Binding |
BindingSource.newBinding(String description,
ComponentResources container,
String defaultPrefix,
String expression)
A simpler version of BindingSource.newBinding(String, ComponentResources, ComponentResources, String, String,
Location) that defaults the values for several parameters. |
|
| Uses of ComponentResources in org.apache.tapestry.test |
|---|
| Methods in org.apache.tapestry.test that return ComponentResources | |
|---|---|
protected ComponentResources |
TapestryTestCase.mockComponentResources()
|
| Methods in org.apache.tapestry.test with parameters of type ComponentResources | ||
|---|---|---|
protected void |
TapestryTestCase.train_create(BeanModelSource source,
Class beanClass,
boolean filterReadOnly,
ComponentResources containerResources,
BeanModel model)
|
|
protected
|
TapestryTestCase.train_findMeta(MetaDataLocator locator,
String key,
ComponentResources resources,
Class<T> expectedType,
T value)
|
|
protected void |
TapestryTestCase.train_getBoundType(ComponentResources resources,
String parameterName,
Class type)
|
|
protected void |
TapestryTestCase.train_getComponent(ComponentResources resources,
Component component)
|
|
protected void |
TapestryTestCase.train_getComponentResources(Component component,
ComponentResources resources)
|
|
protected void |
TapestryTestCase.train_getContainer(ComponentResources resources,
Component container)
|
|
protected void |
TapestryTestCase.train_getContainerMessages(ComponentResources resources,
Messages containerMessages)
|
|
protected void |
TapestryTestCase.train_getContainerResources(ComponentResources resources,
ComponentResources containerResources)
|
|
protected void |
TapestryTestCase.train_getId(ComponentResources resources,
String id)
|
|
protected void |
TapestryTestCase.train_getMessages(ComponentResources resources,
Messages messages)
|
|
protected void |
TapestryTestCase.train_getPage(ComponentResources resources,
Component page)
|
|
protected void |
TapestryTestCase.train_newBinding(BindingFactory factory,
String description,
ComponentResources container,
ComponentResources component,
String expression,
Location l,
Binding binding)
|
|
protected void |
TapestryTestCase.train_newBinding(BindingSource bindingSource,
String description,
ComponentResources componentResources,
String defaultBindingPrefix,
String expression,
Binding binding)
|
|
protected void |
TapestryTestCase.train_renderInformalParameters(ComponentResources resources,
MarkupWriter writer,
Object... informals)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||