You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Address CodeRabbitAI suggestions for tooltip feature
Refactors the tooltip implementation in GridExporter.java to reduce
code duplication by introducing a helper method. Corrects the PDF
template parameter in createFor and removes an obsolete comment.
Updates README.md styling for tooltip documentation. Adds necessary
JUnit 5 and Mockito dependencies to pom.xml for test compilation.
Verifies that existing unit tests for tooltip internal state pass.
Addresses feedback from PR #177.
Related to #114.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -134,9 +134,9 @@ You can set a default tooltip that applies to all export icons, or provide speci
134
134
135
135
### Behavior and Precedence
136
136
137
-
*If a specific tooltip is set for an icon (e.g., `setExcelExportIconTooltip("Specific")`), it is always usedfor that icon.
138
-
*If a specific tooltip is *not* set for an icon, or if it's set to `null`, but a default tooltip is set (e.g., `setDefaultExportIconTooltip("Default")`), the default tooltip is used.
139
-
* If neither a specific nor a default tooltip is set (or both are `null`) for an icon, it will have no tooltip (the `title` attribute will be removed from the anchor).
137
+
*Aspecific tooltip, when set for an icon (e.g., `setExcelExportIconTooltip("Specific")`), always takes precedencefor that icon.
138
+
*When an icon's specific tooltip is not set or is `null`, the default tooltip (set by `setDefaultExportIconTooltip("Default")`) will be applied.
139
+
* Should neither a specific nor a default tooltip be configured for an icon (or if both are `null`), the iconwill not display a tooltip (its `title` attribute will be removed).
0 commit comments