@Test public void testSetScaleAboutPoint() { tested.setScaleAboutPoint(true); verify(zoomMediator, atLeastOnce()).setScaleAboutPoint(eq(true)); tested.setScaleAboutPoint(false); verify(zoomMediator, atLeastOnce()).setScaleAboutPoint(eq(false)); }
public void setScaleAboutPoint(final boolean scaleAboutPoint) { mediators.getZoomMediator().setScaleAboutPoint(scaleAboutPoint); }
LienzoCanvasMediators { public void setScaleAboutPoint(final boolean scaleAboutPoint) { mediators.getZoomMediator().setScaleAboutPoint(scaleAboutPoint); } }
LienzoCanvasMediators { public void setScaleAboutPoint(final boolean scaleAboutPoint) { mediators.getZoomMediator().setScaleAboutPoint(scaleAboutPoint); } @Inject  LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                                 final ClientTranslationService translationService,
                                 final LienzoCanvasNotification notification,
                                 final EditorContextProvider editorContextProvider);   LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                          final ClientTranslationService translationService,
                          final LienzoCanvasNotification notification,
                          final Function<LienzoBoundsPanel, PanelMediators> mediatorsBuilder); }
LienzoCanvasMediators { public void setScaleAboutPoint(final boolean scaleAboutPoint) { mediators.getZoomMediator().setScaleAboutPoint(scaleAboutPoint); } @Inject  LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                                 final ClientTranslationService translationService,
                                 final LienzoCanvasNotification notification,
                                 final EditorContextProvider editorContextProvider);   LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                          final ClientTranslationService translationService,
                          final LienzoCanvasNotification notification,
                          final Function<LienzoBoundsPanel, PanelMediators> mediatorsBuilder); void init(final Supplier<LienzoCanvas> canvas); void setMinScale(final double minScale); void setMaxScale(final double maxScale); void setZoomFactor(final double factor); void setScaleAboutPoint(final boolean scaleAboutPoint); void enable(); void disable(); @PreDestroy void destroy(); }
LienzoCanvasMediators { public void setScaleAboutPoint(final boolean scaleAboutPoint) { mediators.getZoomMediator().setScaleAboutPoint(scaleAboutPoint); } @Inject  LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                                 final ClientTranslationService translationService,
                                 final LienzoCanvasNotification notification,
                                 final EditorContextProvider editorContextProvider);   LienzoCanvasMediators(final KeyEventHandler keyEventHandler,
                          final ClientTranslationService translationService,
                          final LienzoCanvasNotification notification,
                          final Function<LienzoBoundsPanel, PanelMediators> mediatorsBuilder); void init(final Supplier<LienzoCanvas> canvas); void setMinScale(final double minScale); void setMaxScale(final double maxScale); void setZoomFactor(final double factor); void setScaleAboutPoint(final boolean scaleAboutPoint); void enable(); void disable(); @PreDestroy void destroy();  }