org.openide.cookies
Interface ConnectionCookie.Listener

All Superinterfaces:
EventListener, Node.Cookie
Enclosing class:
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

public 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


Built on December 12 2001.  |  Portions Copyright 1997-2001 Sun Microsystems, Inc. All rights reserved.