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

ClipboardEvent (NetBeans Utilities API) - NetBeans API Javadoc 5.5.1

org.openide.util 6.8.31

org.openide.util.datatransfer
Class ClipboardEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.openide.util.datatransfer.ClipboardEvent
All Implemented Interfaces:
Serializable

public final class ClipboardEvent
extends EventObject

Event describing change of clipboard content.

See Also:
ExClipboard, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Method Summary
 void consume()
          Marks this event consumed.
 ExClipboard getClipboard()
          Get the clipboard where operation occurred.
 boolean isConsumed()
          Has this event been consumed?
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClipboard

public ExClipboard getClipboard()
Get the clipboard where operation occurred.

Returns:
the clipboard

consume

public void consume()
Marks this event consumed. Can be used by listeners that are sure that their own reaction to the event is really significant, to inform other listeners that they need not do anything.


isConsumed

public boolean isConsumed()
Has this event been consumed?

Returns:
true if it has

org.openide.util 6.8.31

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