motris.gui
Class ActorController.FindActorAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bymotris.gui.DropDownAction
          extended bymotris.gui.ActorController.FindActorAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, javax.swing.event.ListDataListener, ParameterizedObject.ParameterChangedListener, java.io.Serializable
Enclosing class:
ActorController

public class ActorController.FindActorAction
extends DropDownAction
implements ParameterizedObject.ParameterChangedListener, javax.swing.event.ListDataListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
(package private)  javax.swing.JCheckBoxMenuItem alwaysFindActor
           
(package private)  javax.swing.JMenu dropDownMenu
           
(package private)  Actor lastActiveActor
           
 
Fields inherited from class motris.gui.DropDownAction
DROPDOWN_NAME, IS_SELECTED_KEY
 
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
ActorController.FindActorAction()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void contentsChanged(javax.swing.event.ListDataEvent e)
           
private  void enableIfPossible()
           
private  void findActor()
           
 javax.swing.JMenu getDropDownMenu(javax.swing.JComponent source)
           
 void intervalAdded(javax.swing.event.ListDataEvent e)
           
 void intervalRemoved(javax.swing.event.ListDataEvent e)
           
 void parameterChanged(ParameterizedObject source)
           
 
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

dropDownMenu

javax.swing.JMenu dropDownMenu

alwaysFindActor

javax.swing.JCheckBoxMenuItem alwaysFindActor

lastActiveActor

Actor lastActiveActor
Constructor Detail

ActorController.FindActorAction

public ActorController.FindActorAction()
Method Detail

enableIfPossible

private void enableIfPossible()

findActor

private void findActor()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

getDropDownMenu

public javax.swing.JMenu getDropDownMenu(javax.swing.JComponent source)
Specified by:
getDropDownMenu in class DropDownAction

parameterChanged

public void parameterChanged(ParameterizedObject source)
Specified by:
parameterChanged in interface ParameterizedObject.ParameterChangedListener

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent e)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent e)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent e)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener