au.com.swz.swttocom.swt
Class VariantEnumeration
java.lang.Object
au.com.swz.swttocom.swt.AbstractEnumeration<org.eclipse.swt.ole.win32.Variant>
au.com.swz.swttocom.swt.VariantEnumeration
- All Implemented Interfaces:
- IDisposeableResource, java.util.Enumeration<org.eclipse.swt.ole.win32.Variant>
public class VariantEnumeration
- extends AbstractEnumeration<org.eclipse.swt.ole.win32.Variant>
A Java wrapper class for the COM IEnumVARIANT interface.
The IEnumVARIANT interface provides a method for enumerating a
collection of variants, including heterogeneous collections of
objects and intrinsic types. Callers of this interface do not
need to know the specific type (or types) of the elements in
the collection.
- Author:
- Mark Richter
|
Constructor Summary |
VariantEnumeration(org.eclipse.swt.internal.ole.win32.IEnumVARIANT ienumvariant)
Constructs a new VariantEnumeration that can be used to enumerate
the type in the specified IEnumVARIANT interface. |
|
Method Summary |
org.eclipse.swt.ole.win32.Variant |
create(org.eclipse.swt.ole.win32.Variant v)
Overides the base class Abstract method to return the Variant
being enumerated. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VariantEnumeration
public VariantEnumeration(org.eclipse.swt.internal.ole.win32.IEnumVARIANT ienumvariant)
- Constructs a new VariantEnumeration that can be used to enumerate
the type in the specified IEnumVARIANT interface.
- Parameters:
ienumvariant - the interface that contains the type to be enumerated.
create
public org.eclipse.swt.ole.win32.Variant create(org.eclipse.swt.ole.win32.Variant v)
- Overides the base class Abstract method to return the Variant
being enumerated.
- Specified by:
create in class AbstractEnumeration<org.eclipse.swt.ole.win32.Variant>
- Parameters:
v - the variant that contains the type to be unmarshalled.
- Returns:
- the Variant being enumerated.