Back to index

wims  3.65+svn20090927
Public Member Functions
ptolemy.plot.PlotBox.ZoomListener Class Reference
Inheritance diagram for ptolemy.plot.PlotBox.ZoomListener:
Inheritance graph
[legend]
Collaboration diagram for ptolemy.plot.PlotBox.ZoomListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void mouseClicked (MouseEvent event)
void mouseEntered (MouseEvent event)
void mouseExited (MouseEvent event)
void mousePressed (MouseEvent event)
void mouseReleased (MouseEvent event)

Detailed Description

Definition at line 4148 of file PlotBox.java.


Member Function Documentation

void ptolemy.plot.PlotBox.ZoomListener.mouseClicked ( MouseEvent  event) [inline]

Definition at line 4149 of file PlotBox.java.

                                                   {
            requestFocus();
        }
void ptolemy.plot.PlotBox.ZoomListener.mouseEntered ( MouseEvent  event) [inline]

Definition at line 4153 of file PlotBox.java.

                                                   {
        }
void ptolemy.plot.PlotBox.ZoomListener.mouseExited ( MouseEvent  event) [inline]

Definition at line 4156 of file PlotBox.java.

                                                  {
        }
void ptolemy.plot.PlotBox.ZoomListener.mousePressed ( MouseEvent  event) [inline]

Definition at line 4159 of file PlotBox.java.

                                                   {
            // http://developer.java.sun.com/developer/bugParade/bugs/4072703.html
            // BUTTON1_MASK still not set for MOUSE_PRESSED events
            // suggests:
            // Workaround
            //   Assume that a press event with no modifiers must be button 1.
            //   This has the serious drawback that it is impossible to be sure
            //   that button 1 hasn't been pressed along with one of the other
            //   buttons.
            // This problem affects Netscape 4.61 under Digital Unix and
            // 4.51 under Solaris
            if (((event.getModifiers() & InputEvent.BUTTON1_MASK) != 0)
                    || (event.getModifiers() == 0)) {
                PlotBox.this._zoomStart(event.getX(), event.getY());
            }
        }

Here is the call graph for this function:

void ptolemy.plot.PlotBox.ZoomListener.mouseReleased ( MouseEvent  event) [inline]

Definition at line 4176 of file PlotBox.java.

                                                    {
            if (((event.getModifiers() & InputEvent.BUTTON1_MASK) != 0)
                    || (event.getModifiers() == 0)) {
                PlotBox.this._zoom(event.getX(), event.getY());
            }
        }

Here is the call graph for this function:


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