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(String progId,
boolean useActiveInstance)
Instantiates a new cOM object.
|
Modifier and Type | Method and Description |
---|---|
protected IDispatch |
getAutomationProperty(String propertyName)
Gets the automation property.
|
protected IDispatch |
getAutomationProperty(String propertyName,
COMLateBindingObject comObject)
Gets the automation property.
|
protected IDispatch |
getAutomationProperty(String propertyName,
COMLateBindingObject comObject,
Variant.VARIANT value)
Gets the automation property.
|
protected IDispatch |
getAutomationProperty(String propertyName,
IDispatch iDispatch)
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(String methodName)
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)
Invoke no reply.
|
protected void |
invokeNoReply(String methodName,
COMLateBindingObject comObject,
Variant.VARIANT arg)
Invoke no reply.
|
protected void |
invokeNoReply(String methodName,
COMLateBindingObject comObject,
Variant.VARIANT arg1,
Variant.VARIANT arg2) |
protected void |
invokeNoReply(String methodName,
IDispatch dispatch)
Invoke no reply.
|
protected void |
invokeNoReply(String methodName,
IDispatch dispatch,
Variant.VARIANT arg)
Invoke no reply.
|
protected void |
invokeNoReply(String methodName,
IDispatch dispatch,
Variant.VARIANT[] args)
Invoke no reply.
|
protected void |
invokeNoReply(String methodName,
IDispatch dispatch,
Variant.VARIANT arg1,
Variant.VARIANT arg2)
Invoke no reply.
|
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,
COMLateBindingObject comObject,
Variant.VARIANT value)
Sets the property.
|
protected void |
setProperty(String propertyName,
Date value)
Sets the property.
|
protected void |
setProperty(String propertyName,
IDispatch value)
Sets the property.
|
protected void |
setProperty(String propertyName,
IDispatch iDispatch,
Variant.VARIANT 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,
String value)
Sets the property.
|
Variant.VARIANT |
toVariant()
To variant.
|
checkFailed, getIDispatch, getIDispatchPointer, getIUnknown, getIUnknownPointer, 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(String progId, boolean useActiveInstance) throws COMException
progId
- the prog iduseActiveInstance
- the use active instanceCOMException
- the automation exceptionprotected IDispatch getAutomationProperty(String propertyName)
propertyName
- the property nameprotected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject)
propertyName
- the property namecomObject
- the com objectprotected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)
propertyName
- the property namecomObject
- the com objectvalue
- the valueprotected IDispatch getAutomationProperty(String propertyName, IDispatch iDispatch)
propertyName
- the property nameiDispatch
- the i dispatchprotected boolean getBooleanProperty(String propertyName)
propertyName
- the property nameprotected Date getDateProperty(String propertyName)
propertyName
- the property nameprotected int getIntProperty(String propertyName)
propertyName
- the property nameprotected short getShortProperty(String propertyName)
propertyName
- the property nameprotected String getStringProperty(String propertyName)
propertyName
- the property nameprotected Variant.VARIANT invoke(String methodName)
methodName
- the method nameprotected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg)
methodName
- the method namearg
- the argprotected Variant.VARIANT invoke(String methodName, Variant.VARIANT[] args)
methodName
- the method nameargs
- the argsprotected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)
methodName
- the method namearg1
- the arg1arg2
- the arg2protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3protected Variant.VARIANT invoke(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 invokeNoReply(String methodName, IDispatch dispatch)
methodName
- the method namedispatch
- the dispatchprotected void invokeNoReply(String methodName, COMLateBindingObject comObject)
methodName
- the method namecomObject
- the com objectprotected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg)
methodName
- the method namedispatch
- the dispatcharg
- the argprotected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2)
methodName
- the method namedispatch
- the dispatcharg1
- the arg1arg2
- the arg2protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2)
protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg)
methodName
- the method namecomObject
- the com objectarg
- the argprotected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT[] args)
methodName
- the method namedispatch
- the dispatchargs
- the argsprotected void invokeNoReply(String methodName)
methodName
- the method nameprotected void invokeNoReply(String methodName, Variant.VARIANT arg)
methodName
- the method namearg
- the argprotected void invokeNoReply(String methodName, Variant.VARIANT[] args)
methodName
- the method nameargs
- the argsprotected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)
methodName
- the method namearg1
- the arg1arg2
- the arg2protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)
methodName
- the method namearg1
- the arg1arg2
- the arg2arg3
- the arg3protected void invokeNoReply(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(String propertyName, boolean value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, Date value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, IDispatch value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, int value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, short value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, String value)
propertyName
- the property namevalue
- the valueprotected void setProperty(String propertyName, IDispatch iDispatch, Variant.VARIANT value)
propertyName
- the property nameiDispatch
- the i dispatchvalue
- the valueprotected void setProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)
propertyName
- the property namecomObject
- the com objectvalue
- the valuepublic Variant.VARIANT toVariant()