org.xnap.gui.action
Class PlayDirectoryAction

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

public class PlayDirectoryAction
extends javax.swing.AbstractAction

Plays the files provided by DirectoryProvider using the ActionHelper.

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, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
PlayDirectoryAction(DirectoryProvider dp)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Collects the files from the directory provided by the DirectoryProvider and plays them using the ActionHelper object.
 
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

PlayDirectoryAction

public PlayDirectoryAction(DirectoryProvider dp)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Collects the files from the directory provided by the DirectoryProvider and plays them using the ActionHelper object.

Only the first file is actually played the ensuing files are enqueued.



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