#include <vtkKWEventMap.h>
Collaboration diagram for vtkKWEventMap:
Public Types | |
enum | { LeftButton = 0, MiddleButton = 1, RightButton = 2 } |
enum | { NoModifier = 0, ShiftModifier = 1, ControlModifier = 2 } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWEventMap, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
const char * | FindMouseAction (int button, int modifier) |
void | SetKeyEvent (char key, int modifier, const char *action) |
const char * | FindKeyAction (char key, int modifier) |
void | SetKeySymEvent (const char *keySym, int modifier, const char *action) |
const char * | FindKeySymAction (const char *keySym, int modifier) |
void | ShallowCopy (vtkKWEventMap *tprop) |
void | AddMouseEvent (struct MouseEvent *me) |
void | AddMouseEvent (int button, int modifier, const char *action) |
void | SetMouseEvent (struct MouseEvent *me) |
void | SetMouseEvent (int button, int modifier, const char *action) |
MouseEvent * | GetMouseEvent (int index) |
void | RemoveMouseEvent (struct MouseEvent *me) |
void | RemoveMouseEvent (int button, int modifier, const char *action=NULL) |
void | RemoveAllMouseEvents () |
virtual int | GetNumberOfMouseEvents () |
void | AddKeyEvent (struct KeyEvent *me) |
void | AddKeyEvent (char key, int modifier, const char *action) |
KeyEvent * | GetKeyEvent (int index) |
void | RemoveKeyEvent (char key, int modifier, const char *action=NULL) |
void | RemoveAllKeyEvents () |
virtual int | GetNumberOfKeyEvents () |
void | AddKeySymEvent (struct KeySymEvent *me) |
void | AddKeySymEvent (const char *keySym, int modifier, const char *action) |
KeySymEvent * | GetKeySymEvent (int index) |
void | RemoveKeySymEvent (const char *keySym, int modifier, const char *action=NULL) |
void | RemoveAllKeySymEvents () |
virtual int | GetNumberOfKeySymEvents () |
Static Public Member Functions | |
vtkKWEventMap * | New () |
Protected Member Functions | |
vtkKWEventMap () | |
~vtkKWEventMap () | |
Protected Attributes | |
MouseEvent * | MouseEvents |
KeyEvent * | KeyEvents |
KeySymEvent * | KeySymEvents |
int | NumberOfMouseEvents |
int | NumberOfKeyEvents |
int | NumberOfKeySymEvents |
vtkKWEventMap maintains 3 lists of events -- for mouse, keyboard, and keysym events. The mouse event list maps between mouse button + modifier keys and actions. The keyboard event list maps between keys + modifier keys and actions. The keysym event list maps between keysyms and actions.
Definition at line 29 of file vtkKWEventMap.h.
|
Definition at line 41 of file vtkKWEventMap.h. |
|
Definition at line 48 of file vtkKWEventMap.h. |
|
|
|
|
|
|
|
|
|
|
|
Add a unique action with a specific mouse button and modifier key to the list of mouse events. BTX |
|
Add a unique action with a specific mouse button and modifier key to the list of mouse events. BTX |
|
Change the action to associate with a specific mouse button and modifier key. A mouse event with this button and modifier must have already have been added. BTX |
|
Change the action to associate with a specific mouse button and modifier key. A mouse event with this button and modifier must have already have been added. BTX |
|
Get the mouse event at the specified index. BTX |
|
Remove the action associated with this mouse button and modifier key from the list of mouse events (or all actions if action is NULL). BTX |
|
Remove the action associated with this mouse button and modifier key from the list of mouse events (or all actions if action is NULL). BTX |
|
Remove the action associated with this mouse button and modifier key from the list of mouse events (or all actions if action is NULL). BTX |
|
Return the string for the action of the mouse event indicated by this button and modifier. |
|
Return the total number of mouse events. |
|
Add a unique action with a specific key and modifier key to the list of key events. BTX |
|
Add a unique action with a specific key and modifier key to the list of key events. BTX |
|
Change the action to associate with a specific key and modifier key. A key event with this key and modifier must have already been added. |
|
Get the key event at the specified index. BTX |
|
Remove the action associated with this key and modifier key from the list of key events (or all actions if action is NULL).. |
|
Remove the action associated with this key and modifier key from the list of key events (or all actions if action is NULL).. |
|
Return the string for the action of the key event indicated by this key and modifier. |
|
Return the total number of key events. |
|
Add a unique action with a specific keysym to the list of keysym events. BTX |
|
Add a unique action with a specific keysym to the list of keysym events. BTX |
|
Change the action to associate with a specific keysym. A keysym event with this keysym must have already been added. |
|
Get the keysym event at the specified index. BTX |
|
Remove the action assiciated with this keysym from the list of keysym events (or all actions if action is NULL).. |
|
Remove the action assiciated with this keysym from the list of keysym events (or all actions if action is NULL).. |
|
Return the string for the action of the keysym event indicated by this keysym. |
|
Return the total number of keysym events. |
|
Shallow copy. |
|
Definition at line 208 of file vtkKWEventMap.h. |
|
Definition at line 209 of file vtkKWEventMap.h. |
|
Definition at line 210 of file vtkKWEventMap.h. |
|
Definition at line 212 of file vtkKWEventMap.h. |
|
Definition at line 213 of file vtkKWEventMap.h. |
|
Definition at line 214 of file vtkKWEventMap.h. |