Class StylesheetLink
java.lang.Object
org.apache.tapestry5.services.javascript.StylesheetLink
Captures the information needed to create a stylesheet link in the final
Document, or
as part of a JSON partial page render response.- Since:
- 5.2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStylesheetLink(String url) StylesheetLink(String url, StylesheetOptions options) StylesheetLink(Asset asset) StylesheetLink(Asset asset, StylesheetOptions options) -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked to add the stylesheet link to a container element.booleanReturns an instance ofStylesheetOptions.getURL()toString()
-
Constructor Details
-
StylesheetLink
-
StylesheetLink
-
StylesheetLink
-
StylesheetLink
-
-
Method Details
-
getURL
-
getOptions
Returns an instance ofStylesheetOptions. Never returns null (a blank options object is returned if null is passed to the constructor). -
add
Invoked to add the stylesheet link to a container element.- Parameters:
container- to add the new element to
-
toString
-
equals
-