01: package org.swingml.event;
02:
03: /**
04: * @author CrossLogic
05: */
06: public interface ISwingMLEvent {
07:
08: /**
09: * This method contains the main code the event will perform.
10: *
11: */
12: public Object execute(Object anObject);
13:
14: /**
15: * This method will be called after the execute method completes. The retun value from the execute method will be passed into this method as an Object.
16: *
17: * @param anObject
18: */
19: public void postExecute(Object anObject);
20:
21: /**
22: * This method will be called initially. The return value from this method will be passed into the execute() method call.
23: *
24: * @param anObject
25: * @return
26: */
27: public Object preExecute();
28:
29: }
|