triptracker.client.ui
Class ChangeFormAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by triptracker.client.ui.ChangeFormAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class ChangeFormAction
extends AbstractAction

This action class provides a simple way to do an unconditional change to another form. This is easily done as part of a button action listener or any other action listener.

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
ChangeFormAction(FormManager manager, Form form)
          Creates a change form action with manager as form manager and form as the form to be shown when the action event is triggered.
 
Method Summary
 void actionPerformed(ActionEvent e)
          
 
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

ChangeFormAction

public ChangeFormAction(FormManager manager,
                        Form form)
Creates a change form action with manager as form manager and form as the form to be shown when the action event is triggered.

Parameters:
manager - form manager
form - form to be shown on action event
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)



Copyright © 2006 Team Trip Tracker. All Rights Reserved.