Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.xerox.VTM.engine
Class AppletEventHandler  view AppletEventHandler download AppletEventHandler.java

java.lang.Object
  extended bycom.xerox.VTM.engine.AppEventHandler
      extended bycom.xerox.VTM.engine.AppletEventHandler

public abstract class AppletEventHandler
extends AppEventHandler

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


Field Summary
 
Fields inherited from class com.xerox.VTM.engine.AppEventHandler
CTRL_MOD, CTRL_SHIFT_MOD, NO_MODIFIER, SHIFT_MOD
 
Constructor Summary
AppletEventHandler()
           
 
Method Summary
 void viewActivated(View v)
           
 void viewClosing(View v)
           
 void viewDeactivated(View v)
           
 void viewDeiconified(View v)
           
 void viewIconified(View v)
           
 
Methods inherited from class com.xerox.VTM.engine.AppEventHandler
click1, click2, click3, enterGlyph, exitGlyph, Kpress, Krelease, Ktype, mouseDragged, mouseMoved, press1, press2, press3, release1, release2, release3
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletEventHandler

public AppletEventHandler()
Method Detail

viewActivated

public final void viewActivated(View v)
Overrides:
viewActivated in class AppEventHandler

viewDeactivated

public final void viewDeactivated(View v)
Overrides:
viewDeactivated in class AppEventHandler

viewIconified

public final void viewIconified(View v)
Overrides:
viewIconified in class AppEventHandler

viewDeiconified

public final void viewDeiconified(View v)
Overrides:
viewDeiconified in class AppEventHandler

viewClosing

public final void viewClosing(View v)
Overrides:
viewClosing in class AppEventHandler