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

Quick Search    Search Deep

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

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

public class PropertiesAction
extends javax.swing.AbstractAction
implements java.awt.event.MouseListener

PropertiesAction displays the properties dialog for the currently selected node when any number of actions occur.

Version:
$Revision: 1.7 $

Field Summary
private  FIDTreeNodeChangeListenerIfc myChangeListener
           
private  javax.swing.JFrame myFrame
           
private  SelectionTracker myTracker
           
 
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
PropertiesAction(javax.swing.JFrame _frame, FIDTreeNodeChangeListenerIfc _changeListener, SelectionTracker _tracker)
          Constructs a PropertiesAction with the given dialogs.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent _event)
          This method is invoked when an action occurs.
protected  org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createMixedDialog()
           
protected  org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createPlaylistDialog()
           
protected  org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createTuneDialog()
           
 void mouseClicked(java.awt.event.MouseEvent _event)
          This method is called when the mouse is clicked (pressed and released in short succession) on a component.
 void mouseEntered(java.awt.event.MouseEvent _event)
          This method is called when the mouse enters a component.
 void mouseExited(java.awt.event.MouseEvent _event)
          This method is called when the mouse exits a component.
 void mousePressed(java.awt.event.MouseEvent _event)
          This method is called when the mouse is pressed over a component.
 void mouseReleased(java.awt.event.MouseEvent _event)
          This method is called when the mouse is released over a component.
 void performAction()
           
protected  void show(org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog _dialog, org.jempeg.empeg.emplode.model.FIDTreeNodeIfc[] _nodes)
           
 
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

myTracker

private SelectionTracker myTracker

myFrame

private javax.swing.JFrame myFrame

myChangeListener

private FIDTreeNodeChangeListenerIfc myChangeListener
Constructor Detail

PropertiesAction

public PropertiesAction(javax.swing.JFrame _frame,
                        FIDTreeNodeChangeListenerIfc _changeListener,
                        SelectionTracker _tracker)
Constructs a PropertiesAction with the given dialogs.

Method Detail

performAction

public void performAction()

createTuneDialog

protected org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createTuneDialog()

createPlaylistDialog

protected org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createPlaylistDialog()

createMixedDialog

protected org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog createMixedDialog()

show

protected void show(org.jempeg.empeg.emplode.dialog.AbstractPropertiesDialog _dialog,
                    org.jempeg.empeg.emplode.model.FIDTreeNodeIfc[] _nodes)

actionPerformed

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

Specified by:
actionPerformed in interface java.awt.event.ActionListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent _event)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is pressed over a component.

Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent _event)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is released over a component.

Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent _event)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse enters a component.

Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent _event)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse exits a component.

Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent _event)
Description copied from interface: java.awt.event.MouseListener
This method is called when the mouse is clicked (pressed and released in short succession) on a component.

Specified by:
mouseClicked in interface java.awt.event.MouseListener