@Test public void testShow() { tested.show("content1", new Point2D(200d, 100d)); final ArgumentCaptor<com.ait.lienzo.client.core.types.Point2D> pointCaptor = ArgumentCaptor.forClass(com.ait.lienzo.client.core.types.Point2D.class); verify(primitiveTooltip, times(1)) .show(eq("content1"), pointCaptor.capture(), eq(PrimitiveTooltip.Direction.WEST)); final com.ait.lienzo.client.core.types.Point2D point = pointCaptor.getValue(); assertEquals(200d, point.getX(), 0); assertEquals(100d, point.getY(), 0); verify(primitiveTooltip, never()).hide(); verify(primitiveTooltip, never()).remove(); }
@Override public void hide() { tooltip.hide(); }
LienzoTextTooltip extends AbstractCanvasTooltip<String> { @Override public void hide() { tooltip.hide(); } }
LienzoTextTooltip extends AbstractCanvasTooltip<String> { @Override public void hide() { tooltip.hide(); } LienzoTextTooltip();   LienzoTextTooltip(final PrimitiveTooltip tooltip); }
LienzoTextTooltip extends AbstractCanvasTooltip<String> { @Override public void hide() { tooltip.hide(); } LienzoTextTooltip();   LienzoTextTooltip(final PrimitiveTooltip tooltip); @Override void showAt(final String content,
                       final Point2D location); @Override void hide(); @Override void destroy(); }
LienzoTextTooltip extends AbstractCanvasTooltip<String> { @Override public void hide() { tooltip.hide(); } LienzoTextTooltip();   LienzoTextTooltip(final PrimitiveTooltip tooltip); @Override void showAt(final String content,
                       final Point2D location); @Override void hide(); @Override void destroy();  }