Class besiex.FrIJDE.AbstractClasses.FrIJDEMainFrame
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class besiex.FrIJDE.AbstractClasses.FrIJDEMainFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----besiex.FrIJDE.AbstractClasses.FrIJDEMainFrame

public class FrIJDEMainFrame
extends Frame
This is the class that the interpreted (executable) class extends.

Version:
1.00, 21 February 1996

Changes from last version

Author:
Benjamin "Quincy" Cabell V, Besiex Software

Variable Index

 o baseDir
The path to the base FrIJDE directory.
 o currentEditorFile
The file name and path of the document manager's most recently focused editor file.
 o toolLoader
The handle to the instance of the FrIJDEToolLoader.

Constructor Index

 o FrIJDEMainFrame()
The constructor which sets the FrIJDEMainFrame's frame title to "FrIJDE".

Method Index

 o Close()
Closes FrIJDE by requesting the closing of the FrIJDEToolLoader (which requests the closing of all the FrIJDETools).
 o GetCurrentEditorFile()
Gets FrIJDEMainFrame's value for what it believes is the file name and path of the document manager's most recently focused editor file.
 o SetCurrentEditorFile(String)
Sets the FrIJDEMainFrame's value for what it believes is the file name and path of the document manager's most recently focused editor file.
 o handleEvent(Event)
Handles the request to close, otherwise passes the event to the over-ridden handleEvent(Event).
 o main(String[])

Variables

 o baseDir
  public String baseDir
The path to the base FrIJDE directory. This is the directory in which the FrIJDEMainFrame extended interpretable code should be located. This directory includes the directories System, Tools, and AbstractClasses.

 o toolLoader
  public FrIJDEToolLoader toolLoader
The handle to the instance of the FrIJDEToolLoader.

 o currentEditorFile
  public String currentEditorFile
The file name and path of the document manager's most recently focused editor file.

Constructors

 o FrIJDEMainFrame
  public FrIJDEMainFrame()
The constructor which sets the FrIJDEMainFrame's frame title to "FrIJDE".

Methods

 o Close
  public boolean Close()
Closes FrIJDE by requesting the closing of the FrIJDEToolLoader (which requests the closing of all the FrIJDETools). If the FrIJDEToolLoader reports that it can close, FrIJDE exits.

Returns:
True if it closes, false otherwise. (If System.exit(int) is used, the return value is somewhat meaningless.)
 o SetCurrentEditorFile
  public void SetCurrentEditorFile(String theFileNameWithPath)
Sets the FrIJDEMainFrame's value for what it believes is the file name and path of the document manager's most recently focused editor file. This method should ONLY be called by the document manager when it changes document focus.

 o GetCurrentEditorFile
  public String GetCurrentEditorFile()
Gets FrIJDEMainFrame's value for what it believes is the file name and path of the document manager's most recently focused editor file. This is of particular importance to tools which direct their action at the currentEditorFile.

Returns:
The file name and path of the document manager's most recently focused editor file.
 o handleEvent
  public boolean handleEvent(Event e)
Handles the request to close, otherwise passes the event to the over-ridden handleEvent(Event).

Returns:
True if the event is handled and need not be passed along the chain of handlers, false otherwise.
Overrides:
handleEvent in class Component
 o main
  public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index