org.ximtec.igesture.geco.gui.action
Class LoadGestureSetAction
java.lang.Object
javax.swing.AbstractAction
org.sigtec.graphix.widget.BasicAction
org.ximtec.igesture.geco.gui.action.LoadGestureSetAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class LoadGestureSetAction
- extends org.sigtec.graphix.widget.BasicAction
Loads a gesture set
- Version:
- 0.9, Nov 20, 2007
- Author:
- Michele Croci, mcroci@gmail.com, Beat Signer, signer@inf.ethz.ch
- See Also:
- Serialized Form
|
Field Summary |
static String |
KEY
The key used to retrieve action details from the resource bundle. |
| 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 |
KEY
public static final String KEY
- The key used to retrieve action details from the resource bundle.
- See Also:
- Constant Field Values
LoadGestureSetAction
public LoadGestureSetAction(MainView mainView)
actionPerformed
public void actionPerformed(ActionEvent event)
- Opens a dialog to allow the user to choose a gesture set.
- Parameters:
event - the action event.
loadGestureSet
public GestureSet loadGestureSet(File file)
- Loads the gesture set.
- Parameters:
file - the file containing the gesture set to be loaded.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.