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

InstanceSupport.Instance (NetBeans Loaders API) - NetBeans API Javadoc 5.5.0

org.openide.loaders 5.9.22

org.openide.loaders
Class InstanceSupport.Instance

java.lang.Object
  extended by org.openide.loaders.InstanceSupport.Instance
All Implemented Interfaces:
InstanceCookie, InstanceCookie.Of, Node.Cookie
Enclosing class:
InstanceSupport

public static class InstanceSupport.Instance
extends Object
implements InstanceCookie.Of

Trivial supporting instance cookie for already-existing objects.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.openide.cookies.InstanceCookie
InstanceCookie.Of
 
Constructor Summary
InstanceSupport.Instance(Object obj)
          Create a new instance cookie.
 
Method Summary
 Class instanceClass()
           
 Object instanceCreate()
           
 String instanceName()
           
 boolean instanceOf(Class type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceSupport.Instance

public InstanceSupport.Instance(Object obj)
Create a new instance cookie.

Parameters:
obj - the object to represent in this cookie
Method Detail

instanceName

public String instanceName()
Specified by:
instanceName in interface InstanceCookie

instanceClass

public Class instanceClass()
Specified by:
instanceClass in interface InstanceCookie

instanceCreate

public Object instanceCreate()
Specified by:
instanceCreate in interface InstanceCookie

instanceOf

public boolean instanceOf(Class type)
Specified by:
instanceOf in interface InstanceCookie.Of

org.openide.loaders 5.9.22

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