Package com.sun.jna.platform.win32.COM
Class COMLateBindingObject
java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.win32.COM.COMInvoker
com.sun.jna.platform.win32.COM.COMBindingBaseObject
com.sun.jna.platform.win32.COM.COMLateBindingObject
- All Implemented Interfaces:
- NativeMapped
Helper class to provide basic COM support.
- Author:
- Tobias Wolf, wolf.tobias@gmx.net
- 
Field SummaryFields inherited from class com.sun.jna.platform.win32.COM.COMBindingBaseObjectLOCALE_SYSTEM_DEFAULT, LOCALE_USER_DEFAULT
- 
Constructor SummaryConstructorsConstructorDescriptionCOMLateBindingObject(IDispatch iDispatch) Instantiates a new cOM object.COMLateBindingObject(Guid.CLSID clsid, boolean useActiveInstance) Instantiates a new cOM object.COMLateBindingObject(String progId, boolean useActiveInstance) Instantiates a new cOM object.
- 
Method SummaryModifier and TypeMethodDescriptionprotected IDispatchgetAutomationProperty(String propertyName) Gets the automation property.protected IDispatchgetAutomationProperty(String propertyName, COMLateBindingObject comObject) Deprecated.protected IDispatchgetAutomationProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) protected IDispatchgetAutomationProperty(String propertyName, IDispatch iDispatch) Deprecated.protected IDispatchgetAutomationProperty(String propertyName, Variant.VARIANT value) Gets the automation property.protected booleangetBooleanProperty(String propertyName) Gets the boolean property.protected DategetDateProperty(String propertyName) Gets the date property.protected intgetIntProperty(String propertyName) Gets the int property.protected shortgetShortProperty(String propertyName) Gets the short property.protected StringgetStringProperty(String propertyName) Gets the string property.protected Variant.VARIANTInvoke.protected Variant.VARIANTinvoke(String methodName, Variant.VARIANT arg) Invoke.protected Variant.VARIANTinvoke(String methodName, Variant.VARIANT[] args) Invoke.protected Variant.VARIANTinvoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2) Invoke.protected Variant.VARIANTinvoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke.protected Variant.VARIANTinvoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke.protected voidinvokeNoReply(String methodName) Invoke no reply.protected voidinvokeNoReply(String methodName, COMLateBindingObject comObject) Deprecated.protected voidinvokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg) protected voidinvokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2) protected voidinvokeNoReply(String methodName, IDispatch dispatch) Deprecated.protected voidinvokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg) protected voidinvokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT[] args) protected voidinvokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2) protected voidinvokeNoReply(String methodName, Variant.VARIANT arg) Invoke no reply.protected voidinvokeNoReply(String methodName, Variant.VARIANT[] args) Invoke no reply.protected voidinvokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2) Invoke no reply.protected voidinvokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke no reply.protected voidinvokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke no reply.protected voidsetProperty(String propertyName, boolean value) Sets the property.protected voidsetProperty(String propertyName, int value) Sets the property.protected voidsetProperty(String propertyName, short value) Sets the property.protected voidsetProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) protected voidsetProperty(String propertyName, Dispatch value) Sets the property.protected voidsetProperty(String propertyName, IDispatch value) protected voidsetProperty(String propertyName, IDispatch iDispatch, Variant.VARIANT value) protected voidsetProperty(String propertyName, Variant.VARIANT value) Sets the property.protected voidsetProperty(String propertyName, String value) Sets the property.protected voidsetProperty(String propertyName, Date value) Sets the property.To variant.Methods inherited from class com.sun.jna.platform.win32.COM.COMBindingBaseObjectcheckFailed, getIDispatch, getIDispatchPointer, getIUnknown, getIUnknownPointer, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, releaseMethods inherited from class com.sun.jna.platform.win32.COM.COMInvoker_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidMethods inherited from class com.sun.jna.PointerTypeequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
- 
Constructor Details- 
COMLateBindingObjectInstantiates a new cOM object.- Parameters:
- iDispatch- the i dispatch
 
- 
COMLateBindingObjectInstantiates a new cOM object.- Parameters:
- clsid- the clsid
- useActiveInstance- the use active instance
 
- 
COMLateBindingObjectInstantiates a new cOM object.- Parameters:
- progId- the prog id
- useActiveInstance- the use active instance
- Throws:
- COMException- the automation exception
 
 
- 
- 
Method Details- 
getAutomationPropertyGets the automation property.- Parameters:
- propertyName- the property name
- Returns:
- the automation property
 
- 
getAutomationPropertyGets the automation property.- Parameters:
- propertyName- the property name
- value- parameter to pass to the getter
- Returns:
- the automation property
 
- 
getAutomationProperty@Deprecated protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject) Deprecated.Gets the automation property.- Parameters:
- propertyName- the property name
- comObject- the com object
- Returns:
- the automation property
 
- 
getAutomationProperty@Deprecated protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) Gets the automation property.- Parameters:
- propertyName- the property name
- comObject- the com object
- value- the value
- Returns:
- the automation property
 
- 
getAutomationPropertyDeprecated.Gets the automation property.- Parameters:
- propertyName- the property name
- iDispatch- the i dispatch
- Returns:
- the automation property
 
- 
getBooleanPropertyGets the boolean property.- Parameters:
- propertyName- the property name
- Returns:
- the boolean property
 
- 
getDatePropertyGets the date property.- Parameters:
- propertyName- the property name
- Returns:
- the date property
 
- 
getIntPropertyGets the int property.- Parameters:
- propertyName- the property name
- Returns:
- the int property
 
- 
getShortPropertyGets the short property.- Parameters:
- propertyName- the property name
- Returns:
- the short property
 
- 
getStringPropertyGets the string property.- Parameters:
- propertyName- the property name
- Returns:
- the string property
 
- 
invokeInvoke.- Parameters:
- methodName- the method name
- Returns:
- the variant
 
- 
invokeInvoke.- Parameters:
- methodName- the method name
- arg- the arg
- Returns:
- the variant
 
- 
invokeInvoke.- Parameters:
- methodName- the method name
- args- the args
- Returns:
- the variant
 
- 
invokeInvoke.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
- Returns:
- the variant
 
- 
invokeprotected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
- arg3- the arg3
- Returns:
- the variant
 
- 
invokeprotected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
- arg3- the arg3
- arg4- the arg4
- Returns:
- the variant
 
- 
invokeNoReplyDeprecated.
- 
invokeNoReplyDeprecated.
- 
invokeNoReplyInvoke no reply.- Parameters:
- methodName- the method name
- arg- the arg
 
- 
invokeNoReply@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg) 
- 
invokeNoReply@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2) 
- 
invokeNoReply@Deprecated protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2) 
- 
invokeNoReply@Deprecated protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg) 
- 
invokeNoReply@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT[] args) 
- 
invokeNoReplyInvoke no reply.- Parameters:
- methodName- the method name
 
- 
invokeNoReplyInvoke no reply.- Parameters:
- methodName- the method name
- args- the args
 
- 
invokeNoReplyInvoke no reply.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
 
- 
invokeNoReplyprotected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke no reply.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
- arg3- the arg3
 
- 
invokeNoReplyprotected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke no reply.- Parameters:
- methodName- the method name
- arg1- the arg1
- arg2- the arg2
- arg3- the arg3
- arg4- the arg4
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setProperty
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setPropertySets the property.- Parameters:
- propertyName- the property name
- value- the value
 
- 
setProperty@Deprecated protected void setProperty(String propertyName, IDispatch iDispatch, Variant.VARIANT value) 
- 
setProperty@Deprecated protected void setProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) 
- 
toVariantTo variant.- Returns:
- the variant
 
 
- 
getAutomationProperty(java.lang.String)