当前页面:
在线文档首页 >
NetBeans API Javadoc 5.0.0
ConnectionCookie.Listener (NetBeans Nodes API) - NetBeans API Javadoc 5.0.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.
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