@Override public JComponent buildVisualizationGUI() throws DatabaseException { for (VisualizationRenderer<ScatterplotVisualization> renderer : renderers) { renderer.composeVisualization(this.visualizationGUIComponent); } JPanel northPanel = new JPanel(); this.visualizationGUIComponent.add(northPanel, BorderLayout.NORTH); for (VisualizationControl<ScatterplotVisualization> control : northControls) { control.buildControlGUI(northPanel); } return this.visualizationGUIComponent; }
@Override public void toggleQualitySettings(int qualityParameter) { switch (qualityParameter) { case VisualizationRenderer.HIGH_QUALITY: for (VisualizationRenderer<ScatterplotVisualization> renderer : this.renderers) { renderer.setHighQuality(); } break; case VisualizationRenderer.LOW_QUALITY: for (VisualizationRenderer<ScatterplotVisualization> renderer : this.renderers) { renderer.setLowerQuality(); } } }
@Override public void updateDisplayedData(int inferiorLimit, int superiorLimit) throws DatabaseException { for (VisualizationRenderer<ScatterplotVisualization> renderer : this.renderers) { renderer.updateVisualizationLimits(inferiorLimit, superiorLimit); } }