Uses of Interface
org.apache.tapestry5.ComponentResources
-
Packages that use ComponentResources Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.corelib.base Base components intended to be extended by other components rather than used directly in templates.org.apache.tapestry5.corelib.internal [INTERNAL USE ONLY] support classes for the Tapestry-core module; API subject to change core components.org.apache.tapestry5.internal [INTERNAL USE ONLY] internal support classes; API subject to change.org.apache.tapestry5.internal.beanvalidator [INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to changeorg.apache.tapestry5.internal.bindings [INTERNAL USE ONLY] support classes for binding; API subject to changeorg.apache.tapestry5.internal.renderers [INTERNAL USE ONLY] support classes for component template rendering; API subject to changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.ajax [INTERNAL USE ONLY] AJAX support services; API subject to changeorg.apache.tapestry5.internal.services.compatibility org.apache.tapestry5.internal.structure [INTERNAL USE ONLY] page structure implementation details; API subject to change.org.apache.tapestry5.internal.transform [INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.org.apache.tapestry5.runtime Contains interfaces that are added to component classes at runtime.org.apache.tapestry5.services Core servicesorg.apache.tapestry5.services.compatibility A more structured approach to tracking how compatibility features are enabled, as well as tracking compatibility exceptions.org.apache.tapestry5.services.dynamic Services supporting theDynamiccomponent.org.apache.tapestry5.services.javascript Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.org.apache.tapestry5.test Support for testing Tapestry pages -
-
Uses of ComponentResources in org.apache.tapestry5
Methods in org.apache.tapestry5 that return ComponentResources Modifier and Type Method Description ComponentResourcesComponentResources. getContainerResources()Returns theComponentResourcesfor the container, or null if the this is the root component (that has no container).Methods in org.apache.tapestry5 with parameters of type ComponentResources Modifier and Type Method Description java.lang.ObjectFieldValidationSupport. parseClient(java.lang.String clientValue, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)A wrapper aroundTranslator.parseClient(Field, String, String).java.lang.StringFieldValidationSupport. toClient(java.lang.Object value, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)A wrapper aroundTranslator.toClient(Object)that first fires a "toclient" event on the component to see if it can perform the conversion.voidFieldValidationSupport. validate(java.lang.Object value, ComponentResources componentResources, FieldValidator validator)Performs validation on a parsed value from the client. -
Uses of ComponentResources in org.apache.tapestry5.corelib.base
Fields in org.apache.tapestry5.corelib.base declared as ComponentResources Modifier and Type Field Description protected ComponentResourcesAbstractField. resourcesprotected ComponentResourcesAbstractLink. resourcesprotected ComponentResourcesBaseClientElement. resources -
Uses of ComponentResources in org.apache.tapestry5.corelib.internal
Constructors in org.apache.tapestry5.corelib.internal with parameters of type ComponentResources Constructor Description FormSupportImpl(ComponentResources resources, java.lang.String formValidationId)Constructor used when processing a form submission.FormSupportImpl(ComponentResources resources, java.lang.String clientId, ComponentActionSink actionSink, boolean clientValidationEnabled, IdAllocator idAllocator, java.lang.String formValidationId)Full constructor (specifically constructor for render time). -
Uses of ComponentResources in org.apache.tapestry5.internal
Subinterfaces of ComponentResources in org.apache.tapestry5.internal Modifier and Type Interface Description interfaceInternalComponentResourcesAn extension ofComponentResourcesthat represents additional methods that are private to the framework and not exposed in any public APIs.Constructors in org.apache.tapestry5.internal with parameters of type ComponentResources Constructor Description PropertyOverridesImpl(ComponentResources resources) -
Uses of ComponentResources in org.apache.tapestry5.internal.beanvalidator
Methods in org.apache.tapestry5.internal.beanvalidator with parameters of type ComponentResources Modifier and Type Method Description FieldValidatorBeanFieldValidatorDefaultSource. createDefaultValidator(ComponentResources resources, java.lang.String parameterName) -
Uses of ComponentResources in org.apache.tapestry5.internal.bindings
Methods in org.apache.tapestry5.internal.bindings with parameters of type ComponentResources Modifier and Type Method Description BindingAssetBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingBlockBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingComponentBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingContextBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingLiteralBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingMessageBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingNullFieldStrategyBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingPropBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingRenderVariableBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingSymbolBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingTranslateBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)BindingValidateBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)Constructors in org.apache.tapestry5.internal.bindings with parameters of type ComponentResources Constructor Description BlockBinding(Location location, java.lang.String description, ComponentResources component, java.lang.String blockId)ComponentBinding(Location location, java.lang.String description, ComponentResources resources, java.lang.String componentId)RenderVariableBinding(Location location, java.lang.String description, ComponentResources resources, java.lang.String name) -
Uses of ComponentResources in org.apache.tapestry5.internal.renderers
Methods in org.apache.tapestry5.internal.renderers with parameters of type ComponentResources Modifier and Type Method Description voidComponentResourcesRenderer. render(ComponentResources object, MarkupWriter writer) -
Uses of ComponentResources in org.apache.tapestry5.internal.services
Methods in org.apache.tapestry5.internal.services with parameters of type ComponentResources Modifier and Type Method Description booleanPageActivator. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)Activates the page.booleanPageActivatorImpl. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)FieldTranslatorFieldTranslatorSourceImpl. createDefaultTranslator(ComponentResources resources, java.lang.String parameterName)FieldValidatorFieldValidatorDefaultSourceImpl. createDefaultValidator(ComponentResources resources, java.lang.String parameterName)FieldTranslatorFieldTranslatorSourceImpl. createTranslator(ComponentResources resources, java.lang.String translatorName)BindingComponentDefaultProviderImpl. defaultBinding(java.lang.String parameterName, ComponentResources resources)java.lang.StringComponentDefaultProviderImpl. defaultLabel(ComponentResources resources)FieldTranslatorComponentDefaultProviderImpl. defaultTranslator(java.lang.String parameterName, ComponentResources resources)BindingComponentDefaultProviderImpl. defaultTranslatorBinding(java.lang.String parameterName, ComponentResources resources)FieldValidatorComponentDefaultProviderImpl. defaultValidator(java.lang.String parameterName, ComponentResources resources)BindingComponentDefaultProviderImpl. defaultValidatorBinding(java.lang.String parameterName, ComponentResources resources)ValueEncoderComponentDefaultProviderImpl. defaultValueEncoder(java.lang.String parameterName, ComponentResources resources)<T> TMetaDataLocatorImpl. findMeta(java.lang.String key, ComponentResources resources, java.lang.Class<T> expectedType)AssetAssetSourceImpl. getComponentAsset(ComponentResources resources, java.lang.String path, java.lang.String libraryName)voidUnknownActivationContextHandler. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)Answer the client in the case of a request coming in with an unknown activation context.voidUnknownActivationContextHandlerImpl. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)RenderCommandPageElementFactory. newAttributeElement(ComponentResources componentResources, AttributeToken token)Creates a RenderCommand for rendering an attribute, when the attribute contains expansions.RenderCommandPageElementFactoryImpl. newAttributeElement(ComponentResources componentResources, AttributeToken token)BindingBindingSourceImpl. newBinding(java.lang.String description, ComponentResources container, java.lang.String defaultPrefix, java.lang.String expression)BindingBindingSourceImpl. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String defaultPrefix, java.lang.String expression, Location location)BindingPageElementFactory. newBinding(java.lang.String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, java.lang.String defaultBindingPrefix, java.lang.String expression, Location location)Creates a new binding as withBindingSource.newBinding(String, ComponentResources, ComponentResources, String, String, Location).BindingPageElementFactoryImpl. newBinding(java.lang.String parameterName, ComponentResources loadingComponentResources, ComponentResources embeddedComponentResources, java.lang.String defaultBindingPrefix, java.lang.String expression, Location location)RenderCommandPageElementFactory. newExpansionElement(ComponentResources componentResources, ExpansionToken token)Converts an expansion token into a command that renders the expanded value.RenderCommandPageElementFactoryImpl. newExpansionElement(ComponentResources componentResources, ExpansionToken token)java.lang.ObjectFieldValidationSupportImpl. parseClient(java.lang.String clientValue, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)voidComponentResourcesOperation. perform(ComponentResources resources)Deprecated.Perform some operation that requires the components' resources.voidPersistentFieldManager. postChange(java.lang.String pageName, ComponentResources resources, java.lang.String fieldName, java.lang.Object newValue)Posts a change of a persistent property.voidPersistentFieldManagerImpl. postChange(java.lang.String pageName, ComponentResources resources, java.lang.String fieldName, java.lang.Object newValue)voidRenderQueueImpl. startComponent(ComponentResources resources)java.lang.StringFieldValidationSupportImpl. toClient(java.lang.Object value, ComponentResources componentResources, FieldTranslator<java.lang.Object> translator, NullFieldStrategy nullFieldStrategy)voidFieldValidationSupportImpl. validate(java.lang.Object value, ComponentResources componentResources, FieldValidator validator) -
Uses of ComponentResources in org.apache.tapestry5.internal.services.ajax
Methods in org.apache.tapestry5.internal.services.ajax with parameters of type ComponentResources Modifier and Type Method Description java.lang.StringJavaScriptSupportImpl. allocateClientId(ComponentResources resources) -
Uses of ComponentResources in org.apache.tapestry5.internal.services.compatibility
Methods in org.apache.tapestry5.internal.services.compatibility with parameters of type ComponentResources Modifier and Type Method Description voidDeprecationWarningImpl. componentParameter(ComponentResources resources, java.lang.String parameterName, java.lang.String message)voidDeprecationWarningImpl. componentParameterValue(ComponentResources resources, java.lang.String parameterName, java.lang.Object parameterValue, java.lang.String message)voidDeprecationWarningImpl. ignoredComponentParameters(ComponentResources resources, java.lang.String... parameterNames) -
Uses of ComponentResources in org.apache.tapestry5.internal.structure
Classes in org.apache.tapestry5.internal.structure that implement ComponentResources Modifier and Type Class Description classInternalComponentResourcesImplThe bridge between a component and itsComponentPageElement, that supplies all kinds of resources to the component, including access to its parameters, parameter bindings, and persistent field data.Methods in org.apache.tapestry5.internal.structure that return ComponentResources Modifier and Type Method Description ComponentResourcesInternalComponentResourcesImpl. getContainerResources()ComponentResourcesComponentPageElement. getMixinResources(java.lang.String mixinId)Returns theComponentResourcesfor a mixin attached to this component element.ComponentResourcesComponentPageElementImpl. getMixinResources(java.lang.String mixinId)Methods in org.apache.tapestry5.internal.structure with parameters of type ComponentResources Modifier and Type Method Description LinkComponentPageElementResources. createComponentEventLink(ComponentResources resources, java.lang.String eventType, boolean forForm, java.lang.Object... context)Creates a link on behalf of a component.LinkComponentPageElementResourcesImpl. createComponentEventLink(ComponentResources resources, java.lang.String eventType, boolean forForm, java.lang.Object... context)voidPage. persistFieldChange(ComponentResources resources, java.lang.String fieldName, java.lang.Object newValue)Posts a change to a persistent field.voidPageImpl. persistFieldChange(ComponentResources resources, java.lang.String fieldName, java.lang.Object newValue)Constructors in org.apache.tapestry5.internal.structure with parameters of type ComponentResources Constructor Description InternalComponentResourcesImpl(Page page, ComponentPageElement element, ComponentResources containerResources, ComponentPageElementResources elementResources, java.lang.String completeId, java.lang.String nestedId, Instantiator componentInstantiator, boolean mixin) -
Uses of ComponentResources in org.apache.tapestry5.internal.transform
Constructors in org.apache.tapestry5.internal.transform with parameters of type ComponentResources Constructor Description ReadOnlyComponentFieldConduit(ComponentResources resources, java.lang.String fieldName) -
Uses of ComponentResources in org.apache.tapestry5.runtime
Methods in org.apache.tapestry5.runtime that return ComponentResources Modifier and Type Method Description ComponentResourcesComponentResourcesAware. getComponentResources()Returns the resources associated with this component class.Methods in org.apache.tapestry5.runtime with parameters of type ComponentResources Modifier and Type Method Description voidRenderQueue. startComponent(ComponentResources resources)Indicates that a component is starting its render. -
Uses of ComponentResources in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services with parameters of type ComponentResources Modifier and Type Method Description FieldTranslatorFieldTranslatorSource. createDefaultTranslator(ComponentResources resources, java.lang.String parameterName)FieldValidatorFieldValidatorDefaultSource. createDefaultValidator(ComponentResources resources, java.lang.String parameterName)A convenience for the full version; assumes that the resources are associated with aField.FieldTranslatorFieldTranslatorSource. createTranslator(ComponentResources componentResources, java.lang.String translatorName)Creates a translator (used by thetranslate: binding prefix).BindingComponentDefaultProvider. defaultBinding(java.lang.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.java.lang.StringComponentDefaultProvider. defaultLabel(ComponentResources resources)Computes the default label for the component (which will generally be aField).FieldTranslatorComponentDefaultProvider. defaultTranslator(java.lang.String parameterName, ComponentResources resources)BindingComponentDefaultProvider. defaultTranslatorBinding(java.lang.String parameterName, ComponentResources resources)Provides a binding that itself provides the field translator.FieldValidatorComponentDefaultProvider. defaultValidator(java.lang.String parameterName, ComponentResources resources)BindingComponentDefaultProvider. defaultValidatorBinding(java.lang.String parameterName, ComponentResources resources)Provides a binding that itself provides the field translator.ValueEncoderComponentDefaultProvider. defaultValueEncoder(java.lang.String parameterName, ComponentResources resources)Gets or creates a value encoder based on the type of the named parameter.<T> TMetaDataLocator. findMeta(java.lang.String key, ComponentResources resources, java.lang.Class<T> expectedType)Searches for the value for the corresponding key.AssetAssetSource. getComponentAsset(ComponentResources resources, java.lang.String path, java.lang.String libraryName)Gets an asset that is used with, or injected into, a component, that will be exposed to the client.BindingBindingFactory. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location location)Creates a new binding instance.BindingBindingSource. newBinding(java.lang.String description, ComponentResources container, java.lang.String defaultPrefix, java.lang.String expression)A simpler version ofBindingSource.newBinding(String, ComponentResources, ComponentResources, String, String, Location)that defaults the values for several parameters.BindingBindingSource. newBinding(java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String defaultPrefix, java.lang.String expression, Location location)Examines the expression and strips off the leading prefix. -
Uses of ComponentResources in org.apache.tapestry5.services.compatibility
Methods in org.apache.tapestry5.services.compatibility with parameters of type ComponentResources Modifier and Type Method Description voidDeprecationWarning. componentParameter(ComponentResources resources, java.lang.String parameterName, java.lang.String message)Used to identify a component parameter that has been deprecated.voidDeprecationWarning. componentParameterValue(ComponentResources resources, java.lang.String parameterName, java.lang.Object parameterValue, java.lang.String message)Used to identify a specific parameter value that is no longer supported.voidDeprecationWarning. ignoredComponentParameters(ComponentResources resources, java.lang.String... parameterNames)The most common case: checks to see if the parameter name is bound and if so emits a warning that the parameter is ignored and will be removed. -
Uses of ComponentResources in org.apache.tapestry5.services.dynamic
Methods in org.apache.tapestry5.services.dynamic that return ComponentResources Modifier and Type Method Description ComponentResourcesDynamicDelegate. getComponentResources()Returns the component resources (i.e., theDynamiccomponent), used when creating bindings for expansions located inside the dynamic template. -
Uses of ComponentResources in org.apache.tapestry5.services.javascript
Methods in org.apache.tapestry5.services.javascript with parameters of type ComponentResources Modifier and Type Method Description java.lang.StringJavaScriptSupport. allocateClientId(ComponentResources resources)As withJavaScriptSupport.allocateClientId(String)but uses the id of the component extracted from the resources. -
Uses of ComponentResources in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return ComponentResources Modifier and Type Method Description protected ComponentResourcesTapestryTestCase. mockComponentResources()Methods in org.apache.tapestry5.test with parameters of type ComponentResources Modifier and Type Method Description protected voidTapestryTestCase. train_createDefaultTranslator(FieldTranslatorSource source, ComponentResources resources, java.lang.String parameterName, FieldTranslator translator)protected <T> voidTapestryTestCase. train_findMeta(MetaDataLocator locator, java.lang.String key, ComponentResources resources, java.lang.Class<T> expectedType, T value)protected voidTapestryTestCase. train_getBlockParameter(ComponentResources resources, java.lang.String name, Block block)protected voidTapestryTestCase. train_getBoundType(ComponentResources resources, java.lang.String parameterName, java.lang.Class type)protected voidTapestryTestCase. train_getComponent(ComponentResources resources, Component component)protected voidTapestryTestCase. train_getComponentResources(Component component, ComponentResources resources)protected voidTapestryTestCase. train_getContainer(ComponentResources resources, Component container)protected voidTapestryTestCase. train_getContainerMessages(ComponentResources resources, Messages containerMessages)protected voidTapestryTestCase. train_getContainerResources(ComponentResources resources, ComponentResources containerResources)protected voidTapestryTestCase. train_getId(ComponentResources resources, java.lang.String id)protected voidTapestryTestCase. train_getMessages(ComponentResources resources, Messages messages)protected voidTapestryTestCase. train_getPage(ComponentResources resources, Component page)protected voidTapestryTestCase. train_newBinding(BindingFactory factory, java.lang.String description, ComponentResources container, ComponentResources component, java.lang.String expression, Location l, Binding binding)protected voidTapestryTestCase. train_newBinding(BindingSource bindingSource, java.lang.String description, ComponentResources componentResources, java.lang.String defaultBindingPrefix, java.lang.String expression, Binding binding)protected voidTapestryTestCase. train_renderInformalParameters(ComponentResources resources, MarkupWriter writer, java.lang.Object... informals)
-