Class ToolTipServiceImpl
java.lang.Object
ch.tocco.nice2.netui.actions.impl.tooltip.ToolTipServiceImpl
- All Implemented Interfaces:
ToolTipService
-
Constructor Summary
ConstructorDescriptionToolTipServiceImpl
(Context context, DefaultDisplayService defaultDisplayService) -
Method Summary
Modifier and TypeMethodDescription@Nullable String
getToolTip
(String entityModel, String primaryKey) Evaluate tooltip of the entity with the givenentityModel
andprimaryKey
.@Nullable String
getToolTipWithFallback
(String entityModel, String primaryKey) Same asToolTipService.getToolTip(String, String)
but if no tooltip is defined, the default display of the entity will be evaluated.
-
Constructor Details
-
ToolTipServiceImpl
-
-
Method Details
-
getToolTipWithFallback
Description copied from interface:ToolTipService
Same asToolTipService.getToolTip(String, String)
but if no tooltip is defined, the default display of the entity will be evaluated.- Specified by:
getToolTipWithFallback
in interfaceToolTipService
-
getToolTip
Description copied from interface:ToolTipService
Evaluate tooltip of the entity with the givenentityModel
andprimaryKey
.- Specified by:
getToolTip
in interfaceToolTipService
-