public class DataObject extends ComInterface implements IVBDataObject
OleDragDrop
interface except files which return a comhandle of type IVBDataObjectFile COM interface.Modifier and Type | Field and Description |
---|---|
private comhandle |
filesHandle |
parent
includeUnannotatedMethods, LOGGER, methodTable, propertyTable
CF_BITMAP, CF_DIB, CF_EMETAFILE, CF_FILES, CF_METAFILE, CF_PALETTE, CF_RTF, CF_TEXT, COPY, DRAG_AUTOMATIC, DRAG_MANUAL, DROP_AUTOMATIC, DROP_MANUAL, DROP_NONE, ENTER, LEAVE, MOVE, NONE, OVER, SCROLL
Modifier | Constructor and Description |
---|---|
private |
DataObject(GenericWidget parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Remove all objects from clipboard.
|
comhandle |
files()
Get IVBDataObjectFiles interface.
|
memptr |
getData(integer format)
Get object of specified format.
|
memptr |
getData(java.lang.Integer format)
Get object of specified format.
|
logical |
getFormat(integer format)
Check if specified format is supported.
|
logical |
getFormat(java.lang.Integer format)
Check if specified format is supported.
|
static comhandle |
newInstance(GenericWidget parent)
Factory method.
|
void |
setData(character value)
Put object of specified format.
|
void |
setData(memptr value,
integer format)
Put object of specified format.
|
void |
setData(memptr value,
java.lang.Integer format)
Put object of specified format.
|
delete, getActivexName, getName, valid
call, chainCall, checkParameters, deref, destroy, getComObjectClass, getComObjectInstance, getParentControlFrame, getParentProcedure, getProperty, id, id, init, marshal, ref, setName, setParentControlFrame, setProperty, unknown, unmarshal, unmarshal
private comhandle filesHandle
private DataObject(GenericWidget parent)
parent
- Parent widget.public static comhandle newInstance(GenericWidget parent)
parent
- Parent widget.public comhandle files()
files
in interface IVBDataObject
DataObjectFiles
interface comhandlepublic void clear()
clear
in interface IVBDataObject
public memptr getData(integer format)
getData
in interface IVBDataObject
format
- clipboard format.unknown
if not found.public memptr getData(java.lang.Integer format)
getData
in interface IVBDataObject
format
- clipboard format.unknown
if not found.public void setData(memptr value, integer format)
setData
in interface IVBDataObject
value
- Object valueformat
- clipboard format.public void setData(memptr value, java.lang.Integer format)
setData
in interface IVBDataObject
value
- Object valueformat
- clipboard format.public void setData(character value)
setData
in interface IVBDataObject
value
- Object valuepublic logical getFormat(integer format)
getFormat
in interface IVBDataObject
format
- clipboard format.true
if supported, false
if not.public logical getFormat(java.lang.Integer format)
getFormat
in interface IVBDataObject
format
- clipboard format.true
if supported, false
if not.