Top Description Fields Constructors Methods
com.sun.jna.platform.win32.COM

public Class COMLateBindingObject

extends COMBindingBaseObject
Class Inheritance
Imports
java.util.Date, com.sun.jna.platform.win32.Guid.CLSID, .OleAuto, .Variant.VARIANT

Helper class to provide basic COM support.
Author
Tobias Wolf, [email protected]

Field Summary

Inherited from com.sun.jna.platform.win32.COM.COMBindingBaseObject:
LOCALE_SYSTEM_DEFAULTLOCALE_USER_DEFAULT

Constructor Summary

AccessConstructor and Description
public
COMLateBindingObject(IDispatch
the i dispatch
iDispatch
)

Instantiates a new cOM object.

public
COMLateBindingObject(Guid.CLSID
the clsid
clsid
,
boolean
the use active instance
useActiveInstance
)

Instantiates a new cOM object.

public
COMLateBindingObject(String
the prog id
progId
,
boolean
the use active instance
useActiveInstance
)

Instantiates a new cOM object.

Method Summary

Modifier and TypeMethod and Description
protected IDispatch

Returns:

the automation property
getAutomationProperty
(String
the property name
propertyName
)

Gets the automation property.

protected IDispatch

Returns:

the automation property
getAutomationProperty
(String
the property name
propertyName
,
Variant.VARIANT
parameter to pass to the getter
value
)

Gets the automation property.

protected IDispatch

Returns:

the automation property
getAutomationProperty
(String
the property name
propertyName
,
COMLateBindingObject
the com object
comObject
)

Gets the automation property.
protected IDispatch

Returns:

the automation property
getAutomationProperty
(String
the property name
propertyName
,
COMLateBindingObject
the com object
comObject
,
Variant.VARIANT
the value
value
)

Gets the automation property.
protected IDispatch

Returns:

the automation property
getAutomationProperty
(String
the property name
propertyName
,
IDispatch
the i dispatch
iDispatch
)

Gets the automation property.
protected boolean

Returns:

the boolean property
getBooleanProperty
(String
the property name
propertyName
)

Gets the boolean property.

protected Date

Returns:

the date property
getDateProperty
(String
the property name
propertyName
)

Gets the date property.

protected int

Returns:

the int property
getIntProperty
(String
the property name
propertyName
)

Gets the int property.

protected short

Returns:

the short property
getShortProperty
(String
the property name
propertyName
)

Gets the short property.

protected String

Returns:

the string property
getStringProperty
(String
the property name
propertyName
)

Gets the string property.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
)

Invoke.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
,
Variant.VARIANT
the arg
arg
)

Invoke.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
,
Variant.VARIANT[]
the args
args
)

Invoke.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
)

Invoke.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
,
Variant.VARIANT
the arg3
arg3
)

Invoke.

protected Variant.VARIANT

Returns:

the variant
invoke
(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
,
Variant.VARIANT
the arg3
arg3
,
Variant.VARIANT
the arg4
arg4
)

Invoke.

protected void
invokeNoReply(String methodName, IDispatch dispatch)

protected void
protected void
invokeNoReply(String
the method name
methodName
,
Variant.VARIANT
the arg
arg
)

Invoke no reply.

protected void
protected void
protected void
protected void
protected void
protected void
invokeNoReply(String
the method name
methodName
)

Invoke no reply.

protected void
invokeNoReply(String
the method name
methodName
,
Variant.VARIANT[]
the args
args
)

Invoke no reply.

protected void
invokeNoReply(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
)

Invoke no reply.

protected void
invokeNoReply(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
,
Variant.VARIANT
the arg3
arg3
)

Invoke no reply.

protected void
invokeNoReply(String
the method name
methodName
,
Variant.VARIANT
the arg1
arg1
,
Variant.VARIANT
the arg2
arg2
,
Variant.VARIANT
the arg3
arg3
,
Variant.VARIANT
the arg4
arg4
)

Invoke no reply.

protected void
setProperty(String
the property name
propertyName
,
boolean
the value
value
)

Sets the property.

protected void
setProperty(String
the property name
propertyName
,
Date
the value
value
)

Sets the property.

protected void
setProperty(String
the property name
propertyName
,
Dispatch
the value
value
)

Sets the property.

protected void
protected void
setProperty(String
the property name
propertyName
,
int
the value
value
)

Sets the property.

protected void
setProperty(String
the property name
propertyName
,
short
the value
value
)

Sets the property.

protected void
setProperty(String
the property name
propertyName
,
String
the value
value
)

Sets the property.

protected void
setProperty(String
the property name
propertyName
,
Variant.VARIANT
the value
value
)

Sets the property.

protected void
protected void
public Variant.VARIANT

Returns:

the variant
toVariant
()

To variant.

Inherited from com.sun.jna.platform.win32.COM.COMBindingBaseObject:
checkFailedgetIDispatchgetIDispatchPointergetIUnknowngetIUnknownPointeroleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodoleMethodrelease

Constructor Detail

COMLateBindingObjectback to summary
public COMLateBindingObject(IDispatch iDispatch)

Instantiates a new cOM object.

Parameters
iDispatch:IDispatch

the i dispatch

COMLateBindingObjectback to summary
public COMLateBindingObject(Guid.CLSID clsid, boolean useActiveInstance)

Instantiates a new cOM object.

Parameters
clsid:Guid.CLSID

the clsid

useActiveInstance:boolean

the use active instance

COMLateBindingObjectback to summary
public COMLateBindingObject(String progId, boolean useActiveInstance) throws COMException

Instantiates a new cOM object.

Parameters
progId:String

the prog id

useActiveInstance:boolean

the use active instance

Exceptions
COMException:
the automation exception

Method Detail

getAutomationPropertyback to summary
protected IDispatch getAutomationProperty(String propertyName)

Gets the automation property.

Parameters
propertyName:String

the property name

Returns:IDispatch

the automation property

getAutomationPropertyback to summary
protected IDispatch getAutomationProperty(String propertyName, Variant.VARIANT value)

Gets the automation property.

Parameters
propertyName:String

the property name

value:Variant.VARIANT

parameter to pass to the getter

Returns:IDispatch

the automation property

getAutomationPropertyback to summary
protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject)

Gets the automation property.

Parameters
propertyName:String

the property name

comObject:COMLateBindingObject

the com object

Returns:IDispatch

the automation property

Annotations
@Deprecated
getAutomationPropertyback to summary
protected IDispatch getAutomationProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)

Gets the automation property.

Parameters
propertyName:String

the property name

comObject:COMLateBindingObject

the com object

value:Variant.VARIANT

the value

Returns:IDispatch

the automation property

Annotations
@Deprecated
getAutomationPropertyback to summary
protected IDispatch getAutomationProperty(String propertyName, IDispatch iDispatch)

Gets the automation property.

Parameters
propertyName:String

the property name

iDispatch:IDispatch

the i dispatch

Returns:IDispatch

the automation property

Annotations
@Deprecated
getBooleanPropertyback to summary
protected boolean getBooleanProperty(String propertyName)

Gets the boolean property.

Parameters
propertyName:String

the property name

Returns:boolean

the boolean property

getDatePropertyback to summary
protected Date getDateProperty(String propertyName)

Gets the date property.

Parameters
propertyName:String

the property name

Returns:Date

the date property

getIntPropertyback to summary
protected int getIntProperty(String propertyName)

Gets the int property.

Parameters
propertyName:String

the property name

Returns:int

the int property

getShortPropertyback to summary
protected short getShortProperty(String propertyName)

Gets the short property.

Parameters
propertyName:String

the property name

Returns:short

the short property

getStringPropertyback to summary
protected String getStringProperty(String propertyName)

Gets the string property.

Parameters
propertyName:String

the property name

Returns:String

the string property

invokeback to summary
protected Variant.VARIANT invoke(String methodName)

Invoke.

Parameters
methodName:String

the method name

Returns:Variant.VARIANT

the variant

invokeback to summary
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg)

Invoke.

Parameters
methodName:String

the method name

arg:Variant.VARIANT

the arg

Returns:Variant.VARIANT

the variant

invokeback to summary
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT[] args)

Invoke.

Parameters
methodName:String

the method name

args:Variant.VARIANT[]

the args

Returns:Variant.VARIANT

the variant

invokeback to summary
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)

Invoke.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

Returns:Variant.VARIANT

the variant

invokeback to summary
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)

Invoke.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

arg3:Variant.VARIANT

the arg3

Returns:Variant.VARIANT

the variant

invokeback to summary
protected Variant.VARIANT invoke(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4)

Invoke.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

arg3:Variant.VARIANT

the arg3

arg4:Variant.VARIANT

the arg4

Returns:Variant.VARIANT

the variant

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, IDispatch dispatch)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, COMLateBindingObject comObject)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, Variant.VARIANT arg)

Invoke no reply.

Parameters
methodName:String

the method name

arg:Variant.VARIANT

the arg

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT arg1, Variant.VARIANT arg2)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg1, Variant.VARIANT arg2)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, COMLateBindingObject comObject, Variant.VARIANT arg)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName, IDispatch dispatch, Variant.VARIANT[] args)
Annotations
@Deprecated
invokeNoReplyback to summary
protected void invokeNoReply(String methodName)

Invoke no reply.

Parameters
methodName:String

the method name

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, Variant.VARIANT[] args)

Invoke no reply.

Parameters
methodName:String

the method name

args:Variant.VARIANT[]

the args

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2)

Invoke no reply.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3)

Invoke no reply.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

arg3:Variant.VARIANT

the arg3

invokeNoReplyback to summary
protected void invokeNoReply(String methodName, Variant.VARIANT arg1, Variant.VARIANT arg2, Variant.VARIANT arg3, Variant.VARIANT arg4)

Invoke no reply.

Parameters
methodName:String

the method name

arg1:Variant.VARIANT

the arg1

arg2:Variant.VARIANT

the arg2

arg3:Variant.VARIANT

the arg3

arg4:Variant.VARIANT

the arg4

setPropertyback to summary
protected void setProperty(String propertyName, boolean value)

Sets the property.

Parameters
propertyName:String

the property name

value:boolean

the value

setPropertyback to summary
protected void setProperty(String propertyName, Date value)

Sets the property.

Parameters
propertyName:String

the property name

value:Date

the value

setPropertyback to summary
protected void setProperty(String propertyName, Dispatch value)

Sets the property.

Parameters
propertyName:String

the property name

value:Dispatch

the value

setPropertyback to summary
protected void setProperty(String propertyName, IDispatch value)
Annotations
@Deprecated
setPropertyback to summary
protected void setProperty(String propertyName, int value)

Sets the property.

Parameters
propertyName:String

the property name

value:int

the value

setPropertyback to summary
protected void setProperty(String propertyName, short value)

Sets the property.

Parameters
propertyName:String

the property name

value:short

the value

setPropertyback to summary
protected void setProperty(String propertyName, String value)

Sets the property.

Parameters
propertyName:String

the property name

value:String

the value

setPropertyback to summary
protected void setProperty(String propertyName, Variant.VARIANT value)

Sets the property.

Parameters
propertyName:String

the property name

value:Variant.VARIANT

the value

setPropertyback to summary
protected void setProperty(String propertyName, IDispatch iDispatch, Variant.VARIANT value)
Annotations
@Deprecated
setPropertyback to summary
protected void setProperty(String propertyName, COMLateBindingObject comObject, Variant.VARIANT value)
Annotations
@Deprecated
toVariantback to summary
public Variant.VARIANT toVariant()

To variant.

Returns:Variant.VARIANT

the variant

Annotations
@SuppressWarnings:deprecation