org.openide.nodes 7.16.1

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 7.16.1

Built on September 19 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.