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
Implements the ability to set default and specific tooltips for the
export icons (Excel, DOCX, PDF, CSV) in GridExporter.
Key changes:
- Added `setDefaultExportIconTooltip(String)` to set a general tooltip
for all export icons.
- Added specific setters like `setExcelExportIconTooltip(String)` to
customize tooltips for individual export types. Specific tooltips
override the default.
- Tooltips are applied to the `Anchor` components in the `createFor`
method. Passing `null` as a tooltip value effectively clears the
tooltip (or falls back to default), while an empty string `""` sets an
intentionally blank tooltip.
- Unit tests verify the internal state of tooltip configurations. Direct
DOM testing of tooltip attributes was omitted to avoid adding
test-specific fields to the component.
- Updated JavaDocs and README.md with details on the new feature.
Fixes#114
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.
The text was updated successfully, but these errors were encountered: