Uses of Class
com.tensegrity.generic.util.KeyStroke

Packages that use KeyStroke
com.tensegrity.composite The Tensgrity Graph Framework supports complex visual representations of nodes and edges.  
com.tensegrity.generic.util Core classes for tensegrity-software packages.  
com.tensegrity.graph.view Contains the graph view interface.  
com.tensegrity.gui This package contains all i18n related classes such as UIManager, GUIItem and various type of list implementations which are responsible for the dynamic switch of the language during runtime.  
com.tensegrity.gui.swing The package is the container for all swing-related gui classes and interfaces.  
com.tensegrity.gui.swt This package contains classes for a swt-based GraphApplication.  
com.tensegrity.gui.swt.graph   
 

Uses of KeyStroke in com.tensegrity.composite
 

Methods in com.tensegrity.composite with parameters of type KeyStroke
 boolean CompositeView.addPressedKey(KeyStroke keystroke)
          Adds the given KeyStroke to the list of keystrokes to be consumed by this CompositeView.
 boolean CompositeView.removePressedKey(KeyStroke keystroke)
          Removes the given KeyStroke to the list of keystrokes to be consumed by this CompositeView.
 boolean CompositeView.isKeyPressed(KeyStroke keystroke)
          Returns true, if the given KeyStroke is already added to the list of keystroke to be consumed by this CompositeView.
 void CompositeView.addKeyCommand(KeyStroke keystroke, Command command)
          Associates the given KeyStroke with the given Command.
 void CompositeView.removeKeyCommand(KeyStroke keystroke)
          Removes the given KeyStroke from the list of key-commands.
 

Uses of KeyStroke in com.tensegrity.generic.util
 

Fields in com.tensegrity.generic.util declared as KeyStroke
static KeyStroke KeyStroke.SHIFT_KEY
          keystroke representing the Shift-key
static KeyStroke KeyStroke.CTRL_KEY
          keystroke representing the Ctrl-key
static KeyStroke KeyStroke.ALT_KEY
          keystroke representing the Alt-key
 

Methods in com.tensegrity.generic.util that return KeyStroke
static KeyStroke ModifierConfig.keyForModifier(int modifier)
          Returns a KeyStroke representing the modifier mask.
 

Methods in com.tensegrity.generic.util with parameters of type KeyStroke
static int ModifierConfig.modifierForKey(KeyStroke key)
          Returns a modifier representing the SHIFT, CTRL and ALT components of a KeyStroke.
 

Uses of KeyStroke in com.tensegrity.graph.view
 

Methods in com.tensegrity.graph.view that return KeyStroke
 KeyStroke VisualGraphView.getZoomToRectangleKey()
          Deprecated. Use (@link com.tensegrity.generic.util.ModifierConfig#getModifier(OperationKey))!
 

Methods in com.tensegrity.graph.view with parameters of type KeyStroke
 void VisualGraphView.setZoomToRectangleKey(KeyStroke zoomToRectangleKey)
          Deprecated. Use (@link com.tensegrity.generic.util.ModifierConfig#setModifier(OperationKey, int))!
 

Uses of KeyStroke in com.tensegrity.gui
 

Methods in com.tensegrity.gui that return KeyStroke
 KeyStroke UIManager.getKeyStroke(java.lang.String key)
          Factory method for creating a localized Keystroke from a key.
 KeyStroke DefaultUIManager.getKeyStroke(java.lang.String key)
          Factory method for creating a localized Keystroke from a key.
 KeyStroke KeyStrokeProvider.getKeyStroke(java.lang.String commandId)
           Returns the KeyStrokeassociated with the passed command Id.
 KeyStroke KeyStrokeBuilder.buildKeyStroke(java.lang.String keyCode, java.lang.String modifiers)
           This method builds and returns a KeyStroke instance using the passed string representation of keycode and modifiers.
 

Methods in com.tensegrity.gui with parameters of type KeyStroke
protected  void KeyStrokeProvider.addToMap(java.lang.String commandId, KeyStroke keystroke)
           Simple wrapper allowing extra checks before adding elements to the local Map.
 

Uses of KeyStroke in com.tensegrity.gui.swing
 

Methods in com.tensegrity.gui.swing that return KeyStroke
 KeyStroke SwingKeyStrokeBuilder.buildKeyStroke(java.lang.String keyCode, java.lang.String modifiers)
           This method builds and returns a KeyStroke instance using the passed string representation of keycode and modifiers.
 KeyStroke SwingKeyStrokeProvider.getKeyStroke(java.lang.String commandId)
           Returns the KeyStrokeassociated with the passed command Id.
 

Uses of KeyStroke in com.tensegrity.gui.swt
 

Subclasses of KeyStroke in com.tensegrity.gui.swt
 class SwtKeyStroke
           Since in SWT there is no notion of keystroke but simply one of accelerator this class is an adapted version of KeyStroke which provides a SwtKeyStroke.getAccelerator() method.
 

Methods in com.tensegrity.gui.swt that return KeyStroke
 KeyStroke SwtKeyStrokeBuilder.buildKeyStroke(java.lang.String keyCode, java.lang.String modifiers)
           This method builds and returns a KeyStroke instance using the passed string representation of keycode and modifiers.
 

Uses of KeyStroke in com.tensegrity.gui.swt.graph
 

Methods in com.tensegrity.gui.swt.graph that return KeyStroke
static KeyStroke KeyStrokeTransformer.getKeyStroke(char keyChar, int keyCode, int modifiers)
           This method is used in order to return a KeyStroke given a keyChar, keyCode, and modifiers of a "SWT" keystroke.
static KeyStroke KeyStrokeTransformer.getKeyStroke(org.eclipse.swt.events.KeyEvent e)
           This method is used in order to return a KeyStroke given the keyChar, keyCode, and modifiers of the passed "SWT" key event.
static KeyStroke KeyStrokeTransformer.getKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease)
           This method is used in order to return a KeyStroke given a keyChar, keyCode, and modifiers of a "SWT" keystroke.
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.