org.acm.seguin.ide.common.action
Class PrettyPrinterAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.acm.seguin.ide.common.action.GenericAction
          extended by org.acm.seguin.ide.common.action.PrettyPrinterAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class PrettyPrinterAction
extends GenericAction

Pretty printer action button

Author:
Chris Seguin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.acm.seguin.ide.common.action.GenericAction
ACCELERATOR
 
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
PrettyPrinterAction()
          Constructor for the PrettyPrinterAction object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          The pretty printer action
 boolean isEnabled()
          Determines if this menu item should be enabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrettyPrinterAction

public PrettyPrinterAction()
Constructor for the PrettyPrinterAction object

Method Detail

isEnabled

public boolean isEnabled()
Determines if this menu item should be enabled

Specified by:
isEnabled in interface javax.swing.Action
Overrides:
isEnabled in class javax.swing.AbstractAction
Returns:
The Enabled value

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
The pretty printer action

Parameters:
evt - the action that occurred