com.jniwrapper.win32.ole.types
Class ObjectDescriptor
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.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
Fields inherited from class com.jniwrapper.Structure |
f |
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 |
ObjectDescriptor
public ObjectDescriptor()
ObjectDescriptor
public ObjectDescriptor(ObjectDescriptor that)
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()