Package com.sun.jna.platform.win32.COM
Klasse 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
- Alle implementierten Schnittstellen:
NativeMapped
Helper class to provide basic COM support.
- Autor:
- Tobias Wolf, [email protected]
-
Feldübersicht
Von Klasse geerbte Felder com.sun.jna.platform.win32.COM.COMBindingBaseObject
LOCALE_SYSTEM_DEFAULT, LOCALE_USER_DEFAULT
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCOMLateBindingObject
(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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected IDispatch
getAutomationProperty
(String propertyName) Gets the automation property.protected IDispatch
getAutomationProperty
(String propertyName, COMLateBindingObject comObject) Veraltet.protected IDispatch
getAutomationProperty
(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) protected IDispatch
getAutomationProperty
(String propertyName, IDispatch iDispatch) Veraltet.protected IDispatch
getAutomationProperty
(String propertyName, Variant.VARIANT value) Gets the automation property.protected boolean
getBooleanProperty
(String propertyName) Gets the boolean property.protected Date
getDateProperty
(String propertyName) Gets the date property.protected int
getIntProperty
(String propertyName) Gets the int property.protected short
getShortProperty
(String propertyName) Gets the short property.protected String
getStringProperty
(String propertyName) Gets the string property.protected Variant.VARIANT
Invoke.protected Variant.VARIANT
invoke
(String methodName, Variant.VARIANT arg) Invoke.protected Variant.VARIANT
invoke
(String methodName, Variant.VARIANT[] args) Invoke.protected Variant.VARIANT
invoke
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2) Invoke.protected Variant.VARIANT
invoke
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke.protected Variant.VARIANT
invoke
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke.protected void
invokeNoReply
(String methodName) Invoke no reply.protected void
invokeNoReply
(String methodName, COMLateBindingObject comObject) Veraltet.protected void
invokeNoReply
(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg) protected void
invokeNoReply
(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2) protected void
invokeNoReply
(String methodName, IDispatch dispatch) Veraltet.protected void
invokeNoReply
(String methodName, IDispatch dispatch, Variant.VARIANT arg) protected void
invokeNoReply
(String methodName, IDispatch dispatch, Variant.VARIANT[] args) protected void
invokeNoReply
(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2) protected void
invokeNoReply
(String methodName, Variant.VARIANT arg) Invoke no reply.protected void
invokeNoReply
(String methodName, Variant.VARIANT[] args) Invoke no reply.protected void
invokeNoReply
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2) Invoke no reply.protected void
invokeNoReply
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke no reply.protected void
invokeNoReply
(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke no reply.protected void
setProperty
(String propertyName, boolean value) Sets the property.protected void
setProperty
(String propertyName, int value) Sets the property.protected void
setProperty
(String propertyName, short value) Sets the property.protected void
setProperty
(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) protected void
setProperty
(String propertyName, Dispatch value) Sets the property.protected void
setProperty
(String propertyName, IDispatch value) protected void
setProperty
(String propertyName, IDispatch iDispatch, Variant.VARIANT value) protected void
setProperty
(String propertyName, Variant.VARIANT value) Sets the property.protected void
setProperty
(String propertyName, String value) Sets the property.protected void
setProperty
(String propertyName, Date value) Sets the property.To variant.Von Klasse geerbte Methoden com.sun.jna.platform.win32.COM.COMBindingBaseObject
checkFailed, getIDispatch, getIDispatchPointer, getIUnknown, getIUnknownPointer, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, release
Von Klasse geerbte Methoden com.sun.jna.platform.win32.COM.COMInvoker
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
Von Klasse geerbte Methoden com.sun.jna.PointerType
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
-
Konstruktordetails
-
COMLateBindingObject
Instantiates a new cOM object.- Parameter:
iDispatch
- the i dispatch
-
COMLateBindingObject
Instantiates a new cOM object.- Parameter:
clsid
- the clsiduseActiveInstance
- the use active instance
-
COMLateBindingObject
Instantiates a new cOM object.- Parameter:
progId
- the prog iduseActiveInstance
- the use active instance- Löst aus:
COMException
- the automation exception
-
-
Methodendetails
-
getAutomationProperty
Gets the automation property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the automation property
-
getAutomationProperty
Gets the automation property.- Parameter:
propertyName
- the property namevalue
- parameter to pass to the getter- Gibt zurück:
- the automation property
-
getAutomationProperty
@Deprecated protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject) Veraltet.Gets the automation property.- Parameter:
propertyName
- the property namecomObject
- the com object- Gibt zurück:
- the automation property
-
getAutomationProperty
@Deprecated protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) Gets the automation property.- Parameter:
propertyName
- the property namecomObject
- the com objectvalue
- the value- Gibt zurück:
- the automation property
-
getAutomationProperty
Veraltet.Gets the automation property.- Parameter:
propertyName
- the property nameiDispatch
- the i dispatch- Gibt zurück:
- the automation property
-
getBooleanProperty
Gets the boolean property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the boolean property
-
getDateProperty
Gets the date property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the date property
-
getIntProperty
Gets the int property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the int property
-
getShortProperty
Gets the short property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the short property
-
getStringProperty
Gets the string property.- Parameter:
propertyName
- the property name- Gibt zurück:
- the string property
-
invoke
Invoke.- Parameter:
methodName
- the method name- Gibt zurück:
- the variant
-
invoke
Invoke.- Parameter:
methodName
- the method namearg
- the arg- Gibt zurück:
- the variant
-
invoke
Invoke.- Parameter:
methodName
- the method nameargs
- the args- Gibt zurück:
- the variant
-
invoke
Invoke.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2- Gibt zurück:
- the variant
-
invoke
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3- Gibt zurück:
- the variant
-
invoke
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3arg4
- the arg4- Gibt zurück:
- the variant
-
invokeNoReply
Veraltet.- Parameter:
methodName
-dispatch
-
-
invokeNoReply
Veraltet.- Parameter:
methodName
-comObject
-
-
invokeNoReply
Invoke no reply.- Parameter:
methodName
- the method namearg
- the arg
-
invokeNoReply
@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg) - Parameter:
methodName
-dispatch
-arg
-
-
invokeNoReply
@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2) - Parameter:
methodName
-dispatch
-arg1
-arg2
-
-
invokeNoReply
@Deprecated protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2) - Parameter:
methodName
-comObject
-arg1
-arg2
-
-
invokeNoReply
@Deprecated protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg) - Parameter:
methodName
-comObject
-arg
-
-
invokeNoReply
@Deprecated protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT[] args) - Parameter:
methodName
-dispatch
-args
-
-
invokeNoReply
Invoke no reply.- Parameter:
methodName
- the method name
-
invokeNoReply
Invoke no reply.- Parameter:
methodName
- the method nameargs
- the args
-
invokeNoReply
Invoke no reply.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2
-
invokeNoReply
protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3) Invoke no reply.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3
-
invokeNoReply
protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4) Invoke no reply.- Parameter:
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3arg4
- the arg4
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
- Parameter:
propertyName
-value
-
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
Sets the property.- Parameter:
propertyName
- the property namevalue
- the value
-
setProperty
@Deprecated protected void setProperty(String propertyName, IDispatch iDispatch, Variant.VARIANT value) - Parameter:
propertyName
-iDispatch
-value
-
-
setProperty
@Deprecated protected void setProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value) - Parameter:
propertyName
-comObject
-value
-
-
toVariant
To variant.- Gibt zurück:
- the variant
-
getAutomationProperty(java.lang.String)