org.purl.sword.client
Class GuiClient.DebugAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.purl.sword.client.GuiClient.DebugAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
GuiClient

protected class GuiClient.DebugAction
extends AbstractAction

Action to process the toggle to show and hide the debug panel.

Author:
Neil Taylor
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
GuiClient.DebugAction()
          Create a new instance.
 
Method Summary
 void actionPerformed(ActionEvent event)
          Handle the action.
 
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

GuiClient.DebugAction

public GuiClient.DebugAction()
Create a new instance.

Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)
Handle the action. Update the debug status, based on the value in the debug menu item.

Parameters:
event - The event.


Copyright © 2012. All Rights Reserved.