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

ConnectionCookie.Type (NetBeans Nodes API) - NetBeans API Javadoc 5.5.1

org.openide.nodes 6.7.31

org.openide.cookies
Interface ConnectionCookie.Type

All Superinterfaces:
Serializable
Enclosing interface:
ConnectionCookie

public static interface ConnectionCookie.Type
extends Serializable

Interface describing cookie type of event a cookie can produce.


Method Summary
 Class getEventClass()
          The class that is passed into the listener's notify method when an event of this type is fired.
 boolean isPersistent()
          Getter whether the registration to this type of event is persistent or is valid only till the source disappears (the IDE shutdowns).
 boolean overlaps(ConnectionCookie.Type type)
          Test whether the specified type could be accepted by this type.
 

Method Detail

getEventClass

Class getEventClass()
The class that is passed into the listener's notify method when an event of this type is fired.

Returns:
event class

isPersistent

boolean isPersistent()
Getter whether the registration to this type of event is persistent or is valid only till the source disappears (the IDE shutdowns).


overlaps

boolean overlaps(ConnectionCookie.Type type)
Test whether the specified type could be accepted by this type. This method is similar to equals(Object) method, so default implementation could be delegated to it.

Returns:
true if type is similar to this type.

org.openide.nodes 6.7.31

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