UTJML

edu.utep.cs.utjml.canica
Class PreferencesAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by edu.utep.cs.utjml.canica.PreferencesAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PreferencesAction
extends AbstractAction

A class to represent the Preferences action, from the Option menu item. This class provides the action that calls the Preferences frame ( see edu.utep.cs.utjml.canica.Preferences ).

Author:
Angelica B. Perez Apr 20, 2006
See Also:
Serialized Form

Field Summary
protected  Frame guiFrame
          The parent's frame
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
PreferencesAction(String name, Icon icon, Frame guiFrame, Mainable canica)
          Constructor
 
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
 

Field Detail

guiFrame

protected Frame guiFrame
The parent's frame

Constructor Detail

PreferencesAction

public PreferencesAction(String name,
                         Icon icon,
                         Frame guiFrame,
                         Mainable canica)
Constructor

Parameters:
name - Action's name
icon - Icon's name of the action shown
guiFrame - Canica's frame
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)

UTJML

UTJML is Copyright (C) 2004-2006 by University of Texas at El Paso and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the JML project.