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

Node.Handle (NetBeans Nodes API) - NetBeans API Javadoc 5.5.1

org.openide.nodes 6.7.31

org.openide.nodes
Interface Node.Handle

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultHandle
Enclosing class:
Node

public static interface Node.Handle
extends Serializable

Serializable node reference. The node should not be serialized directly but via this handle. One can obtain a handle by a call to Node.getHandle().

If that methods returns a non-null value, one can serialize it, and after deserialization use getNode() to obtain the original node.


Field Summary
static long serialVersionUID
          Deprecated. Only public by accident.
 
Method Summary
 Node getNode()
          Reconstitute the node for this handle.
 

Field Detail

serialVersionUID

static final long serialVersionUID
Deprecated. Only public by accident.
See Also:
Constant Field Values
Method Detail

getNode

Node getNode()
             throws IOException
Reconstitute the node for this handle.

Returns:
the node for this handle
Throws:
IOException - if the node cannot be created

org.openide.nodes 6.7.31

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