CESE 1.4.7

com.simulogic.cese.actions
Class LockRecAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by com.simulogic.utils.ActionSupport
          extended by com.simulogic.cese.actions.LockRecAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class LockRecAction
extends ActionSupport
implements java.beans.PropertyChangeListener

LockRec action implementation

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
LockRecAction()
          Creates new LockRecAction
LockRecAction(ModelManager m)
          Creates new LockRecAction
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Performs the action.
 javax.swing.JToggleButton getButton()
          Returns JToggleButton as a control for action
 javax.swing.JCheckBoxMenuItem getItem()
          Returns JCheckBoxMenuItem as a control for action
 void propertyChange(java.beans.PropertyChangeEvent evt)
           
 
Methods inherited from class com.simulogic.utils.ActionSupport
getName, getShortDescription, getSmallIcon, setName, setShortDescription, setSmallIcon, setSmallIcon
 
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

LockRecAction

public LockRecAction(ModelManager m)
Creates new LockRecAction

Parameters:
m - model manager

LockRecAction

public LockRecAction()
Creates new LockRecAction

Method Detail

getButton

public javax.swing.JToggleButton getButton()
Returns JToggleButton as a control for action

Returns:
control button

getItem

public javax.swing.JCheckBoxMenuItem getItem()
Returns JCheckBoxMenuItem as a control for action

Returns:
control menu item

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Description copied from class: ActionSupport
Performs the action.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class ActionSupport
Parameters:
evt - event

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

CESE 1.4.7

Copyright (c) 1999 - 2007 Cell Electrophysiology Simulation Environment (CESE). All rights reserved.