net.sourceforge.neurosdbm.actions
Class BaseAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bynet.sourceforge.neurosdbm.actions.BaseAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
About, AddFilesToPlaylist, AddTrack, AddTracksToPlaylist, BackupDatabase, ChangeDevice, ChangeRebuildSearchPath, CreateEmptyDatabase, DatabaseInfo, DeleteTrack, Exit, License, LogView, MDBChooser, PlayTracks, PurgeNDBMDirectory, RandomizePlaylist, RebuildDatabase, RefreshDatabase, RestoreDatabase, SelectMusicApp, SortDatabase, Synchronize, TrackInfo, Update, UsersGuide, XIEditor

public abstract class BaseAction
extends javax.swing.AbstractAction

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
protected  MainFrame parent
           
 
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
protected BaseAction(MainFrame parent, java.lang.String name)
           
 
Method Summary
(package private) abstract  void action()
           
 void actionPerformed(java.awt.event.ActionEvent evt)
           
protected  void setAcceleratorKey(java.lang.String key)
          See the javax.swing.KeyStroke class for description of proper format of the key argument.
protected  void setIcon(java.lang.String imageName)
           
protected  void setToolTip(java.lang.String toolTip)
           
 
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

parent

protected MainFrame parent
Constructor Detail

BaseAction

protected BaseAction(MainFrame parent,
                     java.lang.String name)
Method Detail

actionPerformed

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

setIcon

protected void setIcon(java.lang.String imageName)

setToolTip

protected void setToolTip(java.lang.String toolTip)

setAcceleratorKey

protected void setAcceleratorKey(java.lang.String key)
See the javax.swing.KeyStroke class for description of proper format of the key argument.


action

abstract void action()


Copyright © 2004 NeurosDBM Dev Team All Rights Reserved.