PATH |
- Inherits from:
- Object
- Implements:
- java.awt.event.ActionListener
- NSDisposable
- Package:
- com.webobjects.eointerface.swing
The EOControlActionAdapter class is used to connect user interface controls to the objects that respond to actions performed on those controls. They are usually generated automatically to represent connections made in Interface Builder. For example, suppose you control-drag a connection from a "Fetch" button to a display group and that you connect the button to the display group's fetch method. At runtime, an EOControlActionAdapter object is used to invoke the display group's fetch method when a user clicks the Fetch button. In this example, the display group is the EOControlActionAdapter's target, "fetch" is the name of the action (method) to perform on the target, and the button is the listenee. An EOControlActionAdapter listens for the listenee (the button) to be acted upon (to be pushed). When the listenee is acted upon, the EOControlActionAdapter performs the action on its target (invokes the display group's fetch method).
- NSDisposable
- dispose
- java.awt.event.ActionListener
- actionPerformed
- All methods
- EOControlActionAdapter
- setTarget
public EOControlActionAdapter( Object target, String actionName, Object listenee)
public EOControlActionAdapter( String actionName, Object listenee)
llegalStateException
if listenee is null
..
public void actionPerformed(java.awt.event.ActionEvent event)
null
, this method simply returns. If the target doesn't implement the action method, this method prints an error message and returns.
public void dispose()
public void setTarget(Object target)
© 2001 Apple Computer, Inc. (Last Published April 21, 2001)