alt.jiapi.tool
Class EventTool

java.lang.Object
  extended by alt.jiapi.tool.EventTool
All Implemented Interfaces:
FieldListener, JiapiListener, MethodListener, java.util.EventListener

public class EventTool
extends java.lang.Object
implements FieldListener, MethodListener

Class EventTool.

Author:
Mika Riekkinen

Constructor Summary
EventTool(java.lang.String[] args)
           
 
Method Summary
 void fieldChanging(FieldEvent fe)
          Called just before a field is changed.
 void fieldGet(FieldEvent fe)
          Called when someone is getting a field.
 void fieldSet(FieldEvent fe)
          Called after a field has been set.
static void main(java.lang.String[] args)
           
 void methodEntered(MethodEvent event)
          Called when a method is entered.
 void methodExited(MethodEvent event)
          Called just before method is exiting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventTool

public EventTool(java.lang.String[] args)
          throws JiapiException,
                 java.lang.ClassNotFoundException,
                 java.lang.NoSuchMethodException,
                 java.lang.IllegalAccessException,
                 java.lang.reflect.InvocationTargetException
Throws:
JiapiException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
Method Detail

fieldChanging

public void fieldChanging(FieldEvent fe)
Description copied from interface: FieldListener
Called just before a field is changed.

Specified by:
fieldChanging in interface FieldListener

fieldGet

public void fieldGet(FieldEvent fe)
Description copied from interface: FieldListener
Called when someone is getting a field.

Specified by:
fieldGet in interface FieldListener

fieldSet

public void fieldSet(FieldEvent fe)
Description copied from interface: FieldListener
Called after a field has been set.

Specified by:
fieldSet in interface FieldListener

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

methodEntered

public void methodEntered(MethodEvent event)
Description copied from interface: MethodListener
Called when a method is entered.

Specified by:
methodEntered in interface MethodListener
Parameters:
event - a MethodEvent describing which method triggered this event

methodExited

public void methodExited(MethodEvent event)
Description copied from interface: MethodListener
Called just before method is exiting.

Specified by:
methodExited in interface MethodListener
Parameters:
event - a MethodEvent describing which method triggered this event


Copyright © 2001. Documenation generated August 26 2011.