Package org.adempiere.webui.panel
Class HelpController
java.lang.Object
org.adempiere.webui.panel.HelpController
- Author:
- Elaine
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeJavascriptContent
(String content) void
Render tooltips, context help and quick info.void
renderCtxHelp
(String ctxType, int recordId) Render context help (AD_CtxHelpMsg)void
renderQuickInfo
(Object obj) Render quick info (AD_StatusLine)void
Render tooltip content, when hdr == null, show otherContentvoid
renderToolTip
(GridField field) Render tooltip content for a fieldvoid
Setup client side script for field tooltip
-
Constructor Details
-
HelpController
public HelpController()Default constructor
-
-
Method Details
-
render
Render tooltips, context help and quick info.- Parameters:
parent
-desktopImpl
-
-
setupFieldTooltip
public void setupFieldTooltip()Setup client side script for field tooltip -
renderToolTip
Render tooltip content for a field- Parameters:
field
-
-
renderToolTip
public void renderToolTip(String hdr, String desc, String help, String otherContent, String entityType) Render tooltip content, when hdr == null, show otherContent- Parameters:
hdr
-desc
-help
-otherContent
-
-
renderCtxHelp
Render context help (AD_CtxHelpMsg)- Parameters:
ctxType
-recordId
-
-
renderQuickInfo
Render quick info (AD_StatusLine)- Parameters:
obj
-
-
escapeJavascriptContent
- Parameters:
content
- content- Returns:
- masked content or empty string if
content
is null
-