Back to index

wims  3.65+svn20090927
Public Member Functions
ptolemy.plot.PlotBox.ButtonListener Class Reference
Inheritance diagram for ptolemy.plot.PlotBox.ButtonListener:
Inheritance graph
Collaboration diagram for ptolemy.plot.PlotBox.ButtonListener:
Collaboration graph

List of all members.

Public Member Functions

void actionPerformed (ActionEvent event)

Detailed Description

Definition at line 4115 of file

Member Function Documentation

void ptolemy.plot.PlotBox.ButtonListener.actionPerformed ( ActionEvent  event) [inline]

Definition at line 4116 of file

            if (event.getSource() == _fillButton) {
            } else if (event.getSource() == _printButton) {
                // FIXME:  Code duplication with PlotFrame._printCrossPlatform
                PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
                PrinterJob job = PrinterJob.getPrinterJob();

                // rbeyer@LPL.Arizona.EDU: Get the Page Format and use it.
                //PageFormat format = job.pageDialog(job.defaultPage());
                //job.setPrintable(PlotBox.this, format);

                if (job.printDialog(aset)) {
                    try {
                    } catch (Exception ex) {
                        Component ancestor = getTopLevelAncestor();
                                "Printing failed:\n" + ex.toString(),
                                "Print Error", JOptionPane.WARNING_MESSAGE);
            } else if (event.getSource() == _resetButton) {
            } else if (event.getSource() == _formatButton) {
                PlotFormatter fmt = new PlotFormatter(PlotBox.this);

Here is the call graph for this function:

The documentation for this class was generated from the following file: