org.opa.core
Interface OPACookie

All Known Subinterfaces:
OPACopyCookie, OPACutCookie, OPADeleteCookie, OPAOpenCookie, OPAPasteCookie, OPARedoCookie, OPAUndoCookie
All Known Implementing Classes:
TestTextField.MyDeleteCookie

public interface OPACookie

This interface is based on the "Cookie" design pattern used by the Netbeans IDE (www.netbeans.org). This represents an action that may be performed in response to a user intiated event. However, OPACookies are typically invoked by instances of OPAActionManager. Modules should not invoke them directly. GUI objects may implement the OPACookieJar interface. This defines a GUI object that may hold OPACookies. Each OPACookie instance should be an implementation of a sub-interface of OPACookie. For example, OPACookie --> OPADeleteCookie --> MyFileDelete. "MyFileDelete" must know how to respond to a request to delete a file. The GUI representation of the file will be the OPACookieJar implementation.


Method Summary
 OPACommand command()
           
 

Method Detail

command

public OPACommand command()