public class DefaultHelpProvider extends Object implements HelpProvider, Serializable
Constructor and Description |
---|
DefaultHelpProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addHelpForId(String id,
String help) |
String |
getHtmlForId(String id)
Returns a HTML-formatted string for the specified ID.
|
Placement |
getPlacementForId(String id)
Returns the placement of the help text that is to be used for the
component with the provided ID.
|
void |
setPlacementOfId(String debugId,
Placement placement) |
public String getHtmlForId(String id)
HelpProvider
getHtmlForId
in interface HelpProvider
id
- the id of the text to provide.public Placement getPlacementForId(String id)
HelpProvider
getPlacementForId
in interface HelpProvider
id
- the id of the component for which to provide the placement.Copyright © 2020 Magnolia International Ltd.. All rights reserved.