Back to index

wims  3.65+svn20090927
Public Member Functions | Private Attributes
ptolemy.plot.EditablePlot.UndoListener Class Reference
Inheritance diagram for ptolemy.plot.EditablePlot.UndoListener:
Inheritance graph
[legend]
Collaboration diagram for ptolemy.plot.EditablePlot.UndoListener:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void keyPressed (KeyEvent e)
void keyReleased (KeyEvent e)
void keyTyped (KeyEvent e)

Private Attributes

boolean _control = false

Detailed Description

Definition at line 490 of file EditablePlot.java.


Member Function Documentation

Definition at line 491 of file EditablePlot.java.

                                           {
            int keycode = e.getKeyCode();

            switch (keycode) {
            case KeyEvent.VK_CONTROL:
                _control = true;
                break;

            case KeyEvent.VK_Z:

                if (_control) {
                    undo();
                }

                break;

            case KeyEvent.VK_Y:

                if (_control) {
                    redo();
                }

                break;

            default:
                // None
            }
        }

Here is the call graph for this function:

Definition at line 520 of file EditablePlot.java.

                                            {
            int keycode = e.getKeyCode();

            switch (keycode) {
            case KeyEvent.VK_CONTROL:
                _control = false;
                break;

            default:
                // None
            }
        }
void ptolemy.plot.EditablePlot.UndoListener.keyTyped ( KeyEvent  e) [inline]

Definition at line 535 of file EditablePlot.java.

                                         {
        }

Member Data Documentation

Definition at line 538 of file EditablePlot.java.


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