org.xnap.gui.action
Class ClearHistoriesAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.xnap.gui.action.ClearHistoriesAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ClearHistoriesAction
extends javax.swing.AbstractAction

Provides an action that clears all histories of Clearable objects.

See Also:
xnap.gui.component.HistoryTextField, 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
ClearHistoriesAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
static void add(Clearable item)
           
static void remove(Clearable item)
           
 
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

ClearHistoriesAction

public ClearHistoriesAction()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)

add

public static void add(Clearable item)

remove

public static void remove(Clearable item)


Copyright © 2001-2005 XNap Team. All Rights Reserved.