Java 类org.jfree.chart.editor.ChartEditorManager 实例源码

项目:OTCAnalyser    文件:GraphWindow.java   
public synchronized void addChartPanel(String currency, boolean byMonth) {
    TimeSeriesCollection dataset = LineGraphMaker.makeDataset();
  datasets.add(dataset);
  String currencyName = currency;
  if (currency.isEmpty()) {
    currencyName = "Unknown Currency";
  }
  String timePeriod = "Day";
  if (byMonth) {
    timePeriod = "Month";
  }
  JFreeChart chart = LineGraphMaker.makeChart("Prices by " + timePeriod, currencyName, dataset, byMonth);
  chart.setBackgroundPaint(chartColor);
  XYPlot plot = (XYPlot) chart.getPlot();
  plot.setBackgroundPaint(plotColor);
  ChartPanel panel = new ChartPanel(chart);
  chartPanels.add(panel);
  ChartEditorManager.setChartEditorFactory(new NewDefaultChartEditorFactory());
  panel.setFillZoomRectangle(true);
  panel.setMouseWheelEnabled(true);
  currencies.add(currency);
}
项目:rapidminer    文件:AbstractChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the current chart.
 * 
 * @since 1.0.3
 */

@Override
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:parabuild-ci    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 * 
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, 
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:ccu-historian    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:jfreechart    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:aya-lang    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:rapidminer-studio    文件:AbstractChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the current chart.
 * 
 * @since 1.0.3
 */

@Override
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:HTML5_WebSite    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:populus    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:PI    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:nabs    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 * 
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, 
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:ECG-Viewer    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:astor    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:opensim-gui    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 * 
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, 
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:group-five    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:manydesigns.cn    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:rapidminer-5    文件:AbstractChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the current chart.
 * 
 * @since 1.0.3
 */

@Override
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor, localizationResources.getString("Chart_Properties"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:buffer_bci    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:buffer_bci    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:proyecto-teoria-control-utn-frro    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}
项目:Memetic-Algorithm-for-TSP    文件:ChartPanel.java   
/**
 * Displays a dialog that allows the user to edit the properties for the
 * current chart.
 *
 * @since 1.0.3
 */
public void doEditChartProperties() {

    ChartEditor editor = ChartEditorManager.getChartEditor(this.chart);
    int result = JOptionPane.showConfirmDialog(this, editor,
            localizationResources.getString("Chart_Properties"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
    if (result == JOptionPane.OK_OPTION) {
        editor.updateChart(this.chart);
    }

}