|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jinterop.dcom.win32.JIOleFrame
public final class JIOleFrame
Frame container for Ole controls.
Field Summary | |
---|---|
static java.lang.String |
IID_CommandTarget
|
Fields inherited from interface org.jinterop.dcom.win32.IJIOleInPlaceFrame |
---|
IID |
Constructor Summary | |
---|---|
JIOleFrame(JISession session,
int frameIdentifier,
IJIComObject inplaceObject)
Creates a frame object. |
Method Summary | |
---|---|
void |
addRef()
Increases the reference count on the actual COM server by 5 (currently hardcoded). |
void |
contextSensitiveHelp(boolean fEnterMode)
|
void |
enableModeless(boolean fEnable)
|
JIStruct |
getBorder()
|
int |
getWindow()
|
JIStruct |
insertMenus(int hmenuShared,
JIStruct lpMenuWidths)
typedef struct tagOleMenuGroupWidths { LONG width[6]; } OLEMENUGROUPWIDTHS, * LPOLEMENUGROUPWIDTHS; |
IJIUnknown |
queryInterface(java.lang.String iid)
Used to retrieve interface pointers based on iid . |
void |
release()
Decreases the reference count on the actual COM server by 5 (currently hardcoded). |
void |
removeMenus(int hmenuShared)
|
void |
requestBorderSpace(JIStruct pborderwidths)
|
void |
setActiveObject(JIInterfacePointer pActiveObject,
JIString pszObjName)
|
void |
setBorderSpace(JIStruct pborderwidths)
|
void |
setMenu(int hmenuShared,
int holemenu,
int hwndActiveObject)
|
void |
setStatusText(JIString pszStatusText)
|
void |
testShowWindow()
|
void |
translateAccelerator(JIStruct lpmsg,
int wID)
typedef struct tagMSG { // msg HWND hwnd; UINT message; WPARAM wParam; LPARAM lParam; DWORD time; POINT pt; } MSG; |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IID_CommandTarget
Constructor Detail |
---|
public JIOleFrame(JISession session, int frameIdentifier, IJIComObject inplaceObject) throws JIException
session
- frameIdentifier
- uniquely identifies the parent frame (Swing JFrame).inplaceObject
- object to be activated here.
JIException
Method Detail |
---|
public void testShowWindow() throws JIException
JIException
public void enableModeless(boolean fEnable) throws JIException
enableModeless
in interface IJIOleInPlaceFrame
JIException
public JIStruct insertMenus(int hmenuShared, JIStruct lpMenuWidths) throws JIException
IJIOleInPlaceFrame
insertMenus
in interface IJIOleInPlaceFrame
JIException
public void removeMenus(int hmenuShared) throws JIException
removeMenus
in interface IJIOleInPlaceFrame
JIException
public void setMenu(int hmenuShared, int holemenu, int hwndActiveObject) throws JIException
setMenu
in interface IJIOleInPlaceFrame
JIException
public void setStatusText(JIString pszStatusText) throws JIException
setStatusText
in interface IJIOleInPlaceFrame
JIException
public void translateAccelerator(JIStruct lpmsg, int wID) throws JIException
IJIOleInPlaceFrame
translateAccelerator
in interface IJIOleInPlaceFrame
JIException
public JIStruct getBorder() throws JIException
getBorder
in interface IJIOleInPlaceUIWindow
JIException
public void requestBorderSpace(JIStruct pborderwidths) throws JIException
requestBorderSpace
in interface IJIOleInPlaceUIWindow
JIException
public void setActiveObject(JIInterfacePointer pActiveObject, JIString pszObjName) throws JIException
setActiveObject
in interface IJIOleInPlaceUIWindow
JIException
public void setBorderSpace(JIStruct pborderwidths) throws JIException
setBorderSpace
in interface IJIOleInPlaceUIWindow
JIException
public int getWindow() throws JIException
getWindow
in interface IJIOleWindow
JIException
public void contextSensitiveHelp(boolean fEnterMode) throws JIException
contextSensitiveHelp
in interface IJIOleWindow
JIException
public IJIUnknown queryInterface(java.lang.String iid) throws JIException
IJIUnknown
iid
.
queryInterface
in interface IJIUnknown
iid
- String representation of the IID (clsid).
JIException
public void addRef() throws JIException
IJIUnknown
Increases the reference count on the actual COM
server by 5 (currently hardcoded).
The developer should refrain from calling this API, as referencing is maintained internally by the
system. If the release
is not called in conjunction with addRef
then the
COM Instance will not get garbage collected at the server.
addRef
in interface IJIUnknown
JIException
public void release() throws JIException
IJIUnknown
Decreases the reference count on the actual COM
server by 5 (currently hardcoded).
The developer should refrain from calling this API, as referencing is maintained internally by the
system. If the release
is not called in conjunction with addRef
then the
COM Instance will not get garbage collected at the server.
release
in interface IJIUnknown
JIException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |