Source code: com/xerox/VTM/engine/AppletEventHandler.java
1 /* FILE: AppletEventHandler.java
2 * DATE OF CREATION: Jul 28 2000
3 * AUTHOR : Emmanuel Pietriga (emmanuel.pietriga@xrce.xerox.com)
4 * MODIF: Thu Jul 04 10:52:59 2002 by Emmanuel Pietriga
5 * Copyright (c) Xerox Corporation, XRCE/Contextual Computing, 2002. All Rights Reserved
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * For full terms see the file COPYING.
18 */
19
20 package com.xerox.VTM.engine;
21
22 import com.xerox.VTM.engine.*;
23 import com.xerox.VTM.glyphs.*;
24
25 /**Abstract class that every VTM-based application should subclass - deals with events like mouse clicks, keyboard events, and entering/leaving a glyph - for every method, mod tells if a modifier key is pressed at the time of the event 0 = no key, 1 = shift, 2 = ctrl, 3 = ctrl+shift
26 * @author Emmanuel Pietriga
27 */
28
29 public abstract class AppletEventHandler extends AppEventHandler {
30
31 public final void viewActivated(View v){}
32 public final void viewDeactivated(View v){}
33 public final void viewIconified(View v){}
34 public final void viewDeiconified(View v){}
35 public final void viewClosing(View v){}
36 }