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

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

 

org.openide.nodes
Interface Node.Handle

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultHandle
Enclosing interface:
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

public static final long serialVersionUID
Deprecated. Only public by accident.

See Also:
Constant Field Values
Method Detail

getNode

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

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

 

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