public class COMLateBindingObject extends COMBindingBaseObject
LOCALE_SYSTEM_DEFAULT, LOCALE_USER_DEFAULT
Constructor and Description |
---|
COMLateBindingObject(Guid.CLSID clsid,
boolean useActiveInstance)
Instantiates a new cOM object.
|
COMLateBindingObject(IDispatch iDispatch)
Instantiates a new cOM object.
|
COMLateBindingObject(java.lang.String progId,
boolean useActiveInstance)
Instantiates a new cOM object.
|
Modifier and Type | Method and Description |
---|---|
protected IDispatch |
getAutomationProperty(java.lang.String propertyName)
Gets the automation property.
|
protected IDispatch |
getAutomationProperty(java.lang.String propertyName,
COMLateBindingObject comObject)
Deprecated.
|
protected IDispatch |
getAutomationProperty(java.lang.String propertyName,
COMLateBindingObject comObject,
Variant.VARIANT value)
|
protected IDispatch |
getAutomationProperty(java.lang.String propertyName,
IDispatch iDispatch)
Deprecated.
|
protected IDispatch |
getAutomationProperty(java.lang.String propertyName,
Variant.VARIANT value)
Gets the automation property.
|
protected boolean |
getBooleanProperty(java.lang.String propertyName)
Gets the boolean property.
|
protected java.util.Date |
getDateProperty(java.lang.String propertyName)
Gets the date property.
|
protected int |
getIntProperty(java.lang.String propertyName)
Gets the int property.
|
protected short |
getShortProperty(java.lang.String propertyName)
Gets the short property.
|
protected java.lang.String |
getStringProperty(java.lang.String propertyName)
Gets the string property.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName)
Invoke.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName,
Variant.VARIANT arg)
Invoke.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName,
Variant.VARIANT[] args)
Invoke.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2)
Invoke.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2,
Variant.VARIANT arg3)
Invoke.
|
protected Variant.VARIANT |
invoke(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2,
Variant.VARIANT arg3,
Variant.VARIANT arg4)
Invoke.
|
protected void |
invokeNoReply(java.lang.String methodName)
Invoke no reply.
|
protected void |
invokeNoReply(java.lang.String methodName,
COMLateBindingObject comObject)
Deprecated.
|
protected void |
invokeNoReply(java.lang.String methodName,
COMLateBindingObject comObject,
Variant.VARIANT arg)
|
protected void |
invokeNoReply(java.lang.String methodName,
COMLateBindingObject comObject,
Variant.VARIANT arg1,
Variant.VARIANT arg2)
|
protected void |
invokeNoReply(java.lang.String methodName,
IDispatch dispatch)
Deprecated.
|
protected void |
invokeNoReply(java.lang.String methodName,
IDispatch dispatch,
Variant.VARIANT arg)
|
protected void |
invokeNoReply(java.lang.String methodName,
IDispatch dispatch,
Variant.VARIANT[] args)
|
protected void |
invokeNoReply(java.lang.String methodName,
IDispatch dispatch,
Variant.VARIANT arg1,
Variant.VARIANT arg2)
|
protected void |
invokeNoReply(java.lang.String methodName,
Variant.VARIANT arg)
Invoke no reply.
|
protected void |
invokeNoReply(java.lang.String methodName,
Variant.VARIANT[] args)
Invoke no reply.
|
protected void |
invokeNoReply(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2)
Invoke no reply.
|
protected void |
invokeNoReply(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2,
Variant.VARIANT arg3)
Invoke no reply.
|
protected void |
invokeNoReply(java.lang.String methodName,
Variant.VARIANT arg1,
Variant.VARIANT arg2,
Variant.VARIANT arg3,
Variant.VARIANT arg4)
Invoke no reply.
|
protected void |
setProperty(java.lang.String propertyName,
boolean value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
COMLateBindingObject comObject,
Variant.VARIANT value)
|
protected void |
setProperty(java.lang.String propertyName,
java.util.Date value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
Dispatch value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
IDispatch value)
|
protected void |
setProperty(java.lang.String propertyName,
IDispatch iDispatch,
Variant.VARIANT value)
|
protected void |
setProperty(java.lang.String propertyName,
int value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
short value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
java.lang.String value)
Sets the property.
|
protected void |
setProperty(java.lang.String propertyName,
Variant.VARIANT value)
Sets the property.
|
Variant.VARIANT |
toVariant()
To variant.
|
checkFailed, getIDispatch, getIDispatchPointer, getIUnknown, getIUnknownPointer, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, oleMethod, release
_invokeNativeInt, _invokeNativeObject, _invokeNativeVoid
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
public COMLateBindingObject(IDispatch iDispatch)
iDispatch
- the i dispatchpublic COMLateBindingObject(Guid.CLSID clsid, boolean useActiveInstance)
clsid
- the clsiduseActiveInstance
- the use active instancepublic COMLateBindingObject(java.lang.String progId, boolean useActiveInstance) throws COMException
progId
- the prog iduseActiveInstance
- the use active instanceCOMException
- the automation exceptionprotected IDispatch getAutomationProperty(java.lang.String propertyName)
propertyName
- the property nameprotected IDispatch getAutomationProperty(java.lang.String propertyName, Variant.VARIANT value)
propertyName
- the property namevalue
- parameter to pass to the getter@Deprecated protected IDispatch getAutomationProperty(java.lang.String propertyName, COMLateBindingObject comObject)
getAutomationProperty(java.lang.String)
propertyName
- the property namecomObject
- the com object@Deprecated protected IDispatch getAutomationProperty(java.lang.String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)
propertyName
- the property namecomObject
- the com objectvalue
- the value@Deprecated protected IDispatch getAutomationProperty(java.lang.String propertyName, IDispatch iDispatch)
getAutomationProperty(java.lang.String)
propertyName
- the property nameiDispatch
- the i dispatchprotected boolean getBooleanProperty(java.lang.String propertyName)
propertyName
- the property nameprotected java.util.Date getDateProperty(java.lang.String propertyName)
propertyName
- the property nameprotected int getIntProperty(java.lang.String propertyName)
propertyName
- the property nameprotected short getShortProperty(java.lang.String propertyName)
propertyName
- the property nameprotected java.lang.String getStringProperty(java.lang.String propertyName)
propertyName
- the property nameprotected Variant.VARIANT invoke(java.lang.String methodName)
methodName
- the method nameprotected Variant.VARIANT invoke(java.lang.String methodName, Variant.VARIANT arg)
methodName
- the method namearg
- the argprotected Variant.VARIANT invoke(java.lang.String methodName, Variant.VARIANT[] args)
methodName
- the method nameargs
- the argsprotected Variant.VARIANT invoke(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)
methodName
- the method namearg1
- the arg1arg2
- the arg2protected Variant.VARIANT invoke(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3protected Variant.VARIANT invoke(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3arg4
- the arg4@Deprecated protected void invokeNoReply(java.lang.String methodName, IDispatch dispatch)
invokeNoReply(java.lang.String)
@Deprecated protected void invokeNoReply(java.lang.String methodName, COMLateBindingObject comObject)
invokeNoReply(java.lang.String)
protected void invokeNoReply(java.lang.String methodName, Variant.VARIANT arg)
methodName
- the method namearg
- the arg@Deprecated protected void invokeNoReply(java.lang.String methodName, IDispatch dispatch, Variant.VARIANT arg)
@Deprecated protected void invokeNoReply(java.lang.String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2)
@Deprecated protected void invokeNoReply(java.lang.String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2)
@Deprecated protected void invokeNoReply(java.lang.String methodName, COMLateBindingObject comObject, Variant.VARIANT arg)
@Deprecated protected void invokeNoReply(java.lang.String methodName, IDispatch dispatch, Variant.VARIANT[] args)
protected void invokeNoReply(java.lang.String methodName)
methodName
- the method nameprotected void invokeNoReply(java.lang.String methodName, Variant.VARIANT[] args)
methodName
- the method nameargs
- the argsprotected void invokeNoReply(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)
methodName
- the method namearg1
- the arg1arg2
- the arg2protected void invokeNoReply(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3protected void invokeNoReply(java.lang.String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3arg4
- the arg4protected void setProperty(java.lang.String propertyName, boolean value)
propertyName
- the property namevalue
- the valueprotected void setProperty(java.lang.String propertyName, java.util.Date value)
propertyName
- the property namevalue
- the valueprotected void setProperty(java.lang.String propertyName, Dispatch value)
propertyName
- the property namevalue
- the value@Deprecated protected void setProperty(java.lang.String propertyName, IDispatch value)
protected void setProperty(java.lang.String propertyName, int value)
propertyName
- the property namevalue
- the valueprotected void setProperty(java.lang.String propertyName, short value)
propertyName
- the property namevalue
- the valueprotected void setProperty(java.lang.String propertyName, java.lang.String value)
propertyName
- the property namevalue
- the valueprotected void setProperty(java.lang.String propertyName, Variant.VARIANT value)
propertyName
- the property namevalue
- the value@Deprecated protected void setProperty(java.lang.String propertyName, IDispatch iDispatch, Variant.VARIANT value)
@Deprecated protected void setProperty(java.lang.String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)
public Variant.VARIANT toVariant()