站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

ConnectionCookie.Listener (NetBeans APIs) - NetBeans API Javadoc 4.1.0


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

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 May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.