com.jniwrapper.win32.ole.types
Class ObjectDescriptor

java.lang.Object
  extended bycom.jniwrapper.Parameter
      extended bycom.jniwrapper.Structure
          extended bycom.jniwrapper.win32.ole.types.ObjectDescriptor
All Implemented Interfaces:
AlignmentAwareParameter, CompositeParameter

public class ObjectDescriptor
extends Structure

This class represents the data structure used for the CF_OBJECTDESRIPTOR and CF_LINKSRCDESCRIPTOR file formats. This class correponds to OBJECTDESCRIPTOR native structure.

See Also:
Microsoft COM SDK documentation

Field Summary
 
Fields inherited from class com.jniwrapper.Structure
f
 
Fields inherited from class com.jniwrapper.Parameter
LICENSE_TYPE, V
 
Constructor Summary
ObjectDescriptor()
           
ObjectDescriptor(ObjectDescriptor that)
           
 
Method Summary
 java.lang.Object clone()
           
 CLSID getClsid()
           
 Point getDragOrigin()
          Offset in HIMETRIC units from the upper-left corner of the object where a drag-and-drop operation was initiated.
 DvAspect getDrawAspect()
           
 int getFullUserTypeName()
           
 Size getObjectSize()
           
 int getSize()
           
 int getSrcOfCopy()
          Returns offset, in bytes, from the beginning of the data structure to the null-terminated string that specifies the source of the transfer.
 OleMisc getStatus()
           
 void setFullUserTypeName(int value)
           
 void setSize(int value)
           
 void setSrcOfCopy(int value)
           
 
Methods inherited from class com.jniwrapper.Structure
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
 
Methods inherited from class com.jniwrapper.Parameter
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDescriptor

public ObjectDescriptor()

ObjectDescriptor

public ObjectDescriptor(ObjectDescriptor that)
Method Detail

getSize

public int getSize()

setSize

public void setSize(int value)

getClsid

public CLSID getClsid()

getDrawAspect

public DvAspect getDrawAspect()

getObjectSize

public Size getObjectSize()
Returns:
True extent of the object (without cropping or scaling) in HIMETRIC units.

getDragOrigin

public Point getDragOrigin()
Offset in HIMETRIC units from the upper-left corner of the object where a drag-and-drop operation was initiated.

Returns:
value corresponding to pointl field of the native structure.

getStatus

public OleMisc getStatus()

getFullUserTypeName

public int getFullUserTypeName()

setFullUserTypeName

public void setFullUserTypeName(int value)

getSrcOfCopy

public int getSrcOfCopy()
Returns offset, in bytes, from the beginning of the data structure to the null-terminated string that specifies the source of the transfer.

Returns:
value corresponding to dwSrcOfCopy member of the native structure.

setSrcOfCopy

public void setSrcOfCopy(int value)

clone

public java.lang.Object clone()