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

Quick Search    Search Deep

org.jempeg.empeg.emplode.action
Class SetPlaylistOrderAction  view SetPlaylistOrderAction download SetPlaylistOrderAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.jempeg.empeg.emplode.action.SetPlaylistOrderAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class SetPlaylistOrderAction
extends javax.swing.AbstractAction

Sets the playlist order according to the order of a TableSorter.

Version:
$Revision: 1.5 $

Field Summary
private  FIDTreeNodeChangeListenerIfc myChangeListener
           
private  javax.swing.JTable myTable
           
 
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
SetPlaylistOrderAction(FIDTreeNodeChangeListenerIfc _changeListener)
          Constructs a new SetPlaylistOrderAction that will use the performAction API directly.
SetPlaylistOrderAction(FIDTreeNodeChangeListenerIfc _changeListener, javax.swing.JTable _table)
          Constructs a new SetPlaylistOrderAction to be attached to an action source.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent _event)
          Calls performAction and passes in the sorter from the JTable that this object was constructed with.
 void performAction(org.jempeg.empeg.emplode.model.TableSorter _sorter)
          Sets the playlist order.
 
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

myChangeListener

private FIDTreeNodeChangeListenerIfc myChangeListener

myTable

private javax.swing.JTable myTable
Constructor Detail

SetPlaylistOrderAction

public SetPlaylistOrderAction(FIDTreeNodeChangeListenerIfc _changeListener)
Constructs a new SetPlaylistOrderAction that will use the performAction API directly.


SetPlaylistOrderAction

public SetPlaylistOrderAction(FIDTreeNodeChangeListenerIfc _changeListener,
                              javax.swing.JTable _table)
Constructs a new SetPlaylistOrderAction to be attached to an action source.

Method Detail

performAction

public void performAction(org.jempeg.empeg.emplode.model.TableSorter _sorter)
Sets the playlist order.


actionPerformed

public void actionPerformed(java.awt.event.ActionEvent _event)
Calls performAction and passes in the sorter from the JTable that this object was constructed with.