Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class gui.EventReporter

java.lang.Object
  |
  +--gui.EventReporter

public class EventReporter
extends java.lang.Object
A debugging aid: provides a more informative description of an Event. In particular, it gives the symbolic name of the event type. The relevant info is static (ie. class methods);


Method Summary
static java.lang.String clickName(int count)
          Return a string describing the number of mouse `clicks' for the event.
static java.lang.String idName(int id)
          Return a string identifying the event's type (id).
static java.lang.String modifierName(int modifier)
          Return a string describing the modifier keys used in the event.
static void report(java.awt.Event e)
          Print a report of the event on stdout.
static java.lang.String reportString(java.awt.Event e)
          Return a string describing the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Method Detail

report

public static void report(java.awt.Event e)
Print a report of the event on stdout.

reportString

public static java.lang.String reportString(java.awt.Event e)
Return a string describing the event.

clickName

public static java.lang.String clickName(int count)
Return a string describing the number of mouse `clicks' for the event.

modifierName

public static java.lang.String modifierName(int modifier)
Return a string describing the modifier keys used in the event.

idName

public static java.lang.String idName(int id)
Return a string identifying the event's type (id).

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD