org.jfree.chart.imagemap.OverLIBToolTipTagFragmentGenerator Java Examples
The following examples show how to use
org.jfree.chart.imagemap.OverLIBToolTipTagFragmentGenerator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DynamicDriveToolTipTagFragmentGeneratorTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Some checks for the generateURLFragment() method. */ public void testGenerateURLFragment() { OverLIBToolTipTagFragmentGenerator g = new OverLIBToolTipTagFragmentGenerator(); assertEquals(" onMouseOver=\"return overlib('abc');\"" + " onMouseOut=\"return nd();\"", g.generateToolTipFragment("abc")); assertEquals(" onMouseOver=\"return overlib(" + "'It\\'s \\\"A\\\", 100.0');\" onMouseOut=\"return nd();\"", g.generateToolTipFragment("It\'s \"A\", 100.0")); }
Example #2
Source File: OverLIBToolTipTagFragmentGeneratorTests.java From astor with GNU General Public License v2.0 | 5 votes |
/** * Some checks for the generateURLFragment() method. */ public void testGenerateURLFragment() { OverLIBToolTipTagFragmentGenerator g = new OverLIBToolTipTagFragmentGenerator(); assertEquals(" onMouseOver=\"return overlib('abc');\"" + " onMouseOut=\"return nd();\"", g.generateToolTipFragment("abc")); assertEquals(" onMouseOver=\"return overlib(" + "'It\\'s \\\"A\\\", 100.0');\" onMouseOut=\"return nd();\"", g.generateToolTipFragment("It\'s \"A\", 100.0")); }