Package | Description |
---|---|
com4j |
com4j runtime.
|
com4j.stdole |
com4j binding for stdole library.
|
com4j.tlbimp.def |
com4j binding for type library.
|
com4j.util |
misc.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
GUID clsid)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
String clsid)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.createInstance(Class<T> primaryInterface,
String clsid,
int clsctx)
Creates a new COM object of the given CLSID and returns
it in a wrapped interface.
|
static <T extends Com4jObject> |
COM4J.getActiveObject(Class<T> primaryInterface,
GUID clsid)
Gets an already running object from the running object table.
|
static <T extends Com4jObject> |
COM4J.getActiveObject(Class<T> primaryInterface,
String clsid)
Gets an already object from the running object table.
|
static <T extends Com4jObject> |
COM4J.getObject(Class<T> primaryInterface,
String fileName,
String progId)
Returns a reference to a COM object primarily by loading a file.
|
<T extends Com4jObject> |
Com4jObject.is(Class<T> comInterface)
Checks if this COM object implements a given interface.
|
<T extends Com4jObject> |
Variant.object(Class<T> type)
Reads this VARIANT as a COM interface pointer.
|
<T extends Com4jObject> |
Com4jObject.queryInterface(Class<T> comInterface)
Invokes the queryInterface of the wrapped COM object and attempts
to obtain a different interface of the same object.
|
static <T extends Com4jObject> |
COM4J.wrap(Class<T> primaryInterface,
long ptr)
Wraps an externally obtained interface pointer into a COM wrapper object.
|
Modifier and Type | Method and Description |
---|---|
static Com4jObject |
COM4J.loadTypeLibrary(File typeLibraryFile)
Loads a type library from a given file and returns its IUnknown.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Com4jObject> |
ROT.iterator()
Returns an iterator over the elements of the running object table
|
Modifier and Type | Method and Description |
---|---|
void |
ComThread.addLiveObject(Com4jObject r)
Adds a
Com4jObject to the live objects of this ComThread |
void |
ComObjectListener.onNewObject(Com4jObject obj)
Called when a new COM object is created.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IEnumVARIANT
This interface was generated using tlbimp on stdole2.tlb
|
interface |
IFont
Font Object
|
interface |
IFontDisp
This interface was generated using tlbimp on stdole2.tlb
|
interface |
IPicture
Picture Object
|
interface |
IPictureDisp
This interface was generated using tlbimp on stdole2.tlb
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICoClassDecl
CoClass declaration
|
interface |
IConstant |
interface |
IDispInterfaceDecl |
interface |
IEnumDecl |
interface |
IImplementedInterfaceDecl
interface implemented by a co-class
|
interface |
IInterface
Commonality between
IInterfaceDecl and IDispInterfaceDecl . |
interface |
IInterfaceDecl |
interface |
IMethod |
interface |
IParam |
interface |
IPrimitiveType |
interface |
IProperty |
interface |
IPtrType |
interface |
ISafeArrayType |
interface |
IType |
interface |
ITypeDecl |
interface |
ITypedefDecl |
interface |
IWTypeLib |
Modifier and Type | Field and Description |
---|---|
protected List<WeakReference<Com4jObject>> |
ComObjectCollector.objects
The collected
Com4jObject s |
Modifier and Type | Method and Description |
---|---|
void |
ComObjectCollector.onNewObject(Com4jObject obj) |
void |
ComObjectCollector.remove(Com4jObject obj)
Removes the given object from the list of
Com4jObject s that
this class keeps. |
Copyright © 2014. All rights reserved.