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 |
parentincludeUnannotatedMethods, LOGGER, methodTable, propertyTableCF_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, validcall, chainCall, checkParameters, deref, destroy, getComObjectClass, getComObjectInstance, getParentControlFrame, getParentProcedure, getProperty, id, id, init, marshal, ref, setName, setParentControlFrame, setProperty, unknown, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallowDeleteprivate comhandle filesHandle
private DataObject(GenericWidget parent)
parent - Parent widget.public static comhandle newInstance(GenericWidget parent)
parent - Parent widget.public comhandle files()
files in interface IVBDataObjectDataObjectFiles interface comhandlepublic void clear()
clear in interface IVBDataObjectpublic memptr getData(integer format)
getData in interface IVBDataObjectformat - clipboard format.unknown if not found.public memptr getData(java.lang.Integer format)
getData in interface IVBDataObjectformat - clipboard format.unknown if not found.public void setData(memptr value, integer format)
setData in interface IVBDataObjectvalue - Object valueformat - clipboard format.public void setData(memptr value, java.lang.Integer format)
setData in interface IVBDataObjectvalue - Object valueformat - clipboard format.public void setData(character value)
setData in interface IVBDataObjectvalue - Object valuepublic logical getFormat(integer format)
getFormat in interface IVBDataObjectformat - clipboard format.true if supported, false if not.public logical getFormat(java.lang.Integer format)
getFormat in interface IVBDataObjectformat - clipboard format.true if supported, false if not.