org.openide.util.datatransfer
Class ClipboardEvent

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

public final class ClipboardEvent
extends java.util.EventObject

Event describing change of clipboard content.

Version:
0.11, May 22, 1997
Author:
Jaroslav Tulach
See Also:
ExClipboard, Serialized Form

Field Summary
(package private) static long serialVersionUID
          generated Serialized Version UID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ClipboardEvent(ExClipboard c)
           
 
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
 

Field Detail

serialVersionUID

static final long serialVersionUID
generated Serialized Version UID

See Also:
Constant Field Values
Constructor Detail

ClipboardEvent

ClipboardEvent(ExClipboard c)
Parameters:
c - the clipboard
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