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

SubcontextEvent (Registry) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.registry/1 1.8

org.netbeans.api.registry
Class SubcontextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.api.registry.ContextEvent
          extended by org.netbeans.api.registry.SubcontextEvent
All Implemented Interfaces:
Serializable

public final class SubcontextEvent
extends ContextEvent

An event from context indicating that subcontext was added or removed. The getType() can be used to distinguish type of the change.

See Also:
Serialized Form

Field Summary
static int SUBCONTEXT_ADDED
          This event type is for added subcontext.
static int SUBCONTEXT_REMOVED
          This event type is for removed subcontext.
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 String getSubcontextName()
          Name of subcontext which was removed or added.
 int getType()
           
 String toString()
           
 
Methods inherited from class org.netbeans.api.registry.ContextEvent
getContext
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBCONTEXT_ADDED

public static final int SUBCONTEXT_ADDED
This event type is for added subcontext.

See Also:
Constant Field Values

SUBCONTEXT_REMOVED

public static final int SUBCONTEXT_REMOVED
This event type is for removed subcontext.

See Also:
Constant Field Values
Method Detail

getSubcontextName

public String getSubcontextName()
Name of subcontext which was removed or added.

Returns:
subcontext name

getType

public int getType()

toString

public String toString()
Overrides:
toString in class ContextEvent

org.netbeans.modules.registry/1 1.8

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