# Uses of Interface
org.apache.tapestry5.services.javascript.JavaScriptSupport

Packages that use JavaScriptSupport
Package
Description
org.apache.tapestry5.beanvalidator.modules
org.apache.tapestry5.corelib.base
Base components intended to be extended by other components rather than used directly in templates.
org.apache.tapestry5.internal.services.ajax
[INTERNAL USE ONLY] AJAX support services; API subject to change
org.apache.tapestry5.internal.transform
[INTERNAL USE ONLY] component class transformation implementation classes; API subject to change.
org.apache.tapestry5.internal.translator
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
org.apache.tapestry5.internal.util
[INTERNAL USE ONLY] various utility classes; API subject to change.
org.apache.tapestry5.modules
org.apache.tapestry5.services.ajax
Utilities for handling Ajax-oriented requests, including partial render requests.
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
org.apache.tapestry5.validator
Validators for use by Tapestry (and custom) form field components.

- ## Uses of JavaScriptSupport in org.apache.tapestry5.beanvalidator.modules

  Methods in org.apache.tapestry5.beanvalidator.modules with parameters of type JavaScriptSupport
  Modifier and Type
  Method
  Description
  `static void`
  BeanValidatorModule.`contributeClientConstraintDescriptorSource(JavaScriptSupport javaScriptSupport, Configuration<ClientConstraintDescriptor> configuration)`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.corelib.base

  Fields in org.apache.tapestry5.corelib.base declared as JavaScriptSupport
  Modifier and Type
  Field
  Description
  `protected JavaScriptSupport`
  AbstractField.`javaScriptSupport`
  `protected JavaScriptSupport`
  BaseClientElement.`javaScriptSupport`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.internal.services.ajax

  Classes in org.apache.tapestry5.internal.services.ajax that implement JavaScriptSupport
  Modifier and Type
  Class
  Description
  `class`
  `JavaScriptSupportImpl`
  Methods in org.apache.tapestry5.internal.services.ajax that return JavaScriptSupport
  Modifier and Type
  Method
  Description
  `JavaScriptSupport`
  JavaScriptSupportImpl.`autofocus(FieldFocusPriority priority, String fieldId)`
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importJavaScriptLibrary(String libraryURL)`
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importJavaScriptLibrary(Asset asset)`
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importStack(String stackName)`
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importStylesheet(Asset stylesheet)`
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importStylesheet(StylesheetLink stylesheetLink)`
  Constructors in org.apache.tapestry5.internal.services.ajax with parameters of type JavaScriptSupport
  Modifier
  Constructor
  Description
  ``
  `AjaxResponseRendererImpl(PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController, TypeCoercer typeCoercer, JavaScriptSupport javaScriptSupport, RequestPageCache requestPageCache, Request request)`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.internal.transform

  Constructors in org.apache.tapestry5.internal.transform with parameters of type JavaScriptSupport
  Modifier
  Constructor
  Description
  ``
  `ImportWorker(JavaScriptSupport javascriptSupport, SymbolSource symbolSource, AssetSource assetSource, ResourceChangeTracker resourceChangeTracker, PropertyValueProviderWorker propertyValueProviderWorker)`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.internal.translator

  Constructors in org.apache.tapestry5.internal.translator with parameters of type JavaScriptSupport
  Modifier
  Constructor
  Description
  ``
  `NumericTranslatorSupportImpl(TypeCoercer typeCoercer, ThreadLocale threadLocale, JavaScriptSupport javascriptSupport)`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.internal.util

  Constructors in org.apache.tapestry5.internal.util with parameters of type JavaScriptSupport
  Modifier
  Constructor
  Description
  ``
  `AutofocusValidationDecorator(ValidationDecorator delegate, ValidationTracker tracker, JavaScriptSupport javascriptSupport)`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.modules

  Methods in org.apache.tapestry5.modules that return JavaScriptSupport
  Modifier and Type
  Method
  Description
  `JavaScriptSupport`
  JavaScriptModule.`buildJavaScriptSupport()`
  Builds a proxy to the current `JavaScriptSupport` inside this thread's `Environment`.

- ## Uses of JavaScriptSupport in org.apache.tapestry5.services.ajax

  Methods in org.apache.tapestry5.services.ajax with parameters of type JavaScriptSupport
  Modifier and Type
  Method
  Description
  `void`
  JavaScriptCallback.`run(JavaScriptSupport javascriptSupport)`
  Perform some work with the support object, which is typically to invoke `addInitializerCall(String, org.apache.tapestry5.json.JSONObject)` to setup some client-side behavior.

- ## Uses of JavaScriptSupport in org.apache.tapestry5.services.javascript

  Methods in org.apache.tapestry5.services.javascript that return JavaScriptSupport
  Modifier and Type
  Method
  Description
  `JavaScriptSupport`
  JavaScriptSupport.`autofocus(FieldFocusPriority priority, String fieldId)`
  Invoked to set focus on a rendered field.
  `JavaScriptSupport`
  JavaScriptSupport.`importJavaScriptLibrary(String libraryURL)`
  Import a Javascript library with an arbitrary URL.
  `JavaScriptSupport`
  JavaScriptSupport.`importJavaScriptLibrary(Asset asset)`
  Imports a JavaScript library as part of the rendered page.
  `JavaScriptSupport`
  JavaScriptSupport.`importStack(String stackName)`
  Imports a `JavaScriptStack` by name, a related set of JavaScript libraries and stylesheets.
  `JavaScriptSupport`
  JavaScriptSupport.`importStylesheet(Asset stylesheet)`
  A convenience method that wraps the Asset as a `StylesheetLink`.
  `JavaScriptSupport`
  JavaScriptSupport.`importStylesheet(StylesheetLink stylesheetLink)`
  Imports a Cascading Style Sheet file as part of the rendered page.

- ## Uses of JavaScriptSupport in org.apache.tapestry5.test

  Methods in org.apache.tapestry5.test that return JavaScriptSupport
  Modifier and Type
  Method
  Description
  `protected final JavaScriptSupport`
  TapestryTestCase.`mockJavaScriptSupport()`

- ## Uses of JavaScriptSupport in org.apache.tapestry5.validator

  Fields in org.apache.tapestry5.validator declared as JavaScriptSupport
  Modifier and Type
  Field
  Description
  `protected final JavaScriptSupport`
  AbstractValidator.`javaScriptSupport`
  Constructors in org.apache.tapestry5.validator with parameters of type JavaScriptSupport
  Modifier
  Constructor
  Description
  `protected`
  `AbstractValidator(Class<C> constraintType, Class<T> valueType, String messageKey, JavaScriptSupport javaScriptSupport)`
  ``
  `Checked(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`
  ``
  `Email(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`
  ``
  `Max(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`
  ``
  `MaxLength(JavaScriptSupport javaScriptSupport)`
  ``
  `Min(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`
  ``
  `MinLength(JavaScriptSupport javaScriptSupport)`
  ``
  `Regexp(JavaScriptSupport javaScriptSupport)`
  ``
  `Required(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`
  ``
  `Unchecked(JavaScriptSupport javaScriptSupport, Html5Support html5Support)`