|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the header module interface. A header module is a UI module that renders the headers that go between <head> and </head>.
Method Summary | |
void |
addCssFile(java.lang.String cssFile)
Add a cascading style sheet to the list to be included in the header. |
void |
addJsFile(java.lang.String jsFile)
Add a JavaScript file to the list to be included. |
void |
addJsTag(java.lang.String key,
java.lang.String jsTagValue)
Adds a javascript tag to the header |
java.lang.String |
getBuildCopyright()
Get the build copyright. |
java.lang.String |
getBuildDate()
Get the build date. |
java.lang.String |
getBuildVersion()
Get the build version. |
java.lang.String |
getContentType()
Get the content type. |
java.util.Iterator |
getCssFiles()
Get an enumeration of the CSS files |
java.util.Iterator |
getJsFiles()
Get an enumeration of the JavaScript files |
java.lang.String |
getTitle()
Get the title. |
void |
renderCssFiles(java.io.Writer w)
Render just the CSS <link> tags. |
void |
renderJsFiles(java.io.Writer w)
Render just the JavaScript <script> tags. |
void |
setBuildInfo(java.lang.String version,
java.lang.String date,
java.lang.String copyright)
Specify the build information. |
void |
setContentType(java.lang.String typeValue)
Set the content type. |
void |
setTitle(java.lang.String title)
Set the title for the page. |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmUiModuleInterface |
getActive, getFormName, onStartPage, render, renderJSP, setActive, setJSP |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider, cleanup, getDataStore, getModuleProperty, getName, getParent, initialize, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Method Detail |
public void addCssFile(java.lang.String cssFile)
cssFile
- - The css file's URL. It can be relative to the application root.public void addJsFile(java.lang.String jsFile)
jsFile
- - The JavaScript URL. It can be relative to the application root.public void setTitle(java.lang.String title)
title
- - The page title.public void setContentType(java.lang.String typeValue)
typeValue
- - The content type.public void setBuildInfo(java.lang.String version, java.lang.String date, java.lang.String copyright)
version
- - The version number.date
- - The build date.copyright
- - The copyright information.public java.lang.String getContentType()
public java.lang.String getBuildVersion()
public java.lang.String getBuildDate()
public java.lang.String getBuildCopyright()
public java.lang.String getTitle()
public java.util.Iterator getCssFiles()
public java.util.Iterator getJsFiles()
public void renderCssFiles(java.io.Writer w) throws java.lang.Exception
w
- - The Writer object to write to.
java.lang.Exception
public void renderJsFiles(java.io.Writer w) throws java.lang.Exception
w
- - The Writer object to write to.
java.lang.Exception
public void addJsTag(java.lang.String key, java.lang.String jsTagValue)
key
- to ensure it's not being added twisejsTagValue
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |