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

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

org.netbeans.modules.registry/1 1.8

org.netbeans.api.registry
Class ContextEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.netbeans.api.registry.ContextEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AttributeEvent, BindingEvent, SubcontextEvent

public abstract class ContextEvent
extends EventObject

Abstract ancestor of all context events. It adds getContext() method returning source context of the event.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 Context getContext()
          Context on which this event happened.
 String toString()
           
 
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
 

Method Detail

getContext

public Context getContext()
Context on which this event happened.

Returns:
context on which the modification was done

toString

public String toString()
Overrides:
toString in class EventObject

org.netbeans.modules.registry/1 1.8

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