public class OleDragDrop
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.util.Map<java.lang.Integer,java.lang.Object> |
clipboard |
| Constructor and Description |
|---|
OleDragDrop() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Remove all objects from clipboard.
|
static java.lang.Object |
getData(int format)
Get object of specified format.
|
static byte[] |
getData(int format,
int id)
Get object of specified format.
|
static boolean |
getFormat(int format)
Check if specified format is supported.
|
static void |
setData(byte[] value,
int format)
Put object of specified format.
|
static void |
setData(java.lang.Object value,
int format)
Put object of specified format.
|
public static void clear()
public static byte[] getData(int format,
int id)
format - clipboard format.id - Source widget ID.public static java.lang.Object getData(int format)
format - clipboard format.public static void setData(byte[] value,
int format)
value - Object valueformat - clipboard format.public static void setData(java.lang.Object value,
int format)
value - Object valueformat - clipboard format.public static boolean getFormat(int format)
format - clipboard format.true if supported, false if not.