Interface ResultHighchart.ContextMenuItem
- Enclosing class:
ResultHighchart
public static interface ResultHighchart.ContextMenuItem
-
Method Summary
Modifier and TypeMethodDescriptionback()
setContextLinking
(Map<String, ?> linkProperties) Define all the Context Linking properties, such astargetPage
ortargetPageAction
.default ResultHighchart.ContextMenuItem
Convenience method to set the menu item's label without any translation options.setLabelTranslations
(Map<String, String> labelTranslations) Set the item's label in multiple languages so the UI will show the one appropriate for the current user.setOrder
(int order) Set the position of the menu item inside the menu explicitly.
-
Method Details
-
setLabel
Convenience method to set the menu item's label without any translation options.- Parameters:
label
- the label of the menu item- Returns:
- self - the
ResultHighchart.ContextMenuItem
instance, for convenience - See Also:
-
setLabelTranslations
Set the item's label in multiple languages so the UI will show the one appropriate for the current user.- Parameters:
labelTranslations
- the label of the menu item, referenced by language (e.g. "en", "de", or "" as default)- Returns:
- self - the
ResultHighchart.ContextMenuItem
instance, for convenience
-
setOrder
Set the position of the menu item inside the menu explicitly.
Notes:- there is no validation, make sure to use unique orderIds starting with 1 and no gaps to not confuse the Front End.
- the menu item with order=1 will still be displayed only after the
drilldown item
, if a drilldown was defined
- Parameters:
order
- starting at 1- Returns:
- self - the
ResultHighchart.ContextMenuItem
instance, for convenience
-
setContextLinking
Define all the Context Linking properties, such astargetPage
ortargetPageAction
. There are many options, which maydiffer according to the desired targetPage. To find out more, please refer to this Conflence page- Parameters:
linkProperties
- the Context Linking definition- Returns:
- self - the
ResultHighchart.ContextMenuItem
instance, for convenience
-
back
ResultHighchart.ContextMenu back()- Returns:
- the
ResultHighchart.OnPointClick
instance, for convenience
-