|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAutomationObject
The IAutomationObject interface provides mechanism to access and retrieve information about an object's methods and properties.
Method Summary | |
---|---|
void |
dispose()
Disposes the automation object. |
int[] |
getIDsOfNames(java.lang.String[] names)
Returns the integer values (IDs) that are associated with the specified names by the IDispatch implementor. |
java.lang.String |
getLastErrorSWT()
Returns a description of the last error encountered. |
org.eclipse.swt.ole.win32.Variant |
getProperty(int dispIdMember)
Returns the value of the property specified by the dispIdMember. |
org.eclipse.swt.ole.win32.Variant |
getProperty(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg)
Returns the value of the property specified by the dispIdMember. |
org.eclipse.swt.ole.win32.Variant |
getProperty(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg,
int[] rgdispidNamedArgs)
Returns the value of the property specified by the dispIdMember. |
org.eclipse.swt.ole.win32.Variant |
invoke(int dispIdMember)
Invokes a method on the OLE Object; the method has no parameters. |
org.eclipse.swt.ole.win32.Variant |
invoke(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg)
Invokes a method on the OLE Object; the method has no optional parameters. |
org.eclipse.swt.ole.win32.Variant |
invoke(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg,
int[] rgdispidNamedArgs)
Invokes a method on the OLE Object; the method has optional parameters. |
void |
invokeNoReply(int dispIdMember)
Invokes a method on the OLE Object; the method has no parameters. |
void |
invokeNoReply(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg)
Invokes a method on the OLE Object; the method has no optional parameters. |
void |
invokeNoReply(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg,
int[] rgdispidNamedArgs)
Invokes a method on the OLE Object; the method has optional parameters. |
boolean |
isDisposed()
Determines if this automation object has been disposed. |
boolean |
setProperty(int dispIdMember,
org.eclipse.swt.ole.win32.Variant rgvarg)
Sets the property specified by the dispIdMember to a new value. |
boolean |
setProperty(int dispIdMember,
org.eclipse.swt.ole.win32.Variant[] rgvarg)
Sets the property specified by the dispIdMember to a new value. |
Method Detail |
---|
int[] getIDsOfNames(java.lang.String[] names)
names
- an array of names for which you require the identifiers
void dispose()
boolean isDisposed()
org.eclipse.swt.ole.win32.Variant getProperty(int dispIdMember)
dispIdMember
- the ID of the property as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNames
org.eclipse.swt.ole.win32.Variant getProperty(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg)
dispIdMember
- the ID of the property as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.
org.eclipse.swt.ole.win32.Variant getProperty(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg, int[] rgdispidNamedArgs)
dispIdMember
- the ID of the property as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.rgdispidNamedArgs
- an array of identifiers for the arguments specified in rgvarg; the
parameter IDs must be in the same order as their corresponding values;
all arguments must have an identifier - identifiers can be obtained using
OleAutomation.getIDsOfNames
org.eclipse.swt.ole.win32.Variant invoke(int dispIdMember)
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNames
org.eclipse.swt.ole.win32.Variant invoke(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg)
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.
org.eclipse.swt.ole.win32.Variant invoke(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg, int[] rgdispidNamedArgs)
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.rgdispidNamedArgs
- an array of identifiers for the arguments specified in rgvarg; the
parameter IDs must be in the same order as their corresponding values;
all arguments must have an identifier - identifiers can be obtained using
OleAutomation.getIDsOfNames
void invokeNoReply(int dispIdMember)
public void invoke(int dispIdMember)
.
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNames
org.eclipse.swt.SWTException
- void invokeNoReply(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg)
public void invoke(int dispIdMember, Variant[] rgvarg)
.
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.
org.eclipse.swt.SWTException
- void invokeNoReply(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg, int[] rgdispidNamedArgs)
public void invoke(int dispIdMember, Variant[] rgvarg, int[] rgdispidNamedArgs)
.
dispIdMember
- the ID of the method as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.rgdispidNamedArgs
- an array of identifiers for the arguments specified in rgvarg; the
parameter IDs must be in the same order as their corresponding values;
all arguments must have an identifier - identifiers can be obtained using
OleAutomation.getIDsOfNames
org.eclipse.swt.SWTException
- boolean setProperty(int dispIdMember, org.eclipse.swt.ole.win32.Variant rgvarg)
dispIdMember
- the ID of the property as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- the new value of the property
boolean setProperty(int dispIdMember, org.eclipse.swt.ole.win32.Variant[] rgvarg)
dispIdMember
- the ID of the property as specified by the IDL of the ActiveX Control; the
value for the ID can be obtained using OleAutomation.getIDsOfNamesrgvarg
- an array of arguments for the method. All arguments are considered to be
read only unless the Variant is a By Reference Variant type.
java.lang.String getLastErrorSWT()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |