Class Tracksail.TurnRightAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byTracksail.TurnRightAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Enclosing class:
Tracksail

class Tracksail.TurnRightAction
extends javax.swing.AbstractAction

Handles clicking the '>' button.


Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
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
Tracksail.TurnRightAction(java.lang.String text)
          Constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Send a navigation command to the server to turn the player's boat starboard.
 
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

Tracksail.TurnRightAction

public Tracksail.TurnRightAction(java.lang.String text)
Constructor.

Parameters:
text - description string
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Send a navigation command to the server to turn the player's boat starboard.

Parameters:
e - ActionEvent event