@Test public void testInformResetYAxisSelcted() { plot.setAxisOrientationSetting( AxisOrientationSetting.X_AXIS_AS_TIME ); Mockito.when(plot.isPaused()).thenReturn(true); plot.isTimeLabelEnabled = true; pcm.informResetYAxisActionSelected(); assertFalse(topRightVisible); assertFalse(bottomLeftVisible); verify(plot).refreshDisplay(); plot.setAxisOrientationSetting( AxisOrientationSetting.Y_AXIS_AS_TIME ); pcm.informResetYAxisActionSelected(); }
void informResetYAxisActionSelected() { resetY(); if (plot.isTimeLabelEnabled) { rescalePlotOnTimeAxis(); } plot.getPlotAbstraction().updateResetButtons(); plot.refreshDisplay(); }
PlotCornerResetButtonManager { void informResetYAxisActionSelected() { resetY(); if (plot.isTimeLabelEnabled) { rescalePlotOnTimeAxis(); } plot.getPlotAbstraction().updateResetButtons(); plot.refreshDisplay(); } }
PlotCornerResetButtonManager { void informResetYAxisActionSelected() { resetY(); if (plot.isTimeLabelEnabled) { rescalePlotOnTimeAxis(); } plot.getPlotAbstraction().updateResetButtons(); plot.refreshDisplay(); } PlotCornerResetButtonManager(PlotterPlot thePlot); }
PlotCornerResetButtonManager { void informResetYAxisActionSelected() { resetY(); if (plot.isTimeLabelEnabled) { rescalePlotOnTimeAxis(); } plot.getPlotAbstraction().updateResetButtons(); plot.refreshDisplay(); } PlotCornerResetButtonManager(PlotterPlot thePlot); void updateButtons(); }
PlotCornerResetButtonManager { void informResetYAxisActionSelected() { resetY(); if (plot.isTimeLabelEnabled) { rescalePlotOnTimeAxis(); } plot.getPlotAbstraction().updateResetButtons(); plot.refreshDisplay(); } PlotCornerResetButtonManager(PlotterPlot thePlot); void updateButtons();  }