# Uses of Class
org.apache.tapestry5.services.javascript.StylesheetLink

Packages that use StylesheetLink
Package
Description
org.apache.tapestry5.internal
[INTERNAL USE ONLY] internal support classes; API subject to change.
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.services.ajax
[INTERNAL USE ONLY] AJAX support services; API subject to change
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.

- ## Uses of StylesheetLink in org.apache.tapestry5.internal

  Fields in org.apache.tapestry5.internal with type parameters of type StylesheetLink
  Modifier and Type
  Field
  Description
  `static Mapper<Asset,StylesheetLink>`
  TapestryInternalUtils.`assetToStylesheetLink`
  Common mapper, used primarily with `Flow.map(org.apache.tapestry5.func.Mapper)`

- ## Uses of StylesheetLink in org.apache.tapestry5.internal.services

  Methods in org.apache.tapestry5.internal.services with parameters of type StylesheetLink
  Modifier and Type
  Method
  Description
  `void`
  DocumentLinker.`addStylesheetLink(StylesheetLink stylesheet)`
  Adds a link to load a CSS stylesheet.
  `void`
  DocumentLinkerImpl.`addStylesheetLink(StylesheetLink sheet)`
  `void`
  PartialMarkupDocumentLinker.`addStylesheetLink(StylesheetLink stylesheet)`
  Method parameters in org.apache.tapestry5.internal.services with type arguments of type StylesheetLink
  Modifier and Type
  Method
  Description
  `protected void`
  DocumentLinkerImpl.`addStylesheetsToHead(Element root, List<StylesheetLink> stylesheets)`
  Locates the head element under the root ("html") element, creating it if necessary, and adds the stylesheets to it.

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

  Methods in org.apache.tapestry5.internal.services.ajax with parameters of type StylesheetLink
  Modifier and Type
  Method
  Description
  `JavaScriptSupport`
  JavaScriptSupportImpl.`importStylesheet(StylesheetLink stylesheetLink)`

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

  Methods in org.apache.tapestry5.services.javascript that return types with arguments of type StylesheetLink
  Modifier and Type
  Method
  Description
  `List<StylesheetLink>`
  ExtensibleJavaScriptStack.`getStylesheets()`
  `List<StylesheetLink>`
  JavaScriptStack.`getStylesheets()`
  Returns a list of localized links for stylesheets that form the stack.
  Methods in org.apache.tapestry5.services.javascript with parameters of type StylesheetLink
  Modifier and Type
  Method
  Description
  `JavaScriptSupport`
  JavaScriptSupport.`importStylesheet(StylesheetLink stylesheetLink)`
  Imports a Cascading Style Sheet file as part of the rendered page.