org.openide.cookies
Class ConnectionCookie.Event
java.lang.Object
|
+--java.util.EventObject
|
+--org.openide.cookies.ConnectionCookie.Event
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- ConnectionCookie
- public static class ConnectionCookie.Event
- extends EventObject
Event that is fired to listeners.
- See Also:
- Serialized Form
ConnectionCookie.Event
public ConnectionCookie.Event(Node n,
ConnectionCookie.Type t)
- Parameters:
n
- the node that produced the actiont
- type of the event
getNode
public Node getNode()
- Getter for the node that produced the action.
The node can be used to obtain additional information like cookies, etc.
- Returns:
- the node
getType
public ConnectionCookie.Type getType()
- Getter for the type of the event.
There can be more types of events and the listener can compare
if two events are of the same type by using type1.equals (type2)
- Returns:
- type of the event
Built on February 22 2001. | Portions Copyright 1997-2000 Sun Microsystems, Inc. All rights reserved.