Java 类org.jfree.ui.StrokeChooserPanel 实例源码

项目:parabuild-ci    文件:LegendPropertyEditPanel.java   
/**
 * Allows the user the opportunity to change the outline stroke.
 */
private void attemptModifyOutlineStroke() {

    StrokeChooserPanel panel = new StrokeChooserPanel(
        this.outlineStroke, this.availableStrokeSamples
    );
    int result = JOptionPane.showConfirmDialog(
        this, panel, localizationResources.getString("Pen_Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
    );

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStroke.setStroke(panel.getSelectedStroke());
    }

}
项目:parabuild-ci    文件:NumberAxisPropertyEditPanel.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = 
        JOptionPane.showConfirmDialog(this, panel,
                                      localizationResources.getString("Stroke_Selection"),
                                      JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:parabuild-ci    文件:PlotPropertyEditPanel.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
        localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:parabuild-ci    文件:DefaultNumberAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
        null, this.availableStrokeSamples
    );
    int result = JOptionPane.showConfirmDialog(
        this, panel, localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
    );

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:parabuild-ci    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel 
        = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
        localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:ccu-historian    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:ccu-historian    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:aya-lang    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:aya-lang    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:HTML5_WebSite    文件:DefaultNumberAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
        null, this.availableStrokeSamples
    );
    int result = JOptionPane.showConfirmDialog(
        this, panel, localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
    );

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:HTML5_WebSite    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel
        = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
        localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:populus    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:populus    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:PI    文件:DefaultNumberAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:PI    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:nabs    文件:DefaultNumberAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
        null, this.availableStrokeSamples
    );
    int result = JOptionPane.showConfirmDialog(
        this, panel, localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
    );

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:nabs    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel 
        = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
        localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:ECG-Viewer    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:ECG-Viewer    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:opensim-gui    文件:DefaultNumberAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
        null, this.availableStrokeSamples
    );
    int result = JOptionPane.showConfirmDialog(
        this, panel, localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
    );

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:opensim-gui    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel 
        = new StrokeChooserPanel(null, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
        localizationResources.getString("Stroke_Selection"),
        JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:group-five    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:group-five    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:manydesigns.cn    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:manydesigns.cn    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:buffer_bci    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:buffer_bci    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:buffer_bci    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:buffer_bci    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:proyecto-teoria-control-utn-frro    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:proyecto-teoria-control-utn-frro    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:Memetic-Algorithm-for-TSP    文件:DefaultValueAxisEditor.java   
/**
 * Handle a grid stroke selection.
 */
protected void attemptGridStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(this.gridStrokeSample,
            this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.gridStrokeSample.setStroke(panel.getSelectedStroke());
    }
}
项目:Memetic-Algorithm-for-TSP    文件:DefaultPlotEditor.java   
/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
    StrokeChooserPanel panel = new StrokeChooserPanel(
            this.outlineStrokeSample, this.availableStrokeSamples);
    int result = JOptionPane.showConfirmDialog(this, panel,
            localizationResources.getString("Stroke_Selection"),
            JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);

    if (result == JOptionPane.OK_OPTION) {
        this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
    }
}