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

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


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

public 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

public 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

public 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.


Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.