net.sf.tacos.javascript.jquery
Class JqueryJavascriptManagerImpl

java.lang.Object
  extended by org.apache.tapestry.javascript.JavascriptManagerImpl
      extended by net.sf.tacos.javascript.jquery.JqueryJavascriptManagerImpl
All Implemented Interfaces:
org.apache.tapestry.javascript.JavascriptManager

public class JqueryJavascriptManagerImpl
extends org.apache.tapestry.javascript.JavascriptManagerImpl

For some jquery plugins we bundle, we want to add their css.

Author:
andyhot

Constructor Summary
JqueryJavascriptManagerImpl()
           
 
Method Summary
protected  void appendAssetAsCss(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, org.apache.tapestry.IAsset asset)
          Appends a link tag to include the given asset.
protected  void appendAssetsAsCss(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, List assets)
           
 List getCssAssets()
           
 void renderLibraryResources(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle, boolean hasForm, boolean hasWidget)
           
 void setCssFiles(String cssFiles)
           
 
Methods inherited from class org.apache.tapestry.javascript.JavascriptManagerImpl
appendAssetAsJavascript, appendAssetsAsJavascript, buildAssetList, findAsset, getAssets, getFirstAsset, getFirstFormAsset, getFirstWidgetAsset, getFormAssets, getPath, getTapestryAsset, getTapestryPath, getWidgetAssets, renderLibraryAdaptor, setAssetSource, setFiles, setFolder, setFormFiles, setTapestryFile, setTapestryFolder, setWidgetFiles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JqueryJavascriptManagerImpl

public JqueryJavascriptManagerImpl()
Method Detail

setCssFiles

public void setCssFiles(String cssFiles)

getCssAssets

public List getCssAssets()

renderLibraryResources

public void renderLibraryResources(org.apache.tapestry.IMarkupWriter writer,
                                   org.apache.tapestry.IRequestCycle cycle,
                                   boolean hasForm,
                                   boolean hasWidget)
Specified by:
renderLibraryResources in interface org.apache.tapestry.javascript.JavascriptManager
Overrides:
renderLibraryResources in class org.apache.tapestry.javascript.JavascriptManagerImpl

appendAssetsAsCss

protected void appendAssetsAsCss(org.apache.tapestry.IMarkupWriter writer,
                                 org.apache.tapestry.IRequestCycle cycle,
                                 List assets)

appendAssetAsCss

protected void appendAssetAsCss(org.apache.tapestry.IMarkupWriter writer,
                                org.apache.tapestry.IRequestCycle cycle,
                                org.apache.tapestry.IAsset asset)
Appends a link tag to include the given asset.

Parameters:
str -
cycle -
asset -


Copyright © 2007-2010 SourceForge.net. All Rights Reserved.