Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
MRJContext Class Reference

#include <MRJContext.h>

Collaboration diagram for MRJContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MRJContext (MRJSession *session, MRJPluginInstance *instance)
 ~MRJContext ()
void processAppletTag ()
Boolean createContext ()
JMAWTContextRef getContextRef ()
JMAppletViewerRef getViewerRef ()
void setProxyInfoForURL (char *url, JMProxyType proxyType)
Boolean appletLoaded ()
Boolean loadApplet ()
Boolean isActive ()
void suspendApplet ()
void resumeApplet ()
jobject getApplet ()
void idle (short modifiers)
void drawApplet ()
void printApplet (nsPluginWindow *printingWindow)
void activate (Boolean active)
void resume (Boolean inFront)
void click (const EventRecord *event, MRJFrame *frame)
void keyPress (long message, short modifiers)
void keyRelease (long message, short modifiers)
void setWindow (nsPluginWindow *pluginWindow)
Boolean inspectWindow ()
MRJFramefindFrame (WindowRef window)
GrafPtr getPort ()
void showFrames ()
void hideFrames ()
void releaseFrames ()
void setDocumentBase (const char *documentBase)
const char * getDocumentBase ()
void setAppletHTML (const char *appletHTML, nsPluginTagType tagType)
const char * getAppletHTML ()
void setSecurityContext (MRJSecurityContext *context)
MRJSecurityContextgetSecurityContext ()
 MRJContext (MRJSession *session, MRJPluginInstance *instance)
 ~MRJContext ()
void processAppletTag ()
Boolean createContext ()
JMAWTContextRef getContextRef ()
JMAppletViewerRef getViewerRef ()
Boolean appletLoaded ()
Boolean loadApplet ()
Boolean isActive ()
void suspendApplet ()
void resumeApplet ()
jobject getApplet ()
nsIPluginInstancegetInstance ()
nsIPluginInstancePeergetPeer ()
Boolean handleEvent (EventRecord *event)
void idle (short modifiers)
void drawApplet ()
void printApplet (nsPluginWindow *printingWindow)
void activate (Boolean active)
void resume (Boolean inFront)
void click (const EventRecord *event, MRJFrame *frame)
void keyPress (long message, short modifiers)
void keyRelease (long message, short modifiers)
void scrollingBegins ()
void scrollingEnds ()
void setWindow (nsPluginWindow *pluginWindow)
Boolean inspectWindow ()
MRJFramefindFrame (WindowRef window)
GrafPtr getPort ()
void showFrames ()
void hideFrames ()
void releaseFrames ()
void setDocumentBase (const char *documentBase)
const char * getDocumentBase ()
void setAppletHTML (const char *appletHTML, nsPluginTagType tagType)
const char * getAppletHTML ()
void setSecurityContext (MRJSecurityContext *context)
MRJSecurityContextgetSecurityContext ()
void showURL (const char *url, const char *target)

Private Member Functions

void localToFrame (Point *pt)
void ensureValidPort ()
void synchronizeClipping ()
void synchronizeVisibility ()
void showURL (const char *url, const char *target)
void showStatus (const char *message)
SInt16 allocateMenuID (Boolean isSubmenu)
OSStatus createFrame (JMFrameRef frameRef, JMFrameKind kind, const Rect *initialBounds, Boolean resizeable)
MRJPagefindPage (const MRJPageAttributes &attributes)
void localToFrame (Point *pt)
void ensureValidPort ()
void synchronizeClipping ()
void synchronizeVisibility ()
SInt16 allocateMenuID (Boolean isSubmenu)
OSStatus createFrame (JMFrameRef frameRef, JMFrameKind kind, const Rect *initialBounds, Boolean resizeable)
MRJPagefindPage (const MRJPageAttributes &attributes)
void setProxyInfoForURL (char *url, JMProxyType proxyType)
OSStatus installEventHandlers (WindowRef window)
OSStatus removeEventHandlers (WindowRef window)

Static Private Member Functions

static OSStatus requestFrame (JMAWTContextRef context, JMFrameRef newFrame, JMFrameKind kind, const Rect *initialBounds, Boolean resizeable, JMFrameCallbacks *callbacks)
static OSStatus releaseFrame (JMAWTContextRef context, JMFrameRef oldFrame)
static SInt16 getUniqueMenuID (JMAWTContextRef context, Boolean isSubmenu)
static void exceptionOccurred (JMAWTContextRef context, JMTextRef exceptionName, JMTextRef exceptionMsg, JMTextRef stackTrace)
static void showDocument (JMAppletViewerRef viewer, JMTextRef urlString, JMTextRef windowName)
static void setStatusMessage (JMAppletViewerRef viewer, JMTextRef statusMsg)
static CGrafPtr getEmptyPort ()
static OSStatus requestFrame (JMAWTContextRef context, JMFrameRef newFrame, JMFrameKind kind, const Rect *initialBounds, Boolean resizeable, JMFrameCallbacks *callbacks)
static OSStatus releaseFrame (JMAWTContextRef context, JMFrameRef oldFrame)
static SInt16 getUniqueMenuID (JMAWTContextRef context, Boolean isSubmenu)
static void exceptionOccurred (JMAWTContextRef context, JMTextRef exceptionName, JMTextRef exceptionMsg, JMTextRef stackTrace)
static CGrafPtr getEmptyPort ()

Private Attributes

MRJPluginInstancemPluginInstance
MRJSessionmSession
JMSessionRef mSessionRef
nsIPluginInstancePeermPeer
JMAppletLocatorRef mLocator
JMAWTContextRef mContext
JMAppletViewerRef mViewer
JMFrameRef mViewerFrame
Boolean mIsActive
nsPluginPoint mCachedOrigin
nsPluginRect mCachedClipRect
RgnHandle mPluginClipping
nsPluginWindowmPluginWindow
CGrafPtr mPluginPort
char * mDocumentBase
char * mAppletHTML
MRJPagemPage
MRJSecurityContextmSecurityContext
Boolean mIsFocused
Boolean mIsVisible

Detailed Description

Definition at line 73 of file MRJContext.h.


Constructor & Destructor Documentation

MRJContext::MRJContext ( MRJSession session,
MRJPluginInstance instance 
)
MRJContext::MRJContext ( MRJSession session,
MRJPluginInstance instance 
)

Member Function Documentation

SInt16 MRJContext::allocateMenuID ( Boolean  isSubmenu) [private]
SInt16 MRJContext::allocateMenuID ( Boolean  isSubmenu) [private]
void MRJContext::click ( const EventRecord *  event,
MRJFrame frame 
)
void MRJContext::click ( const EventRecord *  event,
MRJFrame frame 
)

Here is the caller graph for this function:

OSStatus MRJContext::createFrame ( JMFrameRef  frameRef,
JMFrameKind  kind,
const Rect *  initialBounds,
Boolean  resizeable 
) [private]
OSStatus MRJContext::createFrame ( JMFrameRef  frameRef,
JMFrameKind  kind,
const Rect *  initialBounds,
Boolean  resizeable 
) [private]
static void MRJContext::exceptionOccurred ( JMAWTContextRef  context,
JMTextRef  exceptionName,
JMTextRef  exceptionMsg,
JMTextRef  stackTrace 
) [static, private]
static void MRJContext::exceptionOccurred ( JMAWTContextRef  context,
JMTextRef  exceptionName,
JMTextRef  exceptionMsg,
JMTextRef  stackTrace 
) [static, private]
MRJFrame* MRJContext::findFrame ( WindowRef  window)

Here is the caller graph for this function:

MRJFrame* MRJContext::findFrame ( WindowRef  window)
MRJPage* MRJContext::findPage ( const MRJPageAttributes attributes) [private]
MRJPage* MRJContext::findPage ( const MRJPageAttributes attributes) [private]

Here is the caller graph for this function:

JMAWTContextRef MRJContext::getContextRef ( )

Here is the caller graph for this function:

JMAWTContextRef MRJContext::getContextRef ( )

Here is the caller graph for this function:

static CGrafPtr MRJContext::getEmptyPort ( ) [static, private]
static CGrafPtr MRJContext::getEmptyPort ( ) [static, private]
GrafPtr MRJContext::getPort ( )
GrafPtr MRJContext::getPort ( )

Here is the caller graph for this function:

static SInt16 MRJContext::getUniqueMenuID ( JMAWTContextRef  context,
Boolean  isSubmenu 
) [static, private]
static SInt16 MRJContext::getUniqueMenuID ( JMAWTContextRef  context,
Boolean  isSubmenu 
) [static, private]
JMAppletViewerRef MRJContext::getViewerRef ( )

Here is the caller graph for this function:

JMAppletViewerRef MRJContext::getViewerRef ( )
Boolean MRJContext::handleEvent ( EventRecord *  event)

Here is the caller graph for this function:

void MRJContext::idle ( short  modifiers)
void MRJContext::idle ( short  modifiers)

Here is the caller graph for this function:

OSStatus MRJContext::installEventHandlers ( WindowRef  window) [private]
void MRJContext::keyPress ( long  message,
short  modifiers 
)
void MRJContext::keyPress ( long  message,
short  modifiers 
)
void MRJContext::keyRelease ( long  message,
short  modifiers 
)
void MRJContext::keyRelease ( long  message,
short  modifiers 
)
void MRJContext::localToFrame ( Point *  pt) [private]
void MRJContext::localToFrame ( Point *  pt) [private]

Here is the caller graph for this function:

Here is the caller graph for this function:

static OSStatus MRJContext::releaseFrame ( JMAWTContextRef  context,
JMFrameRef  oldFrame 
) [static, private]
static OSStatus MRJContext::releaseFrame ( JMAWTContextRef  context,
JMFrameRef  oldFrame 
) [static, private]
OSStatus MRJContext::removeEventHandlers ( WindowRef  window) [private]
static OSStatus MRJContext::requestFrame ( JMAWTContextRef  context,
JMFrameRef  newFrame,
JMFrameKind  kind,
const Rect *  initialBounds,
Boolean  resizeable,
JMFrameCallbacks *  callbacks 
) [static, private]
static OSStatus MRJContext::requestFrame ( JMAWTContextRef  context,
JMFrameRef  newFrame,
JMFrameKind  kind,
const Rect *  initialBounds,
Boolean  resizeable,
JMFrameCallbacks *  callbacks 
) [static, private]

Here is the caller graph for this function:

void MRJContext::setAppletHTML ( const char *  appletHTML,
nsPluginTagType  tagType 
)
void MRJContext::setAppletHTML ( const char *  appletHTML,
nsPluginTagType  tagType 
)
void MRJContext::setDocumentBase ( const char *  documentBase)

Here is the caller graph for this function:

void MRJContext::setDocumentBase ( const char *  documentBase)
void MRJContext::setProxyInfoForURL ( char *  url,
JMProxyType  proxyType 
)
void MRJContext::setProxyInfoForURL ( char *  url,
JMProxyType  proxyType 
) [private]

Here is the caller graph for this function:

static void MRJContext::setStatusMessage ( JMAppletViewerRef  viewer,
JMTextRef  statusMsg 
) [static, private]

Here is the caller graph for this function:

static void MRJContext::showDocument ( JMAppletViewerRef  viewer,
JMTextRef  urlString,
JMTextRef  windowName 
) [static, private]

Here is the caller graph for this function:

void MRJContext::showStatus ( const char *  message) [private]
void MRJContext::showURL ( const char *  url,
const char *  target 
)
void MRJContext::showURL ( const char *  url,
const char *  target 
) [private]

Here is the caller graph for this function:


Member Data Documentation

char * MRJContext::mAppletHTML [private]

Definition at line 165 of file MRJContext.h.

Definition at line 160 of file MRJContext.h.

Definition at line 159 of file MRJContext.h.

JMAWTContextRef MRJContext::mContext [private]

Definition at line 155 of file MRJContext.h.

char * MRJContext::mDocumentBase [private]

Definition at line 164 of file MRJContext.h.

Definition at line 158 of file MRJContext.h.

Definition at line 176 of file MRJContext.h.

Definition at line 177 of file MRJContext.h.

JMAppletLocatorRef MRJContext::mLocator [private]

Definition at line 154 of file MRJContext.h.

Definition at line 166 of file MRJContext.h.

Definition at line 153 of file MRJContext.h.

Definition at line 161 of file MRJContext.h.

Definition at line 150 of file MRJContext.h.

Definition at line 163 of file MRJContext.h.

Definition at line 162 of file MRJContext.h.

Definition at line 167 of file MRJContext.h.

Definition at line 151 of file MRJContext.h.

JMSessionRef MRJContext::mSessionRef [private]

Definition at line 152 of file MRJContext.h.

JMAppletViewerRef MRJContext::mViewer [private]

Definition at line 156 of file MRJContext.h.

JMFrameRef MRJContext::mViewerFrame [private]

Definition at line 157 of file MRJContext.h.


The documentation for this class was generated from the following files: