|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.AbstractAction
net.curre.prefcount.event.DialogButtonNavigationListener
public class DialogButtonNavigationListener
Object of this class represents a listener that extends
AbstractAction class, implements the
ActionListener, KeyListener, and
FocusListener interfaces to be used as a
listener with the player navigational buttons.
| 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 | |
|---|---|
DialogButtonNavigationListener(boolean nextButton,
PlayerDialogBasePanel basePanel)
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent)
Performs the button action. |
void |
focusGained(java.awt.event.FocusEvent focusEvent)
Does nothing. |
void |
focusLost(java.awt.event.FocusEvent focusEvent)
Transfers focus from this button to the next appropriate component. |
void |
keyPressed(java.awt.event.KeyEvent keyEvent)
Does nothing. |
void |
keyReleased(java.awt.event.KeyEvent keyEvent)
Performs the button action. |
void |
keyTyped(java.awt.event.KeyEvent keyEvent)
Does nothing. |
| 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 DialogButtonNavigationListener(boolean nextButton,
PlayerDialogBasePanel basePanel)
nextButton - If true, represents the next button;
if false - back button.basePanel - Reference to the main player dialog panel.| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed in interface java.awt.event.ActionListenerpublic void keyTyped(java.awt.event.KeyEvent keyEvent)
keyTyped in interface java.awt.event.KeyListenerpublic void keyPressed(java.awt.event.KeyEvent keyEvent)
keyPressed in interface java.awt.event.KeyListenerpublic void keyReleased(java.awt.event.KeyEvent keyEvent)
keyReleased in interface java.awt.event.KeyListenerpublic void focusGained(java.awt.event.FocusEvent focusEvent)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent focusEvent)
focusLost in interface java.awt.event.FocusListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||