org.openide.nodes 6.7.22

org.openide.cookies
Interface ConnectionCookie.Listener

All Superinterfaces:
EventListener, Node.Cookie
Enclosing interface:
ConnectionCookie

public static interface ConnectionCookie.Listener
extends Node.Cookie, EventListener

Cookie that must be provided by a node that is willing to register itself as a listener to a ConnectionCookie.


Method Summary
 void notify(ConnectionCookie.Event ev)
          Notifies that the an event happended.
 

Method Detail

notify

void notify(ConnectionCookie.Event ev)
            throws IllegalArgumentException,
                   ClassCastException
Notifies that the an event happended.

Parameters:
ev - event that describes the action
Throws:
IllegalArgumentException - if the event is not of valid type, then the caller should call the listener no more
ClassCastException - if the event is not of valid type, then the caller should call the listener no more

org.openide.nodes 6.7.22

Built on July 11 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.