@Test public void testGetGranulation_2() { System.out.println("getGranulation"); AbstractGraphPanelVisualizer instance = new AbstractGraphPanelVisualizerImpl(); try { instance.setGranulation(0); fail("Exception expected"); } catch (IllegalArgumentException e) { } }
@Override public void setGranulation(int granulation) { if (granulation < 1) { throw new IllegalArgumentException("Interval cannot be less than 1"); } interval = granulation; getSettingsPanel().setGranulationValue(granulation); graphPanel.getGraphObject().setPrecisionLabel(granulation); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void setGranulation(int granulation) { if (granulation < 1) { throw new IllegalArgumentException("Interval cannot be less than 1"); } interval = granulation; getSettingsPanel().setGranulationValue(granulation); graphPanel.getGraphObject().setPrecisionLabel(granulation); } }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void setGranulation(int granulation) { if (granulation < 1) { throw new IllegalArgumentException("Interval cannot be less than 1"); } interval = granulation; getSettingsPanel().setGranulationValue(granulation); graphPanel.getGraphObject().setPrecisionLabel(granulation); } AbstractGraphPanelVisualizer(); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void setGranulation(int granulation) { if (granulation < 1) { throw new IllegalArgumentException("Interval cannot be less than 1"); } interval = granulation; getSettingsPanel().setGranulationValue(granulation); graphPanel.getGraphObject().setPrecisionLabel(granulation); } AbstractGraphPanelVisualizer(); @Override abstract String getStaticLabel(); void updateGui(Sample sample); void updateGui(); @Override void clearData(); @Override Image getImage(); @Override int getGranulation(); @Override void setGranulation(int granulation); @Override void stateChanged(ChangeEvent e); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement c); @Override void configure(TestElement el); @Override GraphPanelChart getGraphPanelChart(); @Override void switchModel(boolean aggregate); JSettingsPanel getSettingsPanel(); void setUpFiltering(CorrectedResultCollector rc); void setIgnoreCurrentTestStartTime(); boolean isIgnoreCurrentTestStartTime(); @Override void clearGui(); }
AbstractGraphPanelVisualizer extends AbstractVisualizer implements Clearable,
        ImageVisualizer,
        SettingsInterface { @Override public void setGranulation(int granulation) { if (granulation < 1) { throw new IllegalArgumentException("Interval cannot be less than 1"); } interval = granulation; getSettingsPanel().setGranulationValue(granulation); graphPanel.getGraphObject().setPrecisionLabel(granulation); } AbstractGraphPanelVisualizer(); @Override abstract String getStaticLabel(); void updateGui(Sample sample); void updateGui(); @Override void clearData(); @Override Image getImage(); @Override int getGranulation(); @Override void setGranulation(int granulation); @Override void stateChanged(ChangeEvent e); @Override TestElement createTestElement(); @Override void modifyTestElement(TestElement c); @Override void configure(TestElement el); @Override GraphPanelChart getGraphPanelChart(); @Override void switchModel(boolean aggregate); JSettingsPanel getSettingsPanel(); void setUpFiltering(CorrectedResultCollector rc); void setIgnoreCurrentTestStartTime(); boolean isIgnoreCurrentTestStartTime(); @Override void clearGui(); static final String INTERVAL_PROPERTY; static final String GRAPH_AGGREGATED; }