JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d
Class KeyActionInitiator

java.lang.Object
  |
  +--com.klg.jclass.chart3d.ActionInitiator
        |
        +--com.klg.jclass.chart3d.KeyActionInitiator
All Implemented Interfaces:
Comparable, Serializable

public class KeyActionInitiator
extends ActionInitiator
implements Comparable, Serializable

A KeyActionInitiator is used by JCActionTable to associate a combination of key code and modifiers to a specific action on Chart 3D.

See Also:
Serialized Form

Field Summary
 int keycode
          Key code.
 int modifiers
          Modifier for the key code.
 
Fields inherited from class com.klg.jclass.chart3d.ActionInitiator
ANY_MODIFIER_MASK, NO_MODIFIER_MASK
 
Constructor Summary
KeyActionInitiator(int keycode, int modifiers)
          Creates a new KeyActionInitiator given a key and modifiers.
 
Method Summary
 int compareTo(Object obj)
          Implementation of Comparable interface.
 boolean isMatch(AWTEvent e)
          Returns true if the given event matches the ActionInitiator settings.
 String toString()
          Convert to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

keycode

public int keycode
Key code.


modifiers

public int modifiers
Modifier for the key code.

Constructor Detail

KeyActionInitiator

public KeyActionInitiator(int keycode,
                          int modifiers)
Creates a new KeyActionInitiator given a key and modifiers.

Valid modifierss are:

Method Detail

isMatch

public boolean isMatch(AWTEvent e)
Returns true if the given event matches the ActionInitiator settings.

Specified by:
isMatch in class ActionInitiator

compareTo

public int compareTo(Object obj)
Implementation of Comparable interface.

Specified by:
compareTo in interface Comparable

toString

public String toString()
Convert to a string.

Overrides:
toString in class Object

Copyright © 2004 Quest Software Inc..
All rights reserved.