## Uses of Class
com.jacob.com.Variant

- Packages that use Variant
  Package | Description
  --- | ---
  com.jacob.activeX |
  com.jacob.com |

- - ### Uses of Variant in com.jacob.activeX

    Methods in com.jacob.activeX that return Variant
    Modifier and Type | Method and Description
    --- | ---
    `Variant` | ActiveXComponent.`getProperty(java.lang.String propertyName)` retrieves a property and returns it as a Variant
    `Variant` | ActiveXComponent.`invoke(java.lang.String callAction)` makes a dispatch call for the passed in action and no parameter
    `Variant` | ActiveXComponent.`invoke(java.lang.String actionCommand, boolean parameter)` makes a dispatch call to the passed in action with a single boolean parameter
    `Variant` | ActiveXComponent.`invoke(java.lang.String actionCommand, int parameter)` makes a dispatch call to the passed in action with a single int parameter
    `Variant` | ActiveXComponent.`invoke(java.lang.String actionCommand, int parameter1, int parameter2)` makes a dispatch call to the passed in action with two integer parameters (this was put in for some application)
    `Variant` | ActiveXComponent.`invoke(java.lang.String actionCommand, java.lang.String parameter)` invokes a single parameter call on this dispatch that returns no value
    `Variant` | ActiveXComponent.`invoke(java.lang.String actionCommand, java.lang.String parameter1, int parameter2)` makes a dispatch call to the passed in action with a string and integer parameter (this was put in for some application)
    `Variant` | ActiveXComponent.`invoke(java.lang.String name, Variant... args)` This is really a cover for call(String,Variant[]) that should be eliminated call with a variable number of args mainly used for quit.
    `Variant` | ActiveXInvocationProxy.`invoke(java.lang.String methodName, Variant[] targetParameters)`

    Methods in com.jacob.activeX with parameters of type Variant
    Modifier and Type | Method and Description
    --- | ---
    `Variant` | ActiveXComponent.`invoke(java.lang.String name, Variant... args)` This is really a cover for call(String,Variant[]) that should be eliminated call with a variable number of args mainly used for quit.
    `Variant` | ActiveXInvocationProxy.`invoke(java.lang.String methodName, Variant[] targetParameters)`
    `ActiveXComponent` | ActiveXComponent.`invokeGetComponent(java.lang.String callAction, Variant... parameters)` makes a dispatch call for the passed in action and single parameter
    `void` | ActiveXComponent.`logCallbackEvent(java.lang.String description, Variant[] args)` used by the doc and application listeners to get intelligent logging
    `void` | ActiveXComponent.`setProperty(java.lang.String propertyName, Variant arg)` sets a property on this object

  - ### Uses of Variant in com.jacob.com

    Subclasses of Variant in com.jacob.com
    Modifier and Type | Class and Description
    --- | ---
    `class` | `VariantViaEvent` a public class to variant that is used to track which variant objects are created by event callbacks This is solely used for that purpose.

    Fields in com.jacob.com declared as Variant
    Modifier and Type | Field and Description
    --- | ---
    `static Variant` | Variant.`DEFAULT` Use this constant for optional parameters
    `static Variant` | Variant.`VT_FALSE` Use for true/false variant parameters
    `static Variant` | Variant.`VT_MISSING` Same than `DEFAULT`
    `static Variant` | Variant.`VT_TRUE` Use for true/false variant parameters

    Methods in com.jacob.com that return Variant
    Modifier and Type | Method and Description
    --- | ---
    `static Variant` | Dispatch.`call(Dispatch dispatchTarget, int dispid)`
    `static Variant` | Dispatch.`call(Dispatch dispatchTarget, int dispid, java.lang.Object... attributes)`
    `static Variant` | Dispatch.`call(Dispatch dispatchTarget, java.lang.String name)`
    `static Variant` | Dispatch.`call(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... attributes)`
    `static Variant` | Dispatch.`callN_CaseSensitive(Dispatch dispatchTarget, java.lang.String name, java.lang.Object[] values)` not implemented yet
    `static Variant` | Dispatch.`callN(Dispatch dispatchTarget, int dispID, java.lang.Object... args)`
    `static Variant` | Dispatch.`callN(Dispatch dispatchTarget, java.lang.String name, java.lang.Object... args)`
    `Variant` | Variant.`changeType(short in)` Cover for native method so we can cover it.
    `Variant` | Variant.`cloneIndirect()` Deprecated. No longer used
    `static Variant` | Dispatch.`get_CaseSensitive(Dispatch dispatchTarget, java.lang.String name)` not implemented yet
    `static Variant` | Dispatch.`get(Dispatch dispatchTarget, int dispid)` Cover for call to underlying invokev()
    `static Variant` | Dispatch.`get(Dispatch dispatchTarget, java.lang.String name)` Cover for call to underlying invokev()
    `Variant` | InvocationProxy.`getVariant()` used by EventProxy.cpp to create variant objects in the right thread
    `Variant` | SafeArray.`getVariant(int sa_idx)` variant access
    `Variant` | SafeArray.`getVariant(int[] indices)` get Variant value from N-dimensional array
    `Variant` | SafeArray.`getVariant(int sa_idx1, int sa_idx2)` variant access
    `Variant[]` | Variant.`getVariantArray()` Deprecated. superseded by SafeArray
    `Variant[]` | Variant.`getVariantArrayRef()` Deprecated. superseded by SafeArray
    `static Variant` | Dispatch.`invoke(Dispatch dispatchTarget, int dispID, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invoke(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invoke(Dispatch dispatchTarget, java.lang.String name, int wFlags, java.lang.Object[] oArg, int[] uArgErr)`
    `Variant` | InvocationProxyAllVariants.`invoke(java.lang.String methodName, Variant[] targetParameters)`
    `abstract Variant` | InvocationProxy.`invoke(java.lang.String methodName, Variant[] targetParameters)` The method actually invoked by EventProxy.cpp.
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, int dispID, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr, int wFlagsEx)`
    `Variant` | EnumVariant.`Next()` Deprecated. use nextElement() instead
    `Variant` | EnumVariant.`nextElement()` Implements java.util.Enumeration
    `protected static Variant[]` | VariantUtilities.`objectsToVariants(java.lang.Object[] arrayOfObjectsToBeConverted)` converts an array of objects into an array of Variants by repeatedly calling obj2Variant(Object)
    `protected static Variant` | VariantUtilities.`objectToVariant(java.lang.Object objectToBeMadeIntoVariant)` Map arguments based on msdn documentation.
    `Variant` | Variant.`toVariant()` Deprecated. superseded by "this"
    `Variant[]` | Variant.`toVariantArray()` Deprecated. superseded by SafeArray
    `Variant[]` | SafeArray.`toVariantArray()` Retrieves the data from the array cast to a Java data type

    Methods in com.jacob.com with parameters of type Variant
    Modifier and Type | Method and Description
    --- | ---
    `void` | SafeArray.`fromVariantArray(Variant[] ja)` populate the safe array from the passed in array of data
    `void` | SafeArray.`getVariants(int sa_idx, int nelems, Variant[] ja, int ja_start)` variant access
    `Variant` | InvocationProxyAllVariants.`invoke(java.lang.String methodName, Variant[] targetParameters)`
    `abstract Variant` | InvocationProxy.`invoke(java.lang.String methodName, Variant[] targetParameters)` The method actually invoked by EventProxy.cpp.
    `static void` | Dispatch.`invokeSubv(Dispatch dispatchTarget, int dispID, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static void` | Dispatch.`invokeSubv(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static void` | Dispatch.`invokeSubv(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, int dispID, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int dispID, int lcid, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr)`
    `static Variant` | Dispatch.`invokev(Dispatch dispatchTarget, java.lang.String name, int wFlags, Variant[] vArg, int[] uArgErr, int wFlagsEx)`
    `int` | EnumVariant.`Next(Variant[] receiverArray)` This should be private and wrapped to protect JNI layer.
    `protected boolean` | Variant.`objectIsAConstant(Variant pVariant)` returns true if the passed in Variant is a constant that should not be freed
    `protected static void` | VariantUtilities.`populateVariant(Variant targetVariant, java.lang.Object pValueObject, boolean fByRef)` Populates a variant object from a java object.
    `void` | Variant.`putVariantArray(Variant[] in)` Deprecated. superseded by SafeArray
    `void` | Variant.`putVariantArrayRef(Variant[] in)` Deprecated. superseded by SafeArray
    `void` | SafeArray.`setVariant(int[] indices, Variant v)` set Variant value in N-dimensional array
    `void` | SafeArray.`setVariant(int sa_idx1, int sa_idx2, Variant c)` variant access
    `void` | SafeArray.`setVariant(int sa_idx, Variant c)` variant access
    `void` | SafeArray.`setVariants(int sa_idx, int nelems, Variant[] ja, int ja_start)` variant access
    `protected static java.lang.Object` | VariantUtilities.`variantToObject(Variant sourceData)` Convert a JACOB Variant value to a Java object (type conversions).

http://jacob-project.sourceforge.net