Package com.stimulsoft.viewer.utils
Class StiTooltipUtil
java.lang.Object
com.stimulsoft.viewer.utils.StiTooltipUtil
Tooltip formatter
Copyright Stimulsoft
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcreateHing(String hint) Create hintstatic StringformatTooltip(String caption, String text, String hotKey) Format tooltipstatic StringgetCaption(String captionBundle) Get captionstatic StringrestrictTooltip(String tooltip)
-
Field Details
-
MAX_LENGTH
public static final int MAX_LENGTH- See Also:
-
-
Constructor Details
-
StiTooltipUtil
public StiTooltipUtil()
-
-
Method Details
-
formatTooltip
Format tooltip- Parameters:
caption-text-hotKey-- Returns:
- Formatted tooltip
-
restrictTooltip
-
createHing
Create hint- Parameters:
hint-- Returns:
-
getCaption
Get caption- Parameters:
captionBundle-- Returns:
-