org.chenillekit.tapestry.core.services.impl
Class YahooStack

java.lang.Object
  extended by org.chenillekit.tapestry.core.services.impl.YahooStack
All Implemented Interfaces:
org.apache.tapestry5.services.javascript.JavaScriptStack

public class YahooStack
extends Object
implements org.apache.tapestry5.services.javascript.JavaScriptStack

Version:
$Id: YahooStack.java 675 2010-07-30 14:49:17Z homburgs $
Author:
S.Homburg

Constructor Summary
YahooStack(AssetSource assetSource)
           
 
Method Summary
 String getInitialization()
          Returns static JavaScript initialization for the stack.
 List<Asset> getJavaScriptLibraries()
          Returns a list of localized assets for JavaScript libraries that form the stack.
 List<String> getStacks()
           
 List<org.apache.tapestry5.services.javascript.StylesheetLink> getStylesheets()
          Returns a list of localized links for stylesheets that form the stack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YahooStack

public YahooStack(AssetSource assetSource)
Method Detail

getStacks

public List<String> getStacks()
Specified by:
getStacks in interface org.apache.tapestry5.services.javascript.JavaScriptStack

getJavaScriptLibraries

public List<Asset> getJavaScriptLibraries()
Returns a list of localized assets for JavaScript libraries that form the stack.

Specified by:
getJavaScriptLibraries in interface org.apache.tapestry5.services.javascript.JavaScriptStack

getStylesheets

public List<org.apache.tapestry5.services.javascript.StylesheetLink> getStylesheets()
Returns a list of localized links for stylesheets that form the stack.

Specified by:
getStylesheets in interface org.apache.tapestry5.services.javascript.JavaScriptStack

getInitialization

public String getInitialization()
Returns static JavaScript initialization for the stack. This block of JavaScript code will be added to the page that imports the stack. The code executes outside of any other function (i.e., the code is not deferred until the DOM is loaded). As with the other methods, if localization is a factor, the result of this method should be localized.

Specified by:
getInitialization in interface org.apache.tapestry5.services.javascript.JavaScriptStack


Copyright © 2008-2010 ChenilleKit. All Rights Reserved.