com.liferay.faces.util.client
Interface Script

All Known Implementing Classes:
ScriptWrapper

public interface Script

A Script which can be rendered on the client via FacesContextHelperUtil.addScript(javax.faces.context.FacesContext, com.liferay.faces.util.client.Script).

Author:
Kyle Stiemann

Nested Class Summary
static class Script.ModulesType
          The ModulesType is used to determine how to handle the Script's modules.
 
Method Summary
 String[] getModules()
          Returns An array of modules which the Script depends on.
 Script.ModulesType getModulesType()
          Returns The Script.ModulesType of the Script.
 String getSourceCode()
          Returns The Script's text.
 

Method Detail

getModules

String[] getModules()
Returns An array of modules which the Script depends on. Returns null if the Script does not depend on any modules.


getModulesType

Script.ModulesType getModulesType()
Returns The Script.ModulesType of the Script.


getSourceCode

String getSourceCode()
Returns The Script's text.



Copyright © 2019 Liferay, Inc.. All rights reserved.