ptolemy.vergil.basic
Class ExtendedGraphFrame.FullScreenAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byptolemy.vergil.basic.ExtendedGraphFrame.FullScreenAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.awt.event.KeyListener, java.io.Serializable
Enclosing class:
ExtendedGraphFrame

public class ExtendedGraphFrame.FullScreenAction
extends javax.swing.AbstractAction
implements java.awt.event.KeyListener

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ExtendedGraphFrame.FullScreenAction(java.lang.String description)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void keyPressed(java.awt.event.KeyEvent e)
          React to a key press by removing full-screen mode.
 void keyReleased(java.awt.event.KeyEvent e)
          React to a key press by removing full-screen mode.
 void keyTyped(java.awt.event.KeyEvent e)
          React to a key press by removing full-screen mode.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedGraphFrame.FullScreenAction

public ExtendedGraphFrame.FullScreenAction(java.lang.String description)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
React to a key press by removing full-screen mode.

Specified by:
keyPressed in interface java.awt.event.KeyListener

keyReleased

public void keyReleased(java.awt.event.KeyEvent e)
React to a key press by removing full-screen mode.

Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent e)
React to a key press by removing full-screen mode.

Specified by:
keyTyped in interface java.awt.event.KeyListener