|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
ptolemy.vergil.basic.ExtendedGraphFrame.FullScreenAction
public class ExtendedGraphFrame.FullScreenAction
An action to display in full-screen mode.
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)
Construct a full screen action. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
If we are in full-screen mode, then revert; otherwise, go to full-screen mode. |
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 |
---|
public ExtendedGraphFrame.FullScreenAction(java.lang.String description)
description
- A string that describes the action. Spaces are
permitted, each word is usually capitalized.Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
e
- The action event, ignored by this method.public void keyPressed(java.awt.event.KeyEvent e)
keyPressed
in interface java.awt.event.KeyListener
e
- The key event, ignored by this method.public void keyReleased(java.awt.event.KeyEvent e)
keyReleased
in interface java.awt.event.KeyListener
e
- The key event, ignored by this method.public void keyTyped(java.awt.event.KeyEvent e)
keyTyped
in interface java.awt.event.KeyListener
e
- The key event, ignored by this method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |