Package org.adempiere.webui.report
Class HTMLExtension
java.lang.Object
org.adempiere.webui.report.HTMLExtension
- All Implemented Interfaces:
IHTMLExtension
Default implementation for HTML report extension
- Author:
- hengsin
-
Constructor Summary
ConstructorDescriptionHTMLExtension
(String contextPath, String classPrefix, String componentId) HTMLExtension
(String contextPath, String classPrefix, String componentId, String processID) -
Method Summary
Modifier and TypeMethodDescriptionvoid
extendIDColumn
(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement) Apply customization to ID elementvoid
extendRowElement
(org.apache.ecs.ConcreteElement row, PrintData printData) Apply customization to rowGet CSS class prefix for HTML report elementGet absolute local file path to CSS file (typically for embedding the file content to HTML report)Get URL to report javascriptGet URL to report CSSGet one or more links (<link ...void
setWebAttribute
(org.apache.ecs.xhtml.body reportBody) Add attributes to reportBody
-
Constructor Details
-
HTMLExtension
- Parameters:
contextPath
-classPrefix
-componentId
-
-
HTMLExtension
- Parameters:
contextPath
-classPrefix
-componentId
-processID
-
-
-
Method Details
-
getWebFontLinks
Description copied from interface:IHTMLExtension
Get one or more links (<link ... >) to web font- Specified by:
getWebFontLinks
in interfaceIHTMLExtension
- Returns:
- one or more links for web font
-
extendIDColumn
public void extendIDColumn(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement) Description copied from interface:IHTMLExtension
Apply customization to ID element- Specified by:
extendIDColumn
in interfaceIHTMLExtension
href
- link for ID column
-
extendRowElement
Description copied from interface:IHTMLExtension
Apply customization to row- Specified by:
extendRowElement
in interfaceIHTMLExtension
-
getClassPrefix
Description copied from interface:IHTMLExtension
Get CSS class prefix for HTML report element- Specified by:
getClassPrefix
in interfaceIHTMLExtension
- Returns:
- CSS class prefix for HTML report element
-
getScriptURL
Description copied from interface:IHTMLExtension
Get URL to report javascript- Specified by:
getScriptURL
in interfaceIHTMLExtension
- Returns:
- URL to report javascript
-
getStyleURL
Description copied from interface:IHTMLExtension
Get URL to report CSS- Specified by:
getStyleURL
in interfaceIHTMLExtension
- Returns:
- URL to report CSS
-
setWebAttribute
public void setWebAttribute(org.apache.ecs.xhtml.body reportBody) Description copied from interface:IHTMLExtension
Add attributes to reportBody- Specified by:
setWebAttribute
in interfaceIHTMLExtension
-
getFullPathStyle
Description copied from interface:IHTMLExtension
Get absolute local file path to CSS file (typically for embedding the file content to HTML report)- Specified by:
getFullPathStyle
in interfaceIHTMLExtension
- Returns:
- absolute local file path to CSS file
-