当前页面:
在线文档首页 >
NetBeans API Javadoc 4.1.0
InstanceSupport.Instance (NetBeans Loaders API) - NetBeans API Javadoc 4.1.0
org.openide.loaders
Class InstanceSupport.Instance
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstanceSupport.Instance
public InstanceSupport.Instance(Object obj)
- Create a new instance cookie.
- Parameters:
obj
- the object to represent in this cookie
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