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
ConstructorsConstructorDescriptionHTMLExtension(String contextPath, String classPrefix, String componentId) HTMLExtension(String contextPath, String classPrefix, String componentId, String processID) -
Method Summary
Modifier and TypeMethodDescriptionvoidextendIDColumn(int row, org.apache.ecs.ConcreteElement columnElement, org.apache.ecs.xhtml.a href, PrintDataElement dataElement) Apply customization to ID elementvoidextendRowElement(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 ...voidsetWebAttribute(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:IHTMLExtensionGet one or more links (<link ... >) to web font- Specified by:
getWebFontLinksin 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:IHTMLExtensionApply customization to ID element- Specified by:
extendIDColumnin interfaceIHTMLExtensionhref- link for ID column
-
extendRowElement
Description copied from interface:IHTMLExtensionApply customization to row- Specified by:
extendRowElementin interfaceIHTMLExtension
-
getClassPrefix
Description copied from interface:IHTMLExtensionGet CSS class prefix for HTML report element- Specified by:
getClassPrefixin interfaceIHTMLExtension- Returns:
- CSS class prefix for HTML report element
-
getScriptURL
Description copied from interface:IHTMLExtensionGet URL to report javascript- Specified by:
getScriptURLin interfaceIHTMLExtension- Returns:
- URL to report javascript
-
getStyleURL
Description copied from interface:IHTMLExtensionGet URL to report CSS- Specified by:
getStyleURLin interfaceIHTMLExtension- Returns:
- URL to report CSS
-
setWebAttribute
public void setWebAttribute(org.apache.ecs.xhtml.body reportBody) Description copied from interface:IHTMLExtensionAdd attributes to reportBody- Specified by:
setWebAttributein interfaceIHTMLExtension
-
getFullPathStyle
Description copied from interface:IHTMLExtensionGet absolute local file path to CSS file (typically for embedding the file content to HTML report)- Specified by:
getFullPathStylein interfaceIHTMLExtension- Returns:
- absolute local file path to CSS file
-