motris.gui
Class DropDownAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended bymotris.gui.DropDownAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
ActorController.AddActorAction, ActorController.FindActorAction, ActorController.SaveActorAction, DisplayController.LoadDisplayAction, DisplayController.RefreshDisplayAction, DisplayController.SaveDisplayAction, ImageSequenceController.LoadImageSequenceAction, ImageSequenceController.SaveImageSequenceAction, TrackingController.LoadActorStateAction, TrackingController.PredictActorAction, TrackingController.TrackActorAction

public abstract class DropDownAction
extends javax.swing.AbstractAction

AbstractAction class that includes a Drop-Down menu for advanced options

Author:
Hendrik Dahlkamp
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.AbstractAction
 
Field Summary
static java.lang.String DROPDOWN_NAME
           
static java.lang.String 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
DropDownAction()
           
 
Method Summary
abstract  javax.swing.JMenu getDropDownMenu(javax.swing.JComponent 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
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Field Detail

IS_SELECTED_KEY

public static final java.lang.String IS_SELECTED_KEY
See Also:
Constant Field Values

DROPDOWN_NAME

public static final java.lang.String DROPDOWN_NAME
See Also:
Constant Field Values
Constructor Detail

DropDownAction

public DropDownAction()
Method Detail

getDropDownMenu

public abstract javax.swing.JMenu getDropDownMenu(javax.swing.JComponent source)