© 2006-2007 ETH Zurich

org.ximtec.igesture.tool.view.devicemanager.action
Class RemoveDeviceAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.sigtec.graphix.widget.BasicAction
          extended by org.ximtec.igesture.tool.view.devicemanager.action.RemoveDeviceAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, ListSelectionListener

public class RemoveDeviceAction
extends org.sigtec.graphix.widget.BasicAction
implements ListSelectionListener

Action to remove a device. It extends BasicAction and implements the ListSelectionListener interface.

Author:
Bjorn Puype, bpuype@gmail.com
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, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
RemoveDeviceAction(DeviceManagerController controller, DeviceManagerView view)
           
RemoveDeviceAction(DeviceManagerController controller, DeviceManagerView view, boolean enabled)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void valueChanged(ListSelectionEvent e)
           
 
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

RemoveDeviceAction

public RemoveDeviceAction(DeviceManagerController controller,
                          DeviceManagerView view)

RemoveDeviceAction

public RemoveDeviceAction(DeviceManagerController controller,
                          DeviceManagerView view,
                          boolean enabled)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

valueChanged

public void valueChanged(ListSelectionEvent e)
Specified by:
valueChanged in interface ListSelectionListener

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.