Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

demo2.gui
Class RobustAction  view RobustAction download RobustAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bydemo2.gui.RobustAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
AccountEditFrame.DepositAction, AccountEditFrame.TransferAction, AccountEditFrame.WithdrawAction, AllAccountsFrame.SelectedAccountAction, NewAccountFrame.OKAction, TransferFrame.OKAction

abstract class RobustAction
extends javax.swing.AbstractAction


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
(package private) RobustAction(java.lang.String name)
           
 
Method Summary
protected abstract  void action()
           
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is invoked when an action occurs.
(package private) static void display(java.lang.Exception exception)
           
 
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

RobustAction

RobustAction(java.lang.String name)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.


action

protected abstract void action()
                        throws java.lang.Exception

display

static void display(java.lang.Exception exception)