Package jsky.util

Examples of jsky.util.IApplyCancel


    /**
     * Add a panel to the config window to configure the symbol plotting
     */
    protected void addPlotterConfigPanel() {
        final JTabbedPane tabbedPane = _configPanel.getTabbedPane();
        final IApplyCancel symbolConfig = getPlotter().getConfigPanel(getTable());
        tabbedPane.add((JPanel) symbolConfig, _I18N.getString("plotSymbols"));

        ActionListener applyListener = new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                symbolConfig.apply();
            }
        };
        ActionListener cancelListener = new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                symbolConfig.cancel();
            }
        };
        _configPanel.getApplyButton().addActionListener(applyListener);
        _configPanel.getOKButton().addActionListener(applyListener);
        _configPanel.getCancelButton().addActionListener(cancelListener);
View Full Code Here

TOP

Related Classes of jsky.util.IApplyCancel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.