|
|||||||||
| Home >> All >> dr >> [ clipboard overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
dr.clipboard
Class ClipboardEvent

java.lang.Objectdr.clipboard.ClipboardEvent
- All Implemented Interfaces:
- ClipTypes
- public class ClipboardEvent
- extends java.lang.Object
- implements ClipTypes
- extends java.lang.Object
A semantic event which indicates that clipboard event occured. Objects that implements the ClipboardEventListener interface and that is registered as listener gets this ClipboardEvent when a event occured.
| Field Summary | |
private java.lang.Object |
clipboardOwner
|
private boolean |
consumed
|
private java.lang.Object |
data
|
private int |
eventType
|
| Fields inherited from interface dr.clipboard.ClipTypes |
CLEAR, COPY, CUT, PASTE |
| Constructor Summary | |
ClipboardEvent(int eventType,
java.lang.Object data,
java.lang.Object clipboardOwner)
Creates a new ClipboardEvent instance. |
|
| Method Summary | |
java.lang.Object |
getClipboardOwner()
Returns the clipboard owner. |
java.lang.Object |
getData()
Returns the clipped data. |
int |
getEventType()
Returns the event type. |
java.lang.Object |
getSource()
Returns the Clipboard instance that invoked the event. |
boolean |
isConsumed()
Checks the consumed flag. |
void |
setConsumed(boolean consumed)
Sets the consumed flag. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
eventType
private int eventType
data
private java.lang.Object data
clipboardOwner
private java.lang.Object clipboardOwner
consumed
private boolean consumed
| Constructor Detail |
ClipboardEvent
public ClipboardEvent(int eventType,
java.lang.Object data,
java.lang.Object clipboardOwner)
- Creates a new ClipboardEvent instance.
| Method Detail |
getEventType
public int getEventType()
- Returns the event type.
getData
public java.lang.Object getData()
- Returns the clipped data.
getClipboardOwner
public java.lang.Object getClipboardOwner()
- Returns the clipboard owner.
isConsumed
public boolean isConsumed()
- Checks the consumed flag.
setConsumed
public void setConsumed(boolean consumed)
- Sets the consumed flag.
getSource
public java.lang.Object getSource()
- Returns the Clipboard instance that invoked the event.
|
|||||||||
| Home >> All >> dr >> [ clipboard overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
dr.clipboard.ClipboardEvent