Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.nodes 6.7.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| org.openide.nodes 6.7.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Built on December 7 2006. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.