Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.awt
Class MRJHooks  view MRJHooks download MRJHooks.java

java.lang.Object
  extended bycom.flexstor.common.awt.MRJHooks

public class MRJHooks
extends java.lang.Object

Provides hooks into the Apple MRJ.

Version:
2.1

Field Summary
protected  AboutHandlerI aboutHandler
           
protected  java.awt.Frame frame
           
protected  QuitHandlerI quitHandler
           
 
Constructor Summary
MRJHooks()
           
 
Method Summary
 void handleAbout()
          Implementation of MRJAboutHandler Handle selection of the "About" item in the Apple menu:
 void handleQuit()
           
 void registerAboutHandler(AboutHandlerI handler, java.awt.Frame fParent)
          Register the about handler.
 void registerQuitHandler(QuitHandlerI handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

protected java.awt.Frame frame

aboutHandler

protected AboutHandlerI aboutHandler

quitHandler

protected QuitHandlerI quitHandler
Constructor Detail

MRJHooks

public MRJHooks()
Method Detail

registerAboutHandler

public void registerAboutHandler(AboutHandlerI handler,
                                 java.awt.Frame fParent)
Register the about handler. Requires a parent frame for the dialog.


registerQuitHandler

public void registerQuitHandler(QuitHandlerI handler)

handleAbout

public void handleAbout()
Implementation of MRJAboutHandler Handle selection of the "About" item in the Apple menu:


handleQuit

public void handleQuit()