public class LoadGestureSetAction
extends org.sigtec.graphix.widget.BasicAction
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY
The key used to retrieve action details from the resource bundle.
|
changeSupport, enabledACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
LoadGestureSetAction(MainView mainView) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent event)
Opens a dialog to allow the user to choose a gesture set.
|
GestureSet |
loadGestureSet(File file)
Loads the gesture set.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic static final String KEY
public LoadGestureSetAction(MainView mainView)
public void actionPerformed(ActionEvent event)
event - the action event.public GestureSet loadGestureSet(File file)
file - the file containing the gesture set to be loaded.Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.